Countif or another Solution Needed

  • Thread starter Thread starter Donnie Stone
  • Start date Start date
D

Donnie Stone

I have data in:

Column P Column V
DIV# CODE
5 M
6 T
8 5
11 P
42 O

I want to count the number of occurrences in column P that matches "5" if
there is an "M" in column V.

Thanks in advance for the help.
 
Donnie

one way:

=SUMPRODUCT((P1:P6=5)*(V1:V6="M"))

Regards

Trevor
 

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

Back
Top