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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives