If cell is blank put N/A

Options

I have created the below formula to check the contents of a cell and lump it together neatly. However, if the cell is blank, I would like it to return a result of N/A. How do I go about that? Not all cell's will have data and I don't want the summary to be confusing if it's just left blank.

="ABC:" + ABC@row + CHAR(10) + "CDE: " + CDE@row + CHAR(10) + "FGH: " + FGH@row + CHAR(10) + "IJK: " + IJK@row)

ABC: N/A

CDE: returns the cell data

FGH: returns the cell data

IJK: returns the cell data

Tags:

Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Options

    Hi @Tbrown

    I hope you're well and safe!

    Try something like this.

    =
    "ABC:" + IF(ABC@row <> "", ABC@row, "N/A") + CHAR(10) + 
    "CDE: " + IF(CDE@row <> "", CDE@row, "N/A") + CHAR(10) + 
    "FGH: " + IF(FGH@row <> "", FGH@row, "N/A") + CHAR(10) + 
    "IJK: " + IF(IJK@row <> "", IJK@row, "N/A")
    

    Did that work/help?

    I hope that helps!

    Have a fantastic weekend & Happy New Year!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!