ACCOUNTNAME
Overview
The ACCOUNTNAME function returns the name of one or more specified GL accounts.
Syntax
=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 |
| Optional | Provide one of the following values:
OR Omit the argument to return results for all compatible connections with default aggregation settings. |
| Required | The general ledger account (or Excel array containing multiple accounts) to use for the calculation. |
Examples
Example 1
Referencing a single account
=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:
