The blank cells i need to count have formilas in

R

Rubber 4 u

How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista
 
S

Squeaky

Hi Rubber,

If the blank cells with a formula in them has the value of zero, use COUNTA
to count the cells and COUNTIF to count the zero values in each range, then
subtract the two.

=COUNTA(F12:F17)-COUNTIF(F12:F17,0)

or fully

=COUNTA(F12:F17)-COUNTIF(F12:F17,0)+COUNTA(g23:g30)-COUNTIF(g23:g30,0)+COUNTA(h5:h10)-COUNTIF(h5:h10,0)

Squeaky
 
M

Max

Maybe you meant something like this:
=SUMPRODUCT(--(TRIM(A2:B10)<>""))
which counts populated cells within the range excluding formulas returning
either "blank" or returning invisible white spaces
Spot on? celebrate it, hit the YES below
 

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