IF Statement and Health

Lori Khoury
Lori Khoury ✭✭✭✭✭
edited 12/09/19 in Formulas and Functions

I am trying to use the following IF statements for my health column.   I get up to IF([Move Complete]@row = "Termed? ", "Red", and if I add any IF statements after that it doesn't work.   Can anyone tell me what I am doing wrong in this formula?  

 

=IF([Move Complete]@row = "Yes", "Blue", IF([Move Complete]@row = "Termed", "Blue", IF([Move Complete]@row = "No", "Red", IF([Move Complete]@row = "Termed? ", "Red", IF([Move Complete]@row = "Client on Hold", "Red", IF([Move Complete]@row = "Client FTP", "Yellow", IF ([Move Complete]@row= "Client Email", "Yellow" )))))

Tags:

Comments

  • L_123
    L_123 ✭✭✭✭✭✭
    edited 08/24/18

    Check where you have spaces in the formula. You have 2 that I see that could be causing errors.

     

    One is in the termed line between the ? and "

    the other is in the last if statement between IF and (

     

    I recommend using notepad or any other text editor to review your formulas to make this type of troubleshooting much more easy. just copy paste the formula into the text editor then click before any major logic statement (In this case IF) and hit enter to make a new line. It makes these much easier to read and find errors.

    Capture.JPG

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!