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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives