# IF Formula for "ball color"

Options

I am creating a sheet where you have to with a dropdown menu for each calender week (CW) in which you can choose between "fulfilled", "partly fulfilled" and "not fulfilled".

I want to connect these field with another column where I use the ball symbols (fulfilled = green, partly fulfilled = yellow, not fulfilled = red)

I used the IF formula:

=IF([CW 30]@row = "not fulfilled"; "Red") and it works fine

but when I want to add the other colors I get an UNPARSEABLE error

Here's the formula I used:

=IF([CW 30]@row = "not fulfilled"; "Red", if([CW 30]@row = "partly fulfilled"; "Yellow", if([CW 30]@row = "fulfilled"; "Green")))

The original formula I used is in German but it worked the same

Can you help me?

Tags:

• ✭✭✭✭✭✭
Options

Hope you are fine, please try the following formula and convert it to column format formula:

`=IFERROR(IF([CW 30]@row = "not fulfilled", "Red", IF([CW 30]@row = "partly fulfilled", "Yellow", IF([CW 30]@row = "fulfilled", "Green"))), "")`

the following screenshot shows the result:

bassam.khalil2009@gmail.com

• ✭✭✭✭✭✭
Options

Excellent, try to copy and paste my formula as is it because I test it and it's work, also convert the formula to column format formula.don't drag it for each row.

bassam.khalil2009@gmail.com

• ✭✭✭✭✭✭
Options

Hope you are fine, please try the following formula and convert it to column format formula:

`=IFERROR(IF([CW 30]@row = "not fulfilled", "Red", IF([CW 30]@row = "partly fulfilled", "Yellow", IF([CW 30]@row = "fulfilled", "Green"))), "")`

the following screenshot shows the result:

bassam.khalil2009@gmail.com

• Options

I tried to convert the formula to my sheet but it still doens't work. What am I missing?

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

At a glance, it looks like you have used a comma at the end.

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.

• ✭✭✭✭✭✭
Options

You must use a column "Symbol type" RGB like what I used in my sample, but you are highlighting your cell and this different approach, it's conditional formatting.

bassam.khalil2009@gmail.com

• Options

@Bassam Khalil IT WORKED!!! THANK YOU!

just one problem, the green ball is still missing

• ✭✭✭✭✭✭
Options

Excellent, try to copy and paste my formula as is it because I test it and it's work, also convert the formula to column format formula.don't drag it for each row.

bassam.khalil2009@gmail.com

• Options

@Bassam Khalil now it works! Thank you for you assistance!

• ✭✭✭✭✭✭
edited 07/23/21
Options

You are welcome

bassam.khalil2009@gmail.com