Skip to main content
Skip table of contents

ACCOUNTCLASS

Overview

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

Syntax

CODE
=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

Required

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

Account

Required

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

Example

CODE
=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.

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.