EXPANDCOMPANYRANGE
Overview
The EXPANDCOMPANYRANGE function returns all company codes within the specified range
Velixo recommends the use of Microsoft 365 for this feature. Experimentally, Excel 2010 or higher may be used. See the Prerequisites for additional information.
Syntax
=EXPANDCOMPANYRANGE(
ConnectionName,
Range
)
Arguments
The EXPANDCOMPANYRANGE function uses the following arguments (see our article on Filtering Velixo functions):
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 range of company codes to include in the results |
Examples
Example 1
=EXPANDCOMPANYRANGE(
"Demo"
)
Description
Returns an Excel dynamic array containing all company codes in the tenant defined in the specified connection.
Result

Example 2
=EXPANDCOMPANYRANGE(
"Demo";
"*;-PRODUCTS"
)
Description
Returns all company codes except PRODUCTS.
Result
