Nested if /or formula

Hello,

I am looking to have a status bar (the one with empty, half, three quarter and full) look at two columns and give a result.

I have percent complete and a "Done" checkbox. the percent complete is by date, so when the date gets closer the status bar shows progress. Here is the formula I am using to do so..

=IF([Percent Complete]@row <= 0.25, "Empty", IF([Percent Complete]@row <= 0.5, "Half", IF([Percent Complete]@row <= 0.85, "Three Quarter", IF([Percent Complete]@row >= 1, "Full",

Now this has been working for me pretty well, until I added in a Done checkbox. I need to have the formula analyze BOTH columns now. So I need it to show the progress until the done box is checked. Once the done box is checked I need the status bar to show FULL. However, I cannot seem to get the bar to show full?? Here is the updated formula that I tried to add OR to.

=IF([Percent Complete]@row <= 0.25, "Empty", IF([Percent Complete]@row <= 0.5, "Half", IF([Percent Complete]@row <= 0.85, "Three Quarter", IF([Percent Complete]@row >= 1, "Full", OR(IF(Done@row = 1, "Full"))))))

Can someone help me figure out how to get both columns into this formula and explain where I went wrong for the future?


Thanks!!

Ashlee

Thought Leader Path

Tags:

Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi @Ashlee

    I hope you're well and safe!

    You were close!

    Try something like this.

    =IF(Done@row = 1, "Full", IF([Percent Complete]@row <= 0.25, "Empty", IF([Percent Complete]@row <= 0.5, "Half", IF([Percent Complete]@row <= 0.85, "Three Quarter", IF([Percent Complete]@row >= 1, "Full")))))

    Did that work/help?

    I hope that helps!

    Be safe and have a fantastic weekend!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi @Ashlee

    I hope you're well and safe!

    You were close!

    Try something like this.

    =IF(Done@row = 1, "Full", IF([Percent Complete]@row <= 0.25, "Empty", IF([Percent Complete]@row <= 0.5, "Half", IF([Percent Complete]@row <= 0.85, "Three Quarter", IF([Percent Complete]@row >= 1, "Full")))))

    Did that work/help?

    I hope that helps!

    Be safe and have a fantastic weekend!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!