Counta,vlookup,match???

H

huntingbugg

I am trying to count the number of items times two words are displayed
next to each other in two different columns
For example below:

Cat Leg
Dog Arm
Horse Leg
Dog Arm
Cat Leg
Horse Arm


Is there a formula that I can use to count the number of times cat and
leg apear next to each other
 
D

Dav

You need to use sumproduct, if the data is in a2:b7 the following shoul
work for your example

=SUMPRODUCT((A2:A7="cat")*(B2:B7="leg"))

Regards

Da
 

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