IF condition and a blank cell.

I need the formula to work when the cell its reading is blank.

=IF(MONTH([Closing Date]@row) = 1, "January", IF(MONTH([Closing Date]@row) = 2, "February", IF(MONTH([Closing Date]@row) = 3, "March", IF(MONTH([Closing Date]@row) = 4, "April", IF(MONTH([Closing Date]@row) = 5, "May", IF(MONTH([Closing Date]@row) = 6, "June", IF(MONTH([Closing Date]@row) = 7, "July", IF(MONTH([Closing Date]@row) = 8, "August", IF(MONTH([Closing Date]@row) = 9, "September", IF(MONTH([Closing Date]@row) = 10, "October", IF(MONTH([Closing Date]@row) = 11, "November", IF(MONTH([Closing Date]@row) = 12, "December"))))))))))))

Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi,

    I hope you're well and safe!

    Try something like this.

    =IF([Closing Date]@row <> "", IF(MONTH([Closing Date]@row) = 1, "January", IF(MONTH([Closing Date]@row) = 2, "February", IF(MONTH([Closing Date]@row) = 3, "March", IF(MONTH([Closing Date]@row) = 4, "April", IF(MONTH([Closing Date]@row) = 5, "May", IF(MONTH([Closing Date]@row) = 6, "June", IF(MONTH([Closing Date]@row) = 7, "July", IF(MONTH([Closing Date]@row) = 8, "August", IF(MONTH([Closing Date]@row) = 9, "September", IF(MONTH([Closing Date]@row) = 10, "October", IF(MONTH([Closing Date]@row) = 11, "November", IF(MONTH([Closing Date]@row) = 12, "December")))))))))))))

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic week!

    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, Awesome, 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.

Answers