Referencing a date column for the month
=IF(MONTH([Period Date]@row) = 1, "January" works, but do is there an easier way than writing out a formula for if =2 February, =3 March, etc.?
=IF(MONTH([Period DLP Date]@row) = 1, "January"), IF(MONTH([Period DLP Date]@row = 2, "February") results in #UNPARSEABLE.
Thanks!
Best Answer
-
Try something like this.
=IF(MONTH([Period Date]@row) = 1, "January", IF(MONTH([Period Date]@row) = 2, "February", IF(MONTH([Period Date]@row) = 3, "March", IF(MONTH([Period Date]@row) = 4, "April", IF(MONTH([Period Date]@row) = 5, "May", IF(MONTH([Period Date]@row) = 6, "June", IF(MONTH([Period Date]@row) = 7, "July", IF(MONTH([Period Date]@row) = 8, "August", IF(MONTH([Period Date]@row) = 9, "September", IF(MONTH([Period Date]@row) = 10, "October", IF(MONTH([Period Date]@row) = 11, "November", IF(MONTH([Period Date]@row) = 12, "December"))))))))))))
Here's another way to solve it by looking it up in a table.
Would 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 help the Community by marking it as the accepted answer/helpful. 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
-
Try something like this.
=IF(MONTH([Period Date]@row) = 1, "January", IF(MONTH([Period Date]@row) = 2, "February", IF(MONTH([Period Date]@row) = 3, "March", IF(MONTH([Period Date]@row) = 4, "April", IF(MONTH([Period Date]@row) = 5, "May", IF(MONTH([Period Date]@row) = 6, "June", IF(MONTH([Period Date]@row) = 7, "July", IF(MONTH([Period Date]@row) = 8, "August", IF(MONTH([Period Date]@row) = 9, "September", IF(MONTH([Period Date]@row) = 10, "October", IF(MONTH([Period Date]@row) = 11, "November", IF(MONTH([Period Date]@row) = 12, "December"))))))))))))
Here's another way to solve it by looking it up in a table.
Would 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 help the Community by marking it as the accepted answer/helpful. 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 Andree! That worked!!
-
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.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives