Show text field if SUM returns zero value?

K

KevinG1

I have set up a Worksheet in Excel 2000 that calculates the difference (using
SUM) of two cells in a row and displays the result in a third cell, which, of
course, contains the formula. If the result is zero, I would like to display
a text message in the aforementioned third cell. So far, I have tried to add
on a logical IF statement to the formula already in the cell, but I can't
seem to hit on the correct syntax.
 
T

T. Valko

Try something like this:

=IF(SUM(A1:B1),SUM(A1:B1),"your_text_message_here_inside_the_quotes")

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