Acumatica Business Central Sage Intacct STACK Takeoff & Estimate Velixo Classic
Acumatica Business Central Sage Intacct STACK Takeoff & Estimate Velixo Classic

EXPANDACCOUNTGROUPRANGE

Overview

The EXPANDACCOUNTGROUPRANGE function returns all general ledger account group 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

=EXPANDACCOUNTGROUPRANGE(
    ConnectionName, 
    Range, 
    IncludeInactive,
    AccountGroupType
)

Arguments

The EXPANDACCOUNTGROUPRANGE function uses the following arguments (see our article on Filtering Velixo functions):

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.

Range

Optional

The range of account groups to include in the results. Supports Velixo filtering expressions. If you omit the argument, all account groups are returned.

IncludeInactive

Optional

Specifies whether to include inactive account groups in the results.

Accepted values: TRUE, FALSE
Default value: TRUE

AccountGroupType

Optional

Filters the results by account group type, as defined in Acumatica. Enter one or more of the following letters, in any order:
• A – Asset
• L – Liability
• I – Income
• E – Expense
• O – Off-Balance
For example, IE returns Income and Expense account groups. The letters are not case-sensitive. Don't separate them with spaces, commas, or other characters.
Default value: empty value (account groups of all types are returned).
If the value contains any other character, the function returns an error.

Examples

All account groups

=EXPANDACCOUNTGROUPRANGE(
    "Demo", 
    "*;-BURDEN;-MATERIAL"
)


Description: Returns all Active general ledger account group codes EXCEPT BURDEN and MATERIAL, including inactive account groups.

Result:

exp_acctgrouprange2.png

Selected account group types

=EXPANDACCOUNTGROUPRANGE("Connection","*",,"IE")

Description: Returns the codes of all Income and Expense account groups, including inactive ones.

Result:

image-20260924-090737.png