EXPANDACCOUNTRANGE function

Created by Harry Lewis, Modified on Thu, 05 Oct 2023 at 05:49 PM by Gabriel Michaud

Applies to:

  • PM Module
  • ERP:  Acumatica, CEGIC, Haufe x360, JAMIS Prime, MYOB Advanced

 

 

Description


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

 

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

 

 

TABLE OF CONTENTS




Syntax

EXPANDACCOUNTRANGE(Connection, Range, IncludeInactive)

 

Parameters

The EXPANDACCOUNTRANGE function uses the following parameters (see our article on Filtering Velixo functions):

 

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 TRUE)

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.

 

 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article