Distribute a Period over Multiple Columns

Mathijs

New Member
Joined
Feb 5, 2019
Messages
1
Hi everyone,

I'm struggling to distribute the Duration in column B over the correct period with a formula, in order to translate the table above indicating when a new project starts into the table below which sums up the current running projects.

For example, Project 1 has a duration of 2 months. As indicated in the table above, the project starts in January 2019. Is there a formula that distributes these two months to the according periods, starting with January?

The Running Projects table below should be the result. Does anyone have suggestions? Looking forward to think along.

Best,

Mathijs
# new projects started
[TABLE="width: 500"]
<tbody>[TR]
[TD]Project type[/TD]
[TD]Duration (months)[/TD]
[TD][/TD]
[TD]jan-19[/TD]
[TD]feb-19[/TD]
[TD]mar-19[/TD]
[TD]apr-19[/TD]
[TD]may-19[/TD]
[TD]jun-19[/TD]
[/TR]
[TR]
[TD]Project 1[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Project 2[/TD]
[TD]4[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]

# running projects cumulative
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]jan-19[/TD]
[TD]feb-19[/TD]
[TD]mar-19[/TD]
[TD]apr-19[/TD]
[TD]may-19[/TD]
[TD]jun-19[/TD]
[/TR]
[TR]
[TD]Project 1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Project 2[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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