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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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