BRANCHLIST
Overview
The BRANCHLIST function returns the list of branches of one or more company IDs.
Syntax
=BRANCHLIST(
ConnectionName,
Company
)
Arguments
The BRANCHLIST function uses the following arguments (see our article 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. |
| Optional | The ID of the company. If left empty, the function will return all branches defined in the database |
Example
=BRANCHLIST(
"Demo",
"PRODUCTS"
)
Description: Returns the list of branches within the PRODUCTS company.
Result: PRODWHOLE, PRODRETAIL
Empty List
If a non-existent company name is specified, the BRANCHLIST function will either display the message Error! No element matches range xxxxxxxxx...

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

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