Using a Logical formula to return a numeric value

Options

I'm trying to use a logical formula to return a numeric value based on the drop down selection in another column.

For example, if column X contains Tier 1, insert in column Y a value of 1

If Tier 2, return a value of 2

If Tier 3, Return a value of 3

This is the formula I'm trying to use and I get an unparseable error


=IF(Client Tier@row Tier 1, "1", IF(Client Tier@row Tier 2, "2", IF(Client Tier@row Tier 3, "3"))


What do I need to change?

Thank you!!

Best Answer

  • Kimberly Loveless
    Kimberly Loveless ✭✭✭✭✭✭
    edited 10/14/21 Answer ✓
    Options

    You are so close! I think you just need some brackets, additional quotation marks, and equal signs. 😀

    Try this...

    =IF([Client Tier]@row ="Tier 1", "1", IF([Client Tier]@row= "Tier 2", "2", IF([Client Tier]@row ="Tier 3", "3"))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!