I am trying to determine how many cells fall within 60 - 90 days
=COUNTIF([Expiration Date]:[Expiration Date], <=TODAY(90))
I need it to bring back the results that are 61-90 days from today. I'm sure it's something simple, I just can't seem to get it to work.
Thanks!
Best Answer
-
Hi @Amanda Garcia (and @Mark Cronk!)
Just a note, the @cell function needs to all be in lower case. I haven't tested the formula above, but if the syntax works you may just need to adjust the second @cell to be lower case:
=COUNTIF([Expiration Date]:[Expiration Date], AND(@cell>TODAY(60), @cell <=TODAY(90)))
Personally I would use a COUNTIFS function (plural), listing the range twice, but there are many ways to achieve the same results!
Let me know if the above works for you.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @Amanda Garcia ,
Try:
=COUNTIF([Expiration Date]:[Expiration Date], AND(@cell>TODAY(60), @CELL <=TODAY(90)))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thank you for the quick response, but I'm still getting an error message
=COUNTIF([Expiration Date]:[Expiration Date], AND(@cell>TODAY(60), @CELL <=TODAY(90)))
-
Hi @Amanda Garcia (and @Mark Cronk!)
Just a note, the @cell function needs to all be in lower case. I haven't tested the formula above, but if the syntax works you may just need to adjust the second @cell to be lower case:
=COUNTIF([Expiration Date]:[Expiration Date], AND(@cell>TODAY(60), @cell <=TODAY(90)))
Personally I would use a COUNTIFS function (plural), listing the range twice, but there are many ways to achieve the same results!
Let me know if the above works for you.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
That worked! Thank you both so much!
Genevieve - could you share how you would have done it? just trying to have as much exposure to formulas as possible.
thank you again
-
No problem!
=COUNTIFS([Expiration Date]:[Expiration Date], >TODAY(60), [Expiration Date]:[Expiration Date], <=TODAY(90))
I'm partial to COUNTIFS (plural) because it works with a single Range (column) & Criteria, or with multiple Ranges & multiple Criteria. Makes it easy to add on filters as-needed, without having to remember to add an S to the function at the beginning. 🙂
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
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!