Conditional Count 2 Columns

  • Thread starter Thread starter rileym
  • Start date Start date
R

rileym

I will post the two formulas I am using now and I hope someone can help
me figure out how to make it into 1. Thanks in advance.

#1 =COUNTIF(location, "shop") total=20
#2 =COUNTIF(date,">"&B10)-COUNTIF(date,">"&B11)
total=10

Explained(as the best I can)

#1 It simply counts the number of times that the "Shop" was used all
months
#2 Counts the total number of times that "All" were used for a
particular month.

Goal

I want to be able to count how many times the "Shop" was used in each
particular month. I have the "Shop total" and the "All by month" but
was looking to get "Shop by each month"

Thanks in advance
 
rileym said:
I will post the two formulas I am using now and I hope someone can help
me figure out how to make it into 1. Thanks in advance.

#1 =COUNTIF(location, "shop") total=20
#2 =COUNTIF(date,">"&B10)-COUNTIF(date,">"&B11)
total=10

Explained(as the best I can)

#1 It simply counts the number of times that the "Shop" was used all
months
#2 Counts the total number of times that "All" were used for a
particular month.

Goal

I want to be able to count how many times the "Shop" was used in each
particular month. I have the "Shop total" and the "All by month" but
was looking to get "Shop by each month"

Thanks in advance



Please have a look at array formulas
(http://www.cpearson.com/excel/array.htm)
This technique is much more powerful than single COUNTIFs.

Joerg
 

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