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
-
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
-
That worked! Thank you SO, so much!
-
No problem! Happy to help 🙂
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.2K Get Help
- 386 Global Discussions
- 212 Industry Talk
- 445 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 292 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!