COUNTIFS OR Formulas
Hi,
I want to count if range 1 contains value, or if it is any time in the future,
Range 1 is a restricted Date Column.
It should be something like this:
=COUNTIFS({Range 1}, "", >TODAY(), {Range 1}
What is the correct formula?
Thank you!
Best Answer
-
Hi @A Rose
You're close! In a COUNTIFS you first list the range, then you list the criteria. If you want to count the number of cells that are in the future, try this:
=COUNTIFS({Range 1}, >TODAY())
If you want to count two separate values, such as if it's blank OR if it's in the future, then you're right, you can use OR, like so:
=COUNTIFS({Range 1}, OR(@cell >TODAY(), @cell = ""))
Let me know if this works for you!
Cheers,
Genevieve
Answers
-
Hi @A Rose
You're close! In a COUNTIFS you first list the range, then you list the criteria. If you want to count the number of cells that are in the future, try this:
=COUNTIFS({Range 1}, >TODAY())
If you want to count two separate values, such as if it's blank OR if it's in the future, then you're right, you can use OR, like so:
=COUNTIFS({Range 1}, OR(@cell >TODAY(), @cell = ""))
Let me know if this works for you!
Cheers,
Genevieve
-
Amazing! Thank you @Genevieve P. !
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!