Checkbox if Date Past Due AND <100% Complete OR In Next 10 Days AND <100% Complete
Hello,
I am trying to create a formula that will automatically check a box if a due date is past due AND % Cmplt is not 100% OR due date is in the next 10 days AND % Cmplt is not 100%. Basically, I will pull the checkboxes items into a report for a dashboard to provide visibility into past due items and upcoming items.
Is that possible?
Comments
-
-
Thank you Paul. That worked perfectly.
You taught me something about IF(And). I assumed an IF/And statement meant both conditions have to be met so I was thinking I had to incorporate OR somewhere in a formula. Also, is it correct for me to read "<= Today(10) as "less than today times 10 days)?
-
Happy to help!
And yes. The AND function requires all criteria be met. The reason we could use it for this is that both sets of criteria had the % Complete being less than 1 in common. Since both have that in common, and both are looking at dates, we were able to simplify.
% Complete < 1 works for both of your conditions.
Any dates that are past due are going to be less than today anyway as well.
So all we had to do was establish the commonalities, and we were able to not worry about the OR function. If you had different criteria though, we may have needed the OR function. It just so happens that in this particular instance we didn't.
.
TODAY(10) would be today PLUS 10 days. TODAY(-10) would be today MINUS 10 days. Any time you see a number inside of a TODAY function, you can essentially write it outside and get the same results.
TODAY(10) = TODAY() + 10 (positive ten)
TODAY(-10) = TODAY() - 10 (negative ten)
It's really just a matter of preference.
-
All of that makes sense and thank you for taking time to explain. Helps a lot.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!