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
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 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!