If total answer is over default of 160 then 160, otherwise the formula i have works great!

  • Thread starter Thread starter debbiep
  • Start date Start date
D

debbiep

=IF(M19>29.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)

This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.

The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.
 
If your formula works, then you could modify it to this in the same
cell:

=MIN(160,IF(M19>29.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19))

Hope this helps.

Pete
 
Hi
Try
=MIN(IF(M19>29.9,G19*5,(SUM(N19:T19)-Q19)*G19),160)
If Q19 is a blank cell, then you can omit the -Q19 from the formula.
 
If your formula works, then you could modify it to this in the same
cell:

=MIN(160,IF(M19>29.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19))

Hope this helps.

Pete





- Show quoted text -

Thank you Pete. It works perfect. You guys are the greatest!
 

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

Back
Top