Count if dates are within the next 7 days
Hello,
I'm trying to use the COUNTIFS function to search a reference column full of dates to count how many are within the next 7 days. For the criteria portion of the formula, I've tried using, "<TODAY(7)", "<TODAY() + 7", but they are not providing me with the correct (if any) result. I would like to avoid having to create a workaround by adding a new column to identify if the aforementioned criteria is true, then counting it that way.
What am I missing? HELP!
Comments
-
Hello,
If you're only using one criteria, you'll want to use COUNTIF instead of COUNTIFS.
For example:
=COUNTIF(Start:Start, <=TODAY(7))
The above function will count all of the dates if the start date is less than or equal to the current date + 7 days. You'll want to change the Start:Start to the range of your own column in your sheet.
If you're still experiencing issues, let me know what formula you're using and the errors or behavior you're expecting.
-
Perfect, thank you Shaine!
-
Hi Shaine,
I am using this
=COUNTIF([Production Move Date]:[Production Move Date], <=TODAY(7))
to get the count for how many will be in production in next 7 days but getting count of 0 though I have 3 that has production date in tomorrow and day after tomorrow.Appreciate your help!
Thanks,
Rafsun
-
Hi Rafsun,
Did you get it working because what I can see it should?
Happy Holidays & Happy New Year!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!