Count cells containing text, multiple criteria



I have names in A2:A5 (Joe, Jim, Jake Jones, Jeff Johnson) and birthdates in B2:B5(1980, 1980, 1980, 1981). In A1 is the name criteria (eg "Jake"), and in A2 is the birthdate criteria (eg "1980").

I would like to count the number of times a row satisfies both the name and birthdate criteria. In the case of looking for "Jake" and 1980, it would satisfy Jake Jones, 1980 which is in A4 and B4, and therefore return 1.

I'm attempting the formula:

but the trouble is, I think, trying to use the wildcards in an array function, which apparently is no go. Is there a better way to do this?

Thanks for any help.

Claus Busch


Am Tue, 26 Aug 2014 17:59:51 -0700 (PDT) schrieb (e-mail address removed):
I'm attempting the formula:

in a SUMPRODUCT formula the ranges must have the same dimension:

Try it with COUNTIFS:

Claus B.

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