Apportioning A Value by Date

medokt

New Member
Joined
Sep 6, 2005
Messages
22
Hi Guys

Can anybody help me?

I have a spreadsheet which has values down the left most column, across the top of the spreadsheet I have Months Sept 05 to Aug 07.

In the 2nd and 3rd column I have start date then finish date.

Is there anyway I can split the value of the left most column across the two dates between the 2nd and 3rd columns with the resulting values going into the relevant months column across the sheet?

I was wondering if I could use a fromula in every cell?

I would be grateful for any direction?


:)
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
to amend for your needs

D1 should be 01/09/2005, then successive months across row 1 (you can format as mmm yy to just show month and year

then with your value in A2, start date in B2 and end date in C2

D2 and copied across row (and down column if necessary)

=MAX(0,MIN($C2+1,EDATE(D$1,1))-MAX($B2+1,D$1))/($C2-$B2)*$A2
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,003
Messages
5,834,825
Members
430,324
Latest member
bosphoruskid

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
Top