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 |
| 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 subaccount for which the name is to be returned |
Example
=SUBACCOUNTNAME(
"Demo",
"000CON"
)
Description: Returns the name of subaccount #000CON.
Result: Consulting

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