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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!