Count with 2 conditions?

L

Lee

My data is in the following format

A B
1 2
1 0
2 0

I want to count how often there is a "1" in column A and a corresponding 2
(in the same row) in colum B

Thanks
 
G

Gary Brown

In Column C put a formula concantenating Col A and B... = A1 & B1
Copy this down your list
In D1 put the formula...
=COUNTIF(C:C,"12")

HTH,
Gary Brown
 

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