Returning nothing if formula is false

G

Guest

I am using COUNTA(a1:a20) formula. The colum that it is counting also
contains formulas. Some of the cell formulas are returning 0. Can I change
the cell formulas to return a blank cell or nothing so that my COUNTA formula
does not include that cell in its count?
COUNTA(a1:a20)

a2=a1, a3=a2
 
D

Dave O

One way to do this is to change the formulas to include IF formulas,
like this:
IF(your original formula=0,"",your original formula)
This will return an empty cell if the original formula yields a zero.
 

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