Formula Question

J

Jana

Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel I am trying to create a formula that if

E6 - E8 is less then 0 I want the value of the cell to be zero. Does anyone know how I can do this?

Thanks.
 
C

CyberTaz

One option: In the cell where you want the result enter the formula;

=If(e6-e8<0,0,e6-e8)

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
D

Dave Peterson

=if(e6-e8<0,0,e6-e8)
or
=if(e6<e8,0,e6-e8)
or even shorter:
=max(e6-e8,0)
 

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