Count missing data

R

Ruan

Hello,

I would like to count missing data in a Column range due to the criteria in
another column range. The problem I have is that the "Birth Date" column
range has a "vlookup" formula in it, which sometimes formulates a Blank. I
need to count these Blank cells when the Status = "A".

Example:
Birth Date Status
02/03/71 A
A
12/02/58 A
09/15/67 A
A
11/21/79 A

Missing = 2

Thanks
Ruan
 
R

RagDyer

Try this:

=SUMPRODUCT((A2:A100={" ",""})*(B2:B100="a"))
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


Hello,

I would like to count missing data in a Column range due to the criteria in
another column range. The problem I have is that the "Birth Date" column
range has a "vlookup" formula in it, which sometimes formulates a Blank. I
need to count these Blank cells when the Status = "A".

Example:
Birth Date Status
02/03/71 A
A
12/02/58 A
09/15/67 A
A
11/21/79 A

Missing = 2

Thanks
Ruan
 
R

Ruan

Thanks for your help that works great. I have never seen the brackets { }
used before. What is the difference?

Ruan
 
P

Peo Sjoblom

Another way

=SUMPRODUCT(--(TRIM(A2:A100)=""),--(B2:B100="A"))



--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 
R

Ragdyer

Yours might be a little better Peo, considering mine only takes *one* space
into consideration.
 
M

Max

Ruan said:
... =SUMPRODUCT((A2:A100={" ",""})*(B2:B100="a"))
.. I have never seen the brackets { }
used before. What is the difference?

Think the { } is functionally equivalent to an OR(), viz.:
Every cell in A2:A100 is checked to contain either " " or ""
 

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