ignore value when a negative.

G

Guest

I have a formula that is applied to a series of cells in some of the cells it
generates a negative value. How do I incorporate into the formula something
that would say if the result value is < o then show it as 0 and not as a
negative number.
Hope this is clear thanks in anticipation.

Eqa
 
R

Rick Rothstein \(MVP - VB\)

I have a formula that is applied to a series of cells in some of the cells
it
generates a negative value. How do I incorporate into the formula
something
that would say if the result value is < o then show it as 0 and not as a
negative number.
Hope this is clear thanks in anticipation.

Embed your formula in a MAX formula...

=MAX(YourFormula,0)

Rick
 
T

T. Valko

It depends on what your actual formula *is*.

Try one of these:

=MAX(your_formula,0)

=IF(your_formula<0,0,your_formula)

Biff
 
G

Guest

Thanks to both of you that is great.

T. Valko said:
It depends on what your actual formula *is*.

Try one of these:

=MAX(your_formula,0)

=IF(your_formula<0,0,your_formula)

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

Top