The ACCOUNTENDINGBALANCE function calculates the ending balance of one or more general ledger account(s) as of a specific period.
ACCOUNTENDINGBALANCE(Connection, Ledger, AccountClass, Account,
Subaccount, Branch, AsOf, IncludeUnposted)
The name of the connection, as specified in the Connection Manager
Ledger to use in the calculation.
Optional, though required if Account is empty
The account class to use for the calculation.
Optional, though required if AccountClass is empty
The general ledger account(s) to use for the calculation.
The general ledger subaccounts(s) to include.
The branch(es) to include.
The financial period, in MM-YYYY format
A cell reference to a date
1 - Include posted transactions only (default)
2 - Include Unposted transactions only
3 - Include Posted and Unposted transactions
(note: Transactions with a status of "On Hold" are excluded. When Unposted transactions are included, the following two statuses are included: Balanced, Unposted)
Given this data:
=ACCOUNTENDINGBALANCE("Demo", "ACTUAL", , "10200",,, "01-2019")
Description: Calculates the ending balance of posted transactions to General Ledger account #10200 (as noted in cell B6) for the 7th period of the year 2019 (as noted in cell G1).
=ACCOUNTENDINGBALANCE("Demo", "ACTUAL", , "10700",,, $D$4, "3")
Description: Calculates the ending balance of the combined posted and unposted transactions to General Ledger account #10700 (as noted in cell B8) as of January 15, 2019 (as noted in cell D4).
Limitations to filtering by date instead of financial period: