How to COUNTIF blank cells?

S

SteveG

Assuming your range is A1:A10 you could use

=COUNTBLANK(A1:A10)

Formulas in your range that return "" are counted but zeros are not.

HTH

Steve
 
K

Ken Wright

=COUNTBLANK() (Can't remember if you need analysis toolpak installed or
not)

or

=COUNTIF(Range,"")

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :)
------------------------------­------------------------------­----------------
 
B

Biff

Hi!

Empty cells or cells that contain formula blanks ( "" ) or both?

This counts both:

=COUNTBLANK(A1:E1)

This will only count the cells that contain formula blanks:

=SUMPRODUCT(--(ISTEXT(A1:E1)),--(LEN(A1:E1)=0))

Biff
 
G

Guest

Try one of these:

=COUNTIF(A1:A100,"")

=COUNTBLANK(A1:A100)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 
G

Guest

Apparently not as I have never installed the analyis toolpak and countlbank
worked fine for me.
 

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

Similar Threads


Top