View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PJFry PJFry is offline
external usenet poster
 
Posts: 143
Default How do I set a maximum value (e.g. cap at 200)

Try this:
A B C D
42 86 .05 =IF(A1*B1*C1200,200,A1*B1*C1)
--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"LeeLobb" wrote:

I have a formula set to multiply a rate by a quantity, I then need to cap the
total at 200
example:
42 people x 86 minutes x $0.05 = $180.60
but I need the total to cap at $200 when a different amount of people is
entered and takes it above $200
make sense?