# What is wrong with my nested IF formula?

Options
✭✭✭

I am trying to create a formula with the following:

If a task is less than 50% complete, turn the RYG light "Red"

If a task is between 50-99% complete, turn the RYG light "Yellow"

If a task is 100% complete, turn the RYG light "Green"

I entered:

=IF([% Complete]@row <= 0.5, "Red", IF([% Complete]@row >= 0.5, <= 100 "Yellow", IF([% Complete]@row = 100, "Green"))))

Only my Red lights are showing up.

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

=IF([% Complete]@row = "", "", IF([% Complete]@row = 1, "Green", IF([% Complete]@row <= 0.5, "Red", IF([% Complete]@row >= 0.5, "Yellow"))))

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 help the Community by marking it as the accepted answer/helpful. 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.

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

=IF([% Complete]@row = "", "", IF([% Complete]@row = 1, "Green", IF([% Complete]@row <= 0.5, "Red", IF([% Complete]@row >= 0.5, "Yellow"))))

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 help the Community by marking it as the accepted answer/helpful. 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!