ACCOUNTNAME function
Returns the name of the specified GL account
Gabriel Michaud avatar
Written by Gabriel Michaud
Updated over a week ago

Description

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

Syntax

ACCOUNTNAME(Connection, Account)

Parameters

The ACCOUNTNAME function uses the following parameters (see our articles on using arrays or cell ranges as parameters):

Parameter

Required/Optional

Description

Connection

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

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

accountname_notfound_1.png

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

Options_return_zero.png

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

accountname_notfound_2.png

Applies to

  • GL Module

Did this answer your question?