Budgeting: Spread funding across Months/Quarter
I'm trying to figure out the best way to calculate funding distribution over months/quarters. Based on provided contract start and end dates.
I'm already aware of the Smartsheet PRORATE function, however this distributes funding based on days (which vary by month/quarter). Large corporations calculate distributions my months and quarters.
Below is the excel formula we use to calculate funding by quarter. Unfortunately, Smartsheet does not have the DATEDIF or EDATE functions.
IFERROR(
DATEDIF(
MAX([quarter start date], DATE(YEAR([contract start date]), MONTH([contract start date]), 1)),
MIN([quarter end date], EDATE(DATE(YEAR([contract end date]), MONTH([contract end date]), 1), 1)),
"m")
/
DATEDIF(
DATE(YEAR([contract start date]), MONTH([contract start date]), 1),
EDATE(DATE(YEAR([contract end date]), MONTH([contract end date]), 1), 1),
"m"),
0)
* [total savings]
Answers
-
Similar issue I am having. Wish to determine a year and a quarter an expense will be incurred in a format preferably as follows: 24Q2
-
Your Excel formula translated into Smartsheet formula would be something like this;
IFERROR(
(MAX([Quarter Start Date]@row, DATE(YEAR([Contract Start Date]@row), MONTH([Contract Start Date]@row), 1)) - MIN([Quarter End Date]@row, DATE(YEAR([Contract End Date]@row), MONTH([Contract End Date]@row) + 1, 1) - 1) + 1) / (365/12)
/
((DATE(YEAR([Contract End Date]@row), MONTH([Contract End Date]@row) + 1, 1) - 1 - DATE(YEAR([Contract Start Date]@row), MONTH([Contract Start Date]@row), 1) + 1) / (365/12)),0)
or
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 135 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 443 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!