if/then formula help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like a if/then formula to look at a cell and if that cell is equal or
less than zero to simply product a zero, not a negative. Or any other
formula that would do this... Just thought it would be an if/then..

thanks in advance.
 
What do want to do if the cell is greater than 0?

=IF(A1<=0,0,A1)

Or, to make it more robust:

=IF(ISNUMBER(A1),IF(A1<=0,0,A1),0)

Biff
 

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

Back
Top