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:

Best Answers

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    Answer ✓
    Options

    Hi @Alexander Gottschalk 

    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:


    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    edited 07/23/21 Answer ✓
    Options

    @Alexander Gottschalk

    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.

    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!