close

I want to count blank cells in one column where a certain value exists in
another column. DCOUNT and COUNTIF don't work for this purpose. For
example, I want to count the blank cells in column B where the Cells in
Column A equal quot;Johnquot;:

A B
1 John 5
2 John
3 John 7
4 Mike 1

Try something like this:

C1: =SUMPRODUCT((A1:A100=quot;Johnquot;)*ISBLANK(B1:B100))

Change range references to suit your situation.

Does that help?

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

XL2002, WinXP-Proquot;Bruce Hensonquot; wrote:

gt; I want to count blank cells in one column where a certain value exists in
gt; another column. DCOUNT and COUNTIF don't work for this purpose. For
gt; example, I want to count the blank cells in column B where the Cells in
gt; Column A equal quot;Johnquot;:
gt;
gt; A B
gt; 1 John 5
gt; 2 John
gt; 3 John 7
gt; 4 Mike 1


Bruce,

=SUMPRODUCT((A1:A4=quot;Johnquot;)*(ISBLANK(B1:B4)))

Regards,

Steve--
SteveG
------------------------------------------------------------------------
SteveG's Profile: www.excelforum.com/member.php...foamp;userid=7571
View this thread: www.excelforum.com/showthread...hreadid=527608

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()