Splitting the totals into consecutive months?

ChrisSedgwick_

New Member
Joined
Feb 19, 2015
Messages
11
I've built a query in Access to perform a simple calculation. To take a Contribution figure, which effectively is our Sales Figure, the Anticipated Start Date of the Project and then divide the Contribution by the Duration of the Project. For example


The Contribution of a Project is say, £10,000
The Anticipated Start Date is, 1st Jan
The Duration of Project will be, 5 months
The result of the query is £2,000


I then have a function that allows me to Export into Excel to then manipulate the data.

The results are then grouped by the Anticipated Start Date to give a forecasted Contribution figure for that month, so January would be £2,000.


Everything that I've done so far works perfectly, just how we want it. Except for...


I need the remaining Contribution, in our case £8,000 to be split in to the remaining months, according to the Duration of the Project. Again, for example.


Total Contribution = £10,000
Ant. Start Date = 1st Jan
Duration of Project = 5 months
Query Result = £2,000


I then want the remaining £8,000 to be split over the remainder, so...


Jan = £2,000
Feb = £2,000
Mar = £2,000
Apr = £2,000
May = £2,000


This way we can total a figure for each month, which will give us an estimated Contribution figure for a specific period.


I was hoping for someone to be able to offer some support on finishing the end results and manipulating the data, as described above in Excel. I'm not massively experienced with VBA, so explained as simple as possible would be a great help.


Hope you can help.


Thanks in advance.


Chris.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,618
Messages
6,179,917
Members
452,949
Latest member
beartooth91

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