Using formulas to automate a date
Hello! I have a column that identifies a specific week, e.g., week 1, week 2, etc. I would like to create another column that automates a specific date based on week entry. For instance if Week 1 is entered, the date 1/25/21 is automatically entered in the date column. Thank you for your help!
Answers
-
Hi @Autumn Montegna ,
I assumed your week number was in column [week] and entered as text, e.g. Week 1. The formula is simpler if your week number is just a number. I also assumed all dates are 2021. Try:
=MAX(DATE(2021,1,1),DATE(2021,1,1)-WEEKDAY(DATE(2021,1,1))+(VALUE(RIGHT([week]@row, LEN([week]@row)-FIND(" ",[week]@row)))-1)*7+9)
It should return the Monday date of the week number.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!