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
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 460 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives