Current Week vacation formula
What did I mess up in my formula to calculate from another sheet, the number of drivers taking vacation in the current week for my dashboard?
=COUNTIFS({Vacation Intake Sheet Range 1}, "<=" & (TODAY() - WEEKDAY(TODAY(), 1) + 7), {Vacation Intake Sheet Range 4}, ">=" & (TODAY() - WEEKDAY(TODAY(), 1) + 1))
For context, the intake sheet has columns DRIVER, REQUEST, START DATE, END DATE
Answers
-
You are mixing in some Excel syntax. Try this instead:
=COUNTIFS({Vacation Intake Sheet Range 1}, @cell <= (TODAY() - WEEKDAY(TODAY(), 1) + 7), {Vacation Intake Sheet Range 4}, @cell >= (TODAY() - WEEKDAY(TODAY(), 1) + 1))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!