If/Then formula

H

howard stovall

How do I format the following in Excel:
Cell formula is =E33*.2; If e33*.2 < $20,000 then cell value = $20,000

Thanks.
 
C

Claus Busch

Hi Howard,

Am Wed, 02 May 2012 19:15:17 GMT schrieb howard stovall:
How do I format the following in Excel:
Cell formula is =E33*.2; If e33*.2 < $20,000 then cell value = $20,000

try:
=MAX(E33*0.2,20000)


Regards
Claus Busch
 
J

joeu2004

howard stovall said:
How do I format the following in Excel:
Cell formula is =E33*.2; If e33*.2 < $20,000 then cell value = $20,000

The better way:

=MAX(20000, E33*0.2)

But for your edification, the IF expression would be:

=IF(E33*0.2 < 20000, 20000, E33*0.2)

PS: If you prefer, E33*0.2 can also be written as E33*20%.
 

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