View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default How do I set a maximum value (e.g. cap at 200)

Suppose you have your values in A,B,C

=IF((a1*b1*c1)200,200,a1*b1*c1)

If this post helps click Yes
---------------
Jacob Skaria


"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?