Excel Count Problem

K

Keswame

I'm trying to write a formula that counts the number of occurences i
which specific criteria from 2 columns (same row) are met. In th
attached example, to count the number of times both "red" and th
number 1 occur (answer 3). Feel like there's a simple solution, but I'
at my wits end.:confused

Attachment filename: example.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=68682
 
D

Don Guillett

try (no need to open attachment).Modify to suit.
=sumproduct((a2:a22="red")*(b2:b22=1))
 

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