IF formula for Days Past Due
New wrinkle to a previous issue. I now need to add more exclusion text to a formula. I want to show days past due if the text in the cell is NOT "Complete", "Excluded", or "Deferred". This is my current formula: =IF(Status7 <> "Complete", IF(TODAY() - [Due Date]7 >= 0, TODAY() - [Due Date]7)). How do I add the terms "Excluded" and "Deferred" after "Completed"? I tried to use the OR syntax but couldn't get it to work correctly.
Answers
-
Hi @Scott Peloquin,
The AND function is the one you're looking for! If it's not this and it's not this and it's not this... then do the following.
Try this:
=IF(AND(Status@row <> "Complete", Status@row <> "Excluded", Status@row <> "Deferred"), IF(TODAY() - [Due Date]7 >= 0, TODAY() - [Due Date]7))
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now -
Hello Scott
Try this. For every value you want to exclude, you simply add the @cell="xxxx" within the
=IF(COUNTIF(Status@row, OR(@cell = "Complete", @cell = "Excluded", @cell = "Deferred")) = 1, IF(TODAY() - [Due Date]@row >= 0, TODAY() - [Due Date]@row))
Hope it works
André
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 285 Events
- 36 Webinars
- 7.3K Forum Archives