Return current month if cell value is blank
Hi everyone. I am hoping you can assist me. I have a column titled "Transaction Date" and am creating a helper column so we can display a chart on a dashboard. I am trying to get the formula that if the Transaction Date cell value is blank it returns the current month in "mmm" format. The formula I have is below and it returns a blank value in the helper column when the Transaction Date cell is empty, when I want it to display the current month. The Transaction Date column is formatted as a date column.
My current formula thats not working is:
=IF([Transaction Date]@row <> "", IF(MID([Transaction Date]@row, 1, 2) = "12", "Dec", TODAY()))
Answers
-
Hi @Peppey,
There are a couple of ways to do this, I have found an old post that details them and has some great options.
Hope this helps!
John
-
Thanks sir for the information. I have tried this formula but i am still getting an INVALID ERROR when the transaction date column is blank
IF(ISBLANK([Transaction Date]@row), TODAY(), MONTH([Transaction Date]@row))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 213 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!