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 help? 👀 | 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 help? 👀 | 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 help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!