I am trying to create a formula to support resource management.
I have a start date and end date of an activity and want to spread the remaining resource equally between the two dates (dividing the Remaining Days between the Start and End Dates in monthly buckets). The formula below works well apart from when the start date and end date are in the same month. Any idea how I can fix this?
=IF(AND(DATE(YEAR($E2),MONTH($E2),1)<=S$1,S$1<=EOMONTH($F2,0)),($J2/DATEDIF(DATE(YEAR($E2),MONTH($E2),1),$F2+15,"m")),0)
Start Date = E2
End Date = F2
Remaining Days = J2
Spread of Dates S2 - AJ2 (monthly buckets from July 2020 through to Dec 2021)
Example spreadsheet attached.
Any help gratefully received!!!
Thank you!
Jane
Bookmarks