Nested OR, AND, IF
Hi All,
I am only a week 1 user so forgive if this is a little basic. I have a flag/no flag column in my sheet that currently indicates whether a report is overdue based on the status of the project, due date of the report, todays date and whether a report has been submitted (entered in the shseet as a date). The format currently works like this
=IF(AND([Interim Report 1 Due]@row < TODAY(), [IR 1 Received]@row = "", Status@row = "in progress"), 1, 0)
I would like to add an OR criteria (Status@row = "completed") to show both In Progress and Completed projects that have overdue reports.
I cannot seem to work out where to slip this little criteria and the operator in. Any help would be appreciated.
Answers
-
Hi @Brandon Bear ,
Try:
=IF(OR(Status@row = "completed", AND([Interim Report 1 Due]@row < TODAY(), [IR 1 Received]@row = "", Status@row = "in progress")), 1, 0)
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Okay, so after putting this in, the formula still doesn't return a 1 (flag) if the Status is Complete
-
@Brandon Bear , are the completed statuses in your status column listed as "Complete" or "Completed"? Your formula will need to contain an exact match to the text it's looking for.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!