Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a cell that shows =IF(ISBLANK($E12),1,0) I have another that shows =IF($E4="Total:",1,0)

Is there a way to make them do the same thing, so if the cell shows 0 or Total: it shows 1, otherwise it will show 0, even if there is something else in it.

I thought there was a formula that would do that, but I don't have it in my collection...

If anyone could help scramble up something like that together it be greatly appreciated.

share|improve this question

migrated from Sep 23 '12 at 0:32

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

This'll do the trick:

share|improve this answer
I've done some programming in the past, sometimes I really miss the IFWhile loops. Thanks. – Matt Ridge Sep 20 '12 at 18:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.