Breadcrumbs

ACCOUNTCLASS

Overview

The ACCOUNTCLASS function returns the account class code of a General Ledger account.

Syntax

=ACCOUNTCLASS(
    ConnectionName, 
    Account
)

Arguments

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

Argument

Required/Optional

Description

ConnectionName

Optional

Provide one of the following values:

OR

Omit the argument to return results for all compatible connections with default aggregation settings.

Account

Required

The general ledger account for which the Account Class is to be displayed.

Example

=ACCOUNTCLASS(
    "Demo", 
    "40020"
)


Description: Returns the account class of general ledger account 40200.

Result: SALES

accountclassex.png


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

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/JiIaPhQoYDQDU4e1Pi-Vo8l4gfgeMX-Rvw.png

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

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/Plrozjv9_b50nrKWWkr-PA4fwccFCFl_Fg.png

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

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/IcilvMdk1Dw--macyGnluUxf5v-JpQeDNw.png