Nested Formula for At Risk Flag
I've been trying to create a nested IF/AND function. I can get them to work individually, but the formulas are unparseable when I try to nest them. Below is an image of my sandbox where I am learning formulas. Here is what I am attempting to flag in the RISK column:
- If FINAL DUE is today or in past, AND
- If FINAL DUE is not blank, AND
- If STATUS is not FULL, enable flag
Here are formulas that work on their own:
- =IF([FINAL DUE]@row <= TODAY(1), 1)
- =IF(ISBLANK([FINAL DUE]@row), 0)
- =IF(NOT(STATUS@row = "FULL"), 1)
When I try to nest these in the RISK column using an IF/AND formula, the result is unparseable, I think because I'm unclear on where to put additional parenthesis or brackets. Help?
Best Answer
-
=IF(AND(ISDATE([FINAL DUE]@row), [FINAL DUE]@row <= TODAY(), Status@row <> "Full"), 1)
Basically you are going to take the logical statement portion of each IF statement and drop it into the AND which will replace the logical statement portion of the main IF.
Answers
-
=IF(AND(ISDATE([FINAL DUE]@row), [FINAL DUE]@row <= TODAY(), Status@row <> "Full"), 1)
Basically you are going to take the logical statement portion of each IF statement and drop it into the AND which will replace the logical statement portion of the main IF.
-
[Sigh] You make this look easy!
Thanks, @Paul Newcome! Your explanation makes perfect sense and this formula works great!
-
@almrie Haha. Thanks. It comes from trial and A LOT of error. Happy to help! 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives