[2003] "Countif" from two columns

B

Bob Flaminio

I have a spreadsheet of this form:

A No
B Yes
A Yes
C No
C Yes
B No
A Yes
B No

I would like a function that would do a count based on values in both
columns. For example, a count of all of the "A" "Yes" would equal 2.
Anyone have any ideas how to do this?
 
B

Bob Flaminio

Bob said:
I have a spreadsheet of this form:

A No
B Yes
A Yes
C No
C Yes
B No
A Yes
B No

I would like a function that would do a count based on values in both
columns. For example, a count of all of the "A" "Yes" would equal 2.
Anyone have any ideas how to do this?

Thanks to Dave R. and Frank Kabel -- those formulae worked perfectly!
 
B

Bob Flaminio

John said:
Why not use a PivotTable; it wil give you all the
information you require.

Good suggestion, but in this specific instance I needed a function. The
previous answers worked famously.
 

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