Skip to main content
Skip table of contents

ACCOUNTTYPE

Overview

The ACCOUNTTYPE function returns the type of a specified general ledger account.

Syntax

CODE
=ACCOUNTTYPE(ConnectionName, Account)

Arguments

The ACCOUNTTYPE function uses the following arguments (see our article using arrays or cell ranges as arguments):

Argument

Required/Optional

Description

ConnectionName

Required

The name of the connection, as specified in the Connection Manager

Account

Required

The general ledger account (or array of multiple accounts) for which the Type is to be displayed.

Examples

Example 1

Referencing a single account

CODE
=ACCOUNTTYPE("Demo","10100")


Description: Returns the account type of general ledger account #10100 account.

Result: Asset

Example 2

Referencing an array of accounts

If a non-existent account is specified, the ACCOUNTTYPE function will display the message Account 'xxxxx' not found...

or, if you have configured Velixo reports to return zero values under certain circumstances...

... your report will display Excel's #N/A error:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.