Returning nothing if formula is false

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
Back
Top