NESTED IF formula

Options

Hello again, I tried to ask this in my last thread of another question with similar columns but realized I should just create a new question.

I have a column titled LICENSE TYPE that I would like to populate if there is text in one of the above 4 columns with the text in that column. Each row will only have 1 of the 4 columns populated. Can you assist with this formula as well? In rows 1-3 the LICENSE TYPE column should contain Pharmacy-nonresident and rows 4-5 would have Sterile Compounding while 6-10 would have Manufacturer, etc.

image.png

Thank you!

Best Answer

Answers

  • Louis1
    Louis1 ✭✭✭

    Hi M,

    I did this that may provide what you want - the formula column (also set as acolumn formula) is

    =IF([Licence Type A]@row <> "", [Licence Type A]@row , IF([Licence Type B]@row <> "", [Licence Type B]@row , IF([Licence Type C]@row <> "", [Licence Type C]@row , [Licence Type D]@row )))

    Just replace A, B, C and D in the formula with your headings

    image.png

    image.png
  • Melanie Sanders
    Melanie Sanders ✭✭✭✭✭
    Answer ✓

    Thank you! Worked like a charm.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!