COUNTIFS Using Mulitple Criteria
I'm trying to get a count of rows where COLUMN 1 displays “Med” or “High” and COLUMN 2 displays a date in the past.
as. well as...
count of rows where COLUMN 1 displays “Med” or “High” and COLUMN 2 displays a yesterday's date.
Any help would be greatly appreciated!
Best Answers
-
Hi Freddy,
It sounds like you just need to add in an OR statement to your COUNTIFS. Try this:
=COUNTIFS([COLUMN 1]:[COLUMN 1], OR(@cell = "Med", @cell = "High"), [COLUMN 2]:[COLUMN 2], <TODAY())
For your second formula, we can just change the "less than today" (the "in the past" statement) to say "is equal to Yesterday":
=COUNTIFS([COLUMN 1]:[COLUMN 1], OR(@cell = "Med", @cell = "High"), [COLUMN 2]:[COLUMN 2], =TODAY(-1))
Here are some Help Center articles I used to build this: COUNTIFS Function / @cell Function / OR Function / TODAY Function / Referencing Columns
Let me know if you have any questions about this.
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
-
That worked! Thank you SO, so much!
Answers
-
Hi Freddy,
It sounds like you just need to add in an OR statement to your COUNTIFS. Try this:
=COUNTIFS([COLUMN 1]:[COLUMN 1], OR(@cell = "Med", @cell = "High"), [COLUMN 2]:[COLUMN 2], <TODAY())
For your second formula, we can just change the "less than today" (the "in the past" statement) to say "is equal to Yesterday":
=COUNTIFS([COLUMN 1]:[COLUMN 1], OR(@cell = "Med", @cell = "High"), [COLUMN 2]:[COLUMN 2], =TODAY(-1))
Here are some Help Center articles I used to build this: COUNTIFS Function / @cell Function / OR Function / TODAY Function / Referencing Columns
Let me know if you have any questions about this.
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
-
That worked! Thank you SO, so much!
-
No problem! Happy to help 🙂
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 462 Global Discussions
- 156 Industry Talk
- 506 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 517 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!