Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Calculating Margin % for Multiple Rows & Columns?

Posted on by Microsoft Employee

Hello, I can calculate margins for multiple rows using the following formula for Net Income / Revenue. 

B=B.NI/B.REV,C=C.NI/C.REV,D=D.NI/D.REV,E=E.NI/E.REV,F=F.NI/F.REV,G=G.NI/G.REV,H=H.NI/H.REV,I=I.NI/I.REV,J=J.NI/J.REV,K=K.NI/K.REV,L=L.NI/L.REV,M=M.NI/M.REV,N=N.NI/N.REV

However, if i want to calculate multiple rows say (NI + Interest) / Revenue. What is the correct syntax, using the same formula structure? I'm fine for 1 column using (@A+@B)/@C but not sure what the correct syntax is if i have to use the B=B. and C=C. syntax.

Your advice is very much appreciated. Great forum!

Thanks

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Calculating Margin % for Multiple Rows & Columns?

    Worked perfectly, thank you very much. Non-printing rows are a great tool.

  • Verified answer
    RE: Calculating Margin % for Multiple Rows & Columns?

    Hi,

    I think you can add the first formula in one row (NI + Interest) as non printing row and use that row / Revenue.  Have you tried this way.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans