How do I set up a min and max function in the same caluclation?

G

Guest

I want to do a state payroll calculation where the tax is calculated by
applying the tax rate to the base wage minus X percent of the base wage, with
a minimum and maximum amount. I am not sure how to write the formula with a
min and max amount.
 
B

Bob Phillips

With
A1: wage
B1: minus wage percentage
C1: tax rate
D1: minimum
E1: maximum

=MAX(MIN((A1-(A1*B1)*1)*C1,E1),D1)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top