How do you set a flag status if a date is in the past and status does not equal a certain criteria?
Hello! I’m having trouble getting a flag to turn on if my Production Wraps column date is in the past and the status is NOT “wrapped” or “wrapped/aired”. Here’s the formula I’m trying to use but am getting #incorrect. Any suggestions?
=IF(AND([Production Wraps]@row > TODAY(), OR(Status@row <> "Wrapped", Status@row <> "Wrapped/Aired")), 1, 0)
Best Answer
-
Hi @Will C ,
I'm not sure why you are getting #incorrect because your formula seems syntactically correct. It could be that you have a non-date in a date field?
Having said that, if I'm reading your requirement correctly, that formula would not give the desired result. Try this and see if it's the results you are looking for.
=IF(AND([Production Wraps]@row < TODAY(), Status@row <> "Wrapped", Status@row <> "Wrapped/Aired"), 1, 0)
Hope that helps,
Dave
Answers
-
Hi @Will C ,
I'm not sure why you are getting #incorrect because your formula seems syntactically correct. It could be that you have a non-date in a date field?
Having said that, if I'm reading your requirement correctly, that formula would not give the desired result. Try this and see if it's the results you are looking for.
=IF(AND([Production Wraps]@row < TODAY(), Status@row <> "Wrapped", Status@row <> "Wrapped/Aired"), 1, 0)
Hope that helps,
Dave
-
@DKazatsky2 YES! Thank you so much!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!