COUNTIFS - Count if Older than six months
Names and Numbers are fake.
I would like the [JS Last 6?] column to count if the employee has a "Completed" Job Shadow within the Last six months, counted off of the shadow date column. I am having trouble with the date portion of the formula.
=COUNTIFS([Employee ID #]:[Employee ID #], [Employee ID #]@row, [HR Approval]:[HR Approval], "Completed", [Shadow Date]:[Shadow Date], ([Shadow Date]@row > (DATE(YEAR([Shadow Date]@row), MONTH([Shadow Date]@row) + 6, DAY([Shadow Date]@row)))))
Answers
-
Hi @bryan.mccomb,
Can we consider 180 days to be close enough to 6 months, give or take a couple of days depending on the months included? If so, try this:
=COUNTIFS([Employee ID #]:[Employee ID #], [Employee ID #]@row, [HR Approval]:[HR Approval], "Completed", [Shadow Date]:[Shadow Date], [Shadow Date]@row > TODAY(-180))@bryan.mccomb
-
@Julie Fortney Easy enough! Thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!