Separate last name, or auto enter "GENERAL" if cell is blank

My smartsheet is autopopulated by a form in which a submitted can enter "referred by". If a full name is entered, I want to separate the last name and first name to other columns so I can group by last name. I have the formula =MID([REFERRED BY]@row, FIND(" ", [REFERRED BY]@row), 20) to pull out the last name. If there was no referral and this cell is blank, this formula returns #INVALID VALUE. Instead, how can I have it auto enter "General" when the cell is blank?

Thanks for your help.

Tags:

Best Answer

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer ✓

    Try:

    =IFERROR(MID([REFERRED BY]@row, FIND(" ", [REFERRED BY]@row), 20), "General")

    Work?

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

Answers