Skip to main content
Skip table of contents

ACCOUNTNAME

Overview

The ACCOUNTNAME function returns the name of one or more specified GL accounts.

Syntax

CODE
=ACCOUNTNAME(ConnectionName, Account)

Arguments

The ACCOUNTNAME function uses the following arguments (see our articles on 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 Excel array containing multiple accounts) to use for the calculation.

Examples

Example 1

Referencing a single account

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


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

Result: Petty Cash

Example 2

Referencing a list of accounts

Description: Returns the names of general ledger accounts included in a list in cell C2

Example 3

Referencing an array of accounts


Description: Returns the names of general ledger accounts displayed by an array starting in column C2

If a non-existent account code is specified, the ACCOUNTNAME 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.