Creating a function that makes a negative number a zero

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

Guest

I am trying to create a function that will subtract, but if the answer is
less than zero, will put a zero in the cell. I don't know how to do this.
Can you help me?
 
Hi
You could try wrapping your formula in a MAX function:
=MAX(yourfunction,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

Back
Top