# If(And( formula isn't returning correct colors

Options

My goal is:

if NCLEX is greater than 95% = Green

If NCLEX is between 85%-94.99% = Blue

If NCLEX is between 75-84.99 = Yellow

If NCLEX is less than 74.99 = Red

Below is the formula I am using and it is only returning Red

=IF([NCLEX Passing Rate]@row > 95, "Green", IF(AND([NCLEX Passing Rate]@row > 85, [NCLEX Passing Rate]@row <= 94.99), "Blue", IF(AND([NCLEX Passing Rate]@row > 75, [NCLEX Passing Rate]@row <= 84.99), "Yellow", IF([NCLEX Passing Rate]@row <= 74.99, "Red"))))

Tags:

• Options

Just found my answer.....I removed the % 🤦

• ✭✭✭✭✭✭
Options

Hi @Casie

I hope you're well and safe!

Excellent! Glad you got it working!

Be safe, and have a fantastic week!

Best,

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

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!