Counting Occurence of Criteria in Multiple Lists of Data

H

hockey14

I was wondering if there was a way to count the amount of times that
something occurs based on two sets of data. Take for example a list of
people's favorite fruits and sports:

Fruit Sports
Apple Hockey
Orange Soccer
Banana Football
Apple Hockey
Apple Soccer
Orange Hockey

How could I count the number of times that a person both liked Apples and
Hockey? Please let me know if you need a further explanation of what I am
looking for. Thanks in advance.
 
H

hockey14

Unfortunately, when I use the SUMPRODUCT formula, it gives me a value of 0 in
that column. Is there something that I am doing wrong??
 
K

Kevin B

Move to the cell with the formula, press F2 to go to EDIT mode and the press
<Ctrl> + <Shift> + <Enter> to enter the formula as an array type formula.
 
J

JMB

Not necessary to array enter unless the OP used some other formula (such as
transpose or frequency) within the sumproduct formula that requires it.

Perhaps he should double check the data to make sure it actually matches (ie
- no trailing spaces).
 

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