Skip to main content
Skip table of contents

ACCOUNTTURNOVER

Overview

The ACCOUNTTURNOVER function calculates the turnover of one or more general ledger account(s) as of a given period.

This is particularly useful for creating YTD, MTD, or QTD reports.

Syntax

CODE
=ACCOUNTTURNOVER(Connection, Ledger, AccountClass, Account, Subaccount, Branch, StartPeriodOrDate, EndPeriodOrDate, IncludeUnposted, UseMasterFinancialCalendar)

Arguments

The ACCOUNTTURNOVER function uses the following arguments (see our articles on Filtering Velixo Functions and using arrays or cell ranges as arguments):

Argument

Required/Optional

Description

Connection

Required

The name of the connection, as specified in the Connection Manager

Ledger

Required

Ledger to use in the calculation.

When used with Budget ledgers, the ACCOUNTTURNOVER function returns only released budget data

AccountClass

Optional, though required if Account is empty

The account class to use for the calculation.

Account

Optional, though required if AccountClass is empty

The general ledger account(s) to use for the calculation.

Subaccount

Optional

The general ledger subaccounts(s) to include.

Branch

Optional

The branch(es) to include.

StartPeriodOrDate

Required

The beginning financial period, in MM-YYYY format
or
a reference to a cell containing the beginning date in a valid Excel date format

EndPeriodOrDate

Required

The ending financial period, in MM-YYYY format.
or
a reference to a cell containing the ending date in a valid Excel date format

IncludeUnposted

Optional

1 - Include posted transactions only (default)

2 - Include Unposted transactions only

3 - Include Posted and Unposted transactions

  • Transactions with a status of "On Hold" are excluded. When Unposted transactions are included, the following two statuses are included: Balanced, Unposted

  • If a document is still in the AR module (e.g., Invoice), the corresponding GL batch has not yet been created, thus the balance for that document will not be reflected).


Excel for Windows allows the use of quotation marks around this argument. Excel for Mac and Excel Online require that it be unquoted.

UseMasterFinancialCalendar

Optional

Use Acumatica's Master Financial Calendar instead of the financial calendar defined within the specific tenant associated with the connection being accessed (this can be useful for consolidation reports).

Possible values:

  • TRUE

  • FALSE (default)

Examples

Given this data:

sampledata.png


Example - Posted transactions for an account

CODE
=ACCOUNTTURNOVER("Demo", "ACTUAL",, "10700", , , "01-2019", "01-2019")


Description: Calculates the turnover of all posted transactions to General Ledger account #10700 (as noted in cell B8) during the first financial period of year 2019 (as noted in cell G1).

Result: 54,873

Example - Posted and Unposted transactions

CODE
=ACCOUNTTURNOVER("Demo", "ACTUAL",, "10600", , , $C$4, $D$4, 3)


Description: Calculates the turnover of all posted and unposted transactions to General Ledger account #10600 (as noted in cell B7) between January 1, 2019 (as noted in cell C4) and January 15, 2019 (as noted in cell D4).

Result: 3,325


Example - Released budget values

CODE
=ACCOUNTTURNOVER("Demo", "BUDGET",, "10600", , "*", "12-2019", "12-2019")


Description: Retrieves the released value in the Budget ledger for General Ledger account #10600 for all branches for period 12-2019

Result: 493,710

Cell references were used for arguments in this example

Any UN-released budget values (as shown on the ERP's Release Budgets screen) will *NOT* be reflected in the balance. Only released budget values can be retrieved.


Limitations to filtering by date instead of the financial period

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.