Count values in one column only if criteria is met in the next column.

Joined
Mar 6, 2009
Messages
1
Reaction score
0
This is driving me crazy. I need to count values in one column only when a criteria is met in another column. Here's an example.

Column A
X
X
X
Y
Y
Y

Column B
2
3
2
2
3
3

I need a function that will count X2, X3, Y2, and Y3 separately. A Pivot table would work, but I don't think you can make a pivot table automatically populate as new data is entered. I've been playing around with SUMPRODUCT but I keep getting a VALUE error. Any help would be appreciated!
 

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