IF or OR Formula

Options

Hello! I need to return different text based off of another columns answer. If LICENSE CATEGORY is Pharmacy I need PIC/DR TITLE column to = Pharmacy PIC and if the License Category is Distributor or Manufacturing the PIC/DR TITLE column should be Distribution DR. If the it is OTHER then it should be blank. Can someone help with this formula?

image.png

Thank you!

Best Answer

  • S.Stone
    S.Stone ✭✭✭✭✭
    Answer ✓

    @Melanie Sanders try this:

    =IF([LICENSE CATEGORY]@row = "Pharmacy", "Pharmacy PIC", IF([LICENSE CATEGORY]@row = "Distributor", "Distribution DR", IF([LICENSE CATEGORY]@row = "Manufacturing", "Distribution DR", IF([LICENSE CATEGORY]@row = "OTHER", "", ""))))

    It works on my sample test, but let me know if it works for you.

    image.png image.png

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!