Divide values of periods over months (for example)

Bozo the C

New Member
Joined
Sep 25, 2016
Messages
33
Hello a good day!
I would like to know if there's a smart way to divide values for surtain ID's over months.


This would be possible using the start and ending date.


With SQL you can place those values in columns.


Is there an easy way with Excel?


Could you please tell me what the easiest way would be with Excel?


Given is the first table. The second table should be the result of the action.


ABCDEFGHIJKLMN
1
2IDStartEndValue
3112-11-20163-31-20175
414-1-20176
522-1-20175
635-1-20161-31-20175
732-1-201711-30-20176
8312-1-20177
9410-1-20162-28-20175
1043-1-20175-31-20176
1146-1-20177
1254-1-20176-30-20175
13
14
15
16Value
17IDJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember
18155566666
192-5555555
203566666666667
214556667777777
225---555------

<tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,216,236
Messages
6,129,652
Members
449,526
Latest member
hmoh

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