Trying to get the last day of the next month based on another date column's value...
Hello, Community!
Current formula (returns the first day of the next month) works:
=DATE(YEAR([Earnings End Date]@row), MONTH([Earnings End Date]@row) + 1, 1)
I'm trying though to have it return 7/31/23 instead of 7/1/23...what am I missing?
Tags:
Best Answer
-
Here is a quick fix =DATE(YEAR([Earnings End Date]@row), MONTH([Earnings End Date]@row)+2, 1) -1
Answers
-
Here is a quick fix =DATE(YEAR([Earnings End Date]@row), MONTH([Earnings End Date]@row)+2, 1) -1
-
Perfect, thanks @Eric Law!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 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!