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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!