Allocating Contract Amounts By Year Based On Start/End Date

DomPro

New Member
Joined
Jan 30, 2014
Messages
2
Hello,

Which formula could help allocate contract amounts by year using the start and end date of the specific contract. Example below:

Headers:

Column C = Start Date
Column D = End Date
Column E = Amount
Column F = Number of Days (Column D - Column C)
Column G = Amount Per Day (Column E / Column F)
Column H = 2015 Year End
Column I = 2016 Year End
Column J = 2017 Year End
.... (repeating pattern until):
Column R = 2025 Year End

Contracts:

Cell C2 = April 18, 2015
Cell D2 = April 17, 2025
Cell E2 = $5,000

Based on the information above, I would expect the formulas populated in H2 through to R2 to calculate the amount of the contract that was applicable to that year. 2015 and 2025 would be prorated (based on the number of days in those years) and the full years (2016-2024) would roughly equal amounts based on the number of days in the year (including leap years).

Can anyone help with this?

Thanks in advance!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,608
Messages
6,120,500
Members
448,968
Latest member
screechyboy79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top