COUNTIF question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to use a COUNTIF formula to count how many times a customer has
a discrepency per month. I have set one up for my whole worksheet as :

=COUNTIF(S:S,"CUSTOMER")

S:S is a column in which I have a drop down list where "CUSTOMER" can be
selected.

This works fine, however, I would like to specify the information per month.
I am unsure how to set up a range to look at within my B:B column (date
column).

My dates are set up as 3/1/2006. Could I return only information for the
month of March, April, May etc?
 
Hi, Scott

=SUMPRODUCT(--(MONTH(B1:B65536)=3);--(S1:S65536="CUSTOMER"))

HTH
 

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

Similar Threads

COUNTIF HELP??? 4
countif ? 6
Countif error using multiple workbooks 11
Still having trouble 3
Countif date before today 1
Excel Need Countifs Formula Help 0
Countifs or a pivot 1
COUNTIFS with No Criteria 1

Back
Top