Derive Dates form 3 fields
Detrie Zacharias
✭✭✭✭✭
I have 3 columns I want to use to derive month start and end dates
Year
Quarter
Month of the quarter
EXAMPLE:
Year = 2020
Quarter = 3
Month of quarter = 2
Start Date= 08/01/2020 and End Date = 08/31/2020
Maybe use a helper table and VLOOKUP?
Answers
-
You could use a helper table or you could use something along the lines of the below.
Start Date:
=DATE([Year Column]@row, [Quarter Column]@row * [Month of Quarter]@row, 1)
End Date:
=IFERROR(DATE([Year Column]@row, [Quarter Column]@row * [Month of Quarter]@row + 1, 1), DATE([Year Column]@row + 1, 1, 1)) - 1
Help Article Resources
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!