Velixo recommends the use of Microsoft 365 for this feature. Experimentally, Excel 2010 or higher may be used. See the Prerequisites for additional information.

Description

The EXPANDACCOUNTRANGE function returns all general ledger account numbers within the specified range

Syntax

EXPANDACCOUNTRANGE(Connection, Range, IncludeInactive)

The EXPANDACCOUNTRANGE function uses the following parameters (see our article on including multiple parameter values):

Parameter

Required/Optional

Description

Connection

Required

The name of the connection as configured in the Connection Manager

Range

Optional

The range of accounts to include in the results

IncludeInactive

Optional

TRUE/FALSE indicating whether or not to include inactive accounts (default is FALSE)

Examples

Example #1

=EXPANDACCOUNTRANGE("Demo", "10000:11000", TRUE)

Description

Returns all general ledger account numbers (including inactive accounts) between account 10000 and account 11000 (inclusive).

Result

expandacctrange.png

Example #2

=EXPANDACCOUNTRANGE("Demo", "*;-33000", FALSE)

Description

Returns all active general ledger account numbers EXCEPT account 33000.

Applies to

PM Module

Did this answer your question?