web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Formula for GL Totalling not working

(6) ShareShare
ReportReport
Posted on by 309

Good morning, 

I have created four GL accounts with the below No:

  • TA-Current Liab_T
  • Loans_ET
  • Provisions_ET
  • Net Pension Liab_ET

I also need a Total GL with the Totalling formula below: 

"TA-Current Liab_T" - "Loans_ET" - "Provisions_ET" - "Net Pension Liab_ET"

I have tried few things, but I keep getting errors. Does anybody know how to put it so it works?

Thanks

Alejandra

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Alejandra,

    I first have to ask why you created the G/L Accounts with letters and not actual numbers within the Chart of Accounts structure. If you create them as actual numbers, within the COA range, you can create simple Totaling Formulas. Below is a screen shot of an example.

    pastedimage1651504735908v1.png

    If you need more help send a pic of what you are trying to accomplish in your COA and we can reply back.

    Hope this helps.

    Thanks,

    Steve

  • Suggested answer
    Dallefeld Profile Picture
    211 User Group Leader on at

    Steve is right numbers work much better and Begin/End Totals work super well.

    You account numbers won't even sort well. If you're worried about data entry, don't you type the name and the account comes up....this is what I do for my accounting.

    The sorting would be :

    Net Pension...

    Loans...

    Provisions....

    TA-Current...

    If you used numbers:

    100 TA-Current Liab_T      $ -100

    200 Loans_ET                    $ - 200

    300 Provisions_ET             $   100

    400 Net Pension Liab_ET  $ - 300

    Account 500 could be a Total Account Type 100+200+300+400, calculation -100+-200+200+-300 or $ - 400

  • CU07110451-0 Profile Picture
    8 on at
    Steve,
     
    Using your example
    What if I created an account 13500 called "Total Securities and Accounts Receivable"
    How do I add the amount under accounts 12300 and 13400 and under the Totalling field?
     
    I cannot use range
    If I put 12300..13400, then the amount for Accounts Receivable would be counted twice
     
    You can suggest that I put 12300..13350 instead
    But what if I have a few other different totals I wanted to add?
    How do I add without using range, ie. the double dots?
     
    I tried using &, |, + but all these doesn't work
    There could be multiple sub totals and a overall total
    Such as a total for each category - motor vehicles, office equipment, furniture and fittings, renovation
    And a overall total - fixed assets
     
    So, how do we add selective totals and present it as a overall total?
     
     
    Thanks.
  • Suggested answer
    Gregory Mavrogeorgis Profile Picture
    784 on at
    Hi,
     
    You can’t do that subtraction in a G/L account’s Totaling—that field only adds ranges/lists (e.g., 1000..1099 or A|B|C). Minus signs and quotes aren’t allowed, so you get errors.
    Do it in Financial Reports (Account Schedules) instead:
    1. Open your account schedule (or create one).
    2. Add rows for each account:
      • 100 → TA-Current Liab_T
      • 200 → Loans_ET
      • 300 → Provisions_ET
      • 400 → Net Pension Liab_ET
    3. Add a Formula row:
      • 500 → Formula: 100-200-300-400
    Run the report—row 500 gives:
    TA-Current Liab_T - Loans_ET - Provisions_ET - Net Pension Liab_ET.

    Tip: If you just needed a sum inside the COA, use a Totaling like
    TA-Current Liab_T|Loans_ET|Provisions_ET|Net Pension Liab_ET (adds them). Subtraction = account schedule only.
     
    You can’t do that subtraction in a G/L account’s Totaling—that field only adds ranges/lists (e.g., 1000..1099 or A|B|C). Minus signs and quotes aren’t allowed, so you get errors.
    Do it in Financial Reports (Account Schedules) instead:
    1. Open your account schedule (or create one).
    2. Add rows for each account:
      • 100 → TA-Current Liab_T
      • 200 → Loans_ET
      • 300 → Provisions_ET
      • 400 → Net Pension Liab_ET
    3. Add a Formula row:
      • 500 → Formula: 100-200-300-400
    Run the report—row 500 gives:
    TA-Current Liab_T - Loans_ET - Provisions_ET - Net Pension Liab_ET.

    Tip: If you just needed a sum inside the COA, use a Totaling like
    TA-Current Liab_T|Loans_ET|Provisions_ET|Net Pension Liab_ET (adds them). Subtraction = account schedule only.

     
    If you found this helpful please mark it as verified

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans