I'm receiving an unparseable error with this formula? What do I need to adjust here?

=IF({VPAL Portfolio Status Range 2} = "CoaP" + {VPAL Portfolio Status Range 1} = "3. Moving Along", "Green", "" ({VPAL Portfolio Status Range 2} = "CoaP" + {VPAL Portfolio Status Range 1} = "2. Needs Monitoring", "Orange", "" ({VPAL Portfolio Status Range 2} = "CoaP" + {VPAL Portfolio Status Range 1} = "1. Needs Attention", "Red", "")))

I have two logical expressions that combine for a value if true, value if false.

Best Answer

  • Nic Larsen
    Nic Larsen ✭✭✭✭✭✭
    Answer ✓

    The format is a bit off for starters, see if this gets the result you need:

    =IF(AND({VPAL Portfolio Status Range 2} = "CoaP", {VPAL Portfolio Status Range 1} = "3. Moving Along"), "Green", IF(AND({VPAL Portfolio Status Range 2} = "CoaP", {VPAL Portfolio Status Range 1} = "2. Needs Monitoring"), "Orange", IF(AND({VPAL Portfolio Status Range 2} = "CoaP", {VPAL Portfolio Status Range 1} = "1. Needs Attention"), "Red", ""

Answers

  • Nic Larsen
    Nic Larsen ✭✭✭✭✭✭
    Answer ✓

    The format is a bit off for starters, see if this gets the result you need:

    =IF(AND({VPAL Portfolio Status Range 2} = "CoaP", {VPAL Portfolio Status Range 1} = "3. Moving Along"), "Green", IF(AND({VPAL Portfolio Status Range 2} = "CoaP", {VPAL Portfolio Status Range 1} = "2. Needs Monitoring"), "Orange", IF(AND({VPAL Portfolio Status Range 2} = "CoaP", {VPAL Portfolio Status Range 1} = "1. Needs Attention"), "Red", ""

  • Yes, this worked! Thank you!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!