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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives