# IF condition and a blank cell.

Options
✭✭✭✭

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"))))))))))))

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭
Options

Thanks for the help. One other question. We have a closing date. ex. 9/20/23. I want to automate sending and email the month before. The last week of the month. Say, 8/24/23. Cant figure out the formula for this.

• ✭✭✭✭✭✭
edited 08/31/23
Options

Happy to help!

You can set up a Workflow instead. (Something like the screenshot below)

Would that work?

Remember! 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.

• ✭✭✭✭
Options

Thanks again. The problem is that we send out a reminder to a list of vendors at the end of the month, (7 days prior to the end of the month), for all homes closing in the next month. So for Closing in September, we sent emails out on 8/23/23. I think the first part to my solutions is this formula, and then i work from there. But this formula is not working yet.

=DATE(YEAR([Closing Date]@row), MONTH([Closing Date]@row), DAY([Closing Date]@row))

If i can pull this information from the closing date. I can subtract or add as needed to create a date that Smartsheet can send out reminders on.

Not sure if i am making sense. Thanks again for your help.

• ✭✭✭✭
Options

I figured out my error. The column needed to be change to a Date and not Text

• ✭✭✭✭✭✭
edited 08/31/23
Options

Excellent! Easy to miss!