Calculate totals with two seperate tax rates - InfoPath Dev
in

InfoPath Dev

Calculate totals with two seperate tax rates

Last post 12-05-2011 03:15 PM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-05-2011 03:05 PM

    • Sailor
    • Top 75 Contributor
    • Joined on 09-15-2009
    • Canada
    • Posts 107

    Calculate totals with two seperate tax rates

    Hello,

    I have the following fields:

    Unit Price, Provincial Tax, Federal Tax, Pre-Tax Price, Total with Tax

    All in a repeating table.  The tax rate changes between area so the user enters the value as a decimal (7.00).  I already calculate the Pre-tax price easily, but now need to calculate a "Total with Tax" .  That means I need to do the following:

    =Pre-TaxPrice + (Pre-TaxPrice * ((ProvincialTax/100) + (FederalTax/100)))

     How can this be written as a formula?

  • 12-05-2011 03:15 PM In reply to

    Re: Calculate totals with two seperate tax rates

    Your formula can look something like this:

    my:pretax + (my:pretax * (my:provtax + my:fedtax) div 100)

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.