Breadcrumbs

SUBACCOUNTNAME

Overview

The SUBACCOUNTNAME function returns the name of the specified GL subaccount.

Syntax

=SUBACCOUNTNAME(
    ConnectionName, 
    Subaccount
)

Arguments

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

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.

Subaccount

Required

The general ledger subaccount for which the name is to be returned

Example

=SUBACCOUNTNAME(
    "Demo", 
    "000CON"
)


Description: Returns the name of subaccount #000CON.

Result: Consulting

subacct.png


If a non-existent subaccount is specified, the SUBACCOUNTNAME function will display the message Subaccount 'xxxxx' not found...

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