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
-
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
-
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.
-
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.
-
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.
-
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.
-
I figured out my error. The column needed to be change to a Date and not Text
-
Excellent! Easy to miss!
Glad you got it working!
✅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.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives