IF formula not working for a drop down list

Hello,

I'm trying to equate a numerical value to a drop down list when I receive a form entry. Here is my list:

4 - very clear

3 - clear

2 - somewhat clear

1 - not clear

The formula I entered was =IF([Training Objectives]@row = "1 - not clear", 1, IF([Training Objectives]@row = "2 - somewhat clear", 2, IF([Training Objectives]@row = "3 - clear", 3, IF([Training Objectives]@row = "4 - very clear", 4,)))))

It results in unparseable. I also tried it without the [ ] referring to the column. Can anyone advise what I am doing wrong, thank you!!!

Best Answer

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Answer ✓

    Hi @Courtney M,

    It's an easy fix - you have an extra comma and bracket at the end of your formula. It should be:

    =IF([Training Objectives]@row = "1 - not clear", 1, IF([Training Objectives]@row = "2 - somewhat clear", 2, IF([Training Objectives]@row = "3 - clear", 3, IF([Training Objectives]@row = "4 - very clear", 4))))

    Hope this helps!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!