Countifs referencing same range, counting multiple criteria
On worksheet 1 I have a column titled "Activity" formatted as dropdown list, several selections to choose from. For easy reference, let's say the dropdown list contains blue, green, red and orange.
On worksheet 2, I am referencing the "Activity" range to count all instances of blue and green.
My guess is I need to use COUNTIFS/ and either AND or OR referencing one range and multiple criteria but not sure of correct format. Any suggestions are appreciated.
Countfis(Activity, blue, [Activity, green...incorrect
Countifs(Activity, blue, green
Answers
-
It would look like this:
=COUNTIFS({Activity}, OR(@cell = "Blue", @cell = "Green"))
-
That worked! Thank you!!
Could you possibly advise how to incorporate an additional item?
My Worksheet (Grid) on which I am calculating lists states in the first column (AL, AK, etc.) My initial COUNTIF referenced a "State" range on another worksheet, counting all "Activity" by State.
What would be the best way to "Count" the number of ASA and ASA Multiple per state? I am not getting much input from our QC department on what they want to see, so I am providing as many metrics as I can! I did attach an excel spreadsheet if I am not making sense!
-
@Smarty Do you mean adding a State variable to the above?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!