Thread: Max Formula
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
joeu2004 joeu2004 is offline
external usenet poster
 
Posts: 2,059
Default Max Formula

"Canon" wrote:
I am working with the following formula;
=IF(C33=0,"NILL",B35*C31)
If the sum (in C35) of B35*C31 is equal to or greater then $300.00, then I
need C35 to show a maximum of $300.00, if not I need C35 to show the true
value of B35*C31


I think this is what you want:

=if(C33=0, "", min(300, B35*C31))


----- original message -----

"Canon" wrote in message
...
Excel 2007
I am working with the following formula;
=IF(C33=0,"NILL",B35*C31)
If the sum (in C35) of B35*C31 is equal to or greater then $300.00, then I
need C35 to show a maximum of $300.00, if not I need C35 to show the true
value of B35*C31