how to add months to a date?
Hi team,
I'm trying to add X months from the yellow column to a date and get the result.
for ex: 01/01/2025 + 12 Months = 01/01/2026.
Is there any way to do so? Thanks in advance!
Tags:
Answers
-
Try this: =IF(AND(ISDATE([Date]@row), ISNUMBER([Yellow Column]@row)), DATE(YEAR([Date]@row) + (FLOOR((MONTH([Date]@row) + [Yellow Column]@row - 1) / 12, 1)), IF(MOD(MONTH([Start Date]@row) + [Yellow Column]@row, 12) = 0, 12, MOD(MONTH([Date]@row) + [Yellow Column]@row, 12)), DAY([Date]@row)), "")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 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!