IF/AND/OR Statements for date and status column
Hi SS Community!
Very new to SS and clearly am not well versed in formulas. I need help turning the At Risk flag red when the Date Needed By is past due and the Status is Open or In Progress.
Here is the best I could do...
=IF(TODAY() >[Date Needed By]@row, IF(AND(Status@row = "Open", IF(OR(Status @row = "In-Progress")), 1,0))
Thanks in advance!
Answers
-
=IF(AND(DateNeeded@row < TODAY(), OR(Status@row = "open", Status@row = "in progress")), "Red")
The way I do this is I set up three columns.
Column 1 tests if Date Needed is past:
=DateNeeded@row < TODAY()
Column 2 test is the Status column:
=OR(Status@row = "open", Status@row = "in progress")
I make sure those get me the result I need independently.
Then I smoosh them together with an AND formula.
Then I throw the IF around it.
-
Thanks for the fast reply!
I got =IF([Date Needed By]@row > TODAY(), 0, 1) to work!
Now for the second part. Here is what I tried...I'm getting #UNPARSEABLE
=IF(OR([Status@row = "Open", Status@row = "In-Progress", 0, 1))
Thanks in advance!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!