Spreading revenue over months

sps21

New Member
Joined
Apr 3, 2017
Messages
8
Hi there

New user here! I am building a financial model and want a quicker way to spread the revenue. I have a monthly P&L going for 5 years and I have to spread the monthly revenue across 12 months in a separate tab.


Source file:



Jan 17Feb 17Mar 17tillDec 21
Monthly RevenueXYZ

<tbody>
</tbody>



which needs to expressed in following manner in a different tab


Jan17Feb 17Mar 17Apr 17MayJunJulAugso onDec17Jan18Feb18Mar18till Dec 21
JanX/12X/12X/12X/12
Feb Y/12Y/12Y/12Y/12
MarZ/12Z/12Z/12Z/12
till Dec
Total

<tbody>
</tbody>



I would really appreciate if any one can suggest a quicker way to do this..something like a formula which can be dragged across to pull in the value from the source.


Thanks in advance
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
If the spaces in between are supposed to be filled, something like:


Excel 2010
ABCDEFGHIJKLM
11/31/20172/28/20173/31/20174/30/20175/31/20176/30/20177/31/20178/31/20179/30/201710/31/201711/30/201712/31/2017
2Monthly Revenue754541541202752253202658750223333842714792418209
3
4
51/31/20172/28/20173/31/20174/30/20175/31/20176/30/20177/31/20178/31/20179/30/201710/31/201711/30/201712/31/2017
6Jan628.75628.75628.75628.75628.75628.75628.75628.75628.75628.75628.75628.75
7Feb346.16667346.16667346.16667346.16667346.16667346.16667346.16667346.16667346.166667346.166667346.166667
8Mar100.16667100.16667100.16667100.16667100.16667100.16667100.16667100.166667100.166667100.166667
9Apr626.83333626.83333626.83333626.83333626.83333626.83333626.833333626.833333626.833333
10May443.33333443.33333443.33333443.33333443.33333443.333333443.333333443.333333
11Jun221.5221.5221.5221.5221.5221.5221.5
12Jul625.16667625.16667625.16667625.166667625.166667625.166667
13Aug194.41667194.41667194.416667194.416667194.416667
14Sep320.16667320.166667320.166667320.166667
15Oct595.583333595.583333595.583333
16Nov770.083333770.083333
17Dec684.083333
Sheet11
Cell Formulas
RangeFormula
B6=IF(AND(COLUMN()-ROW(A1)>=1,COLUMN()-ROW(A1)<=12),INDEX($B$2:$BI$2,ROW(A1))/12,"")
 
Upvote 0
If the spaces in between are supposed to be filled, something like:

Excel 2010
ABCDEFGHIJKLM
11/31/20172/28/20173/31/20174/30/20175/31/20176/30/20177/31/20178/31/20179/30/201710/31/201711/30/201712/31/2017
2Monthly Revenue754541541202752253202658750223333842714792418209
3
4
51/31/20172/28/20173/31/20174/30/20175/31/20176/30/20177/31/20178/31/20179/30/201710/31/201711/30/201712/31/2017
6Jan628.75628.75628.75628.75628.75628.75628.75628.75628.75628.75628.75628.75
7Feb346.16667346.16667346.16667346.16667346.16667346.16667346.16667346.16667346.166667346.166667346.166667
8Mar100.16667100.16667100.16667100.16667100.16667100.16667100.16667100.166667100.166667100.166667
9Apr626.83333626.83333626.83333626.83333626.83333626.83333626.833333626.833333626.833333
10May443.33333443.33333443.33333443.33333443.33333443.333333443.333333443.333333
11Jun221.5221.5221.5221.5221.5221.5221.5
12Jul625.16667625.16667625.16667625.166667625.166667625.166667
13Aug194.41667194.41667194.416667194.416667194.416667
14Sep320.16667320.166667320.166667320.166667
15Oct595.583333595.583333595.583333
16Nov770.083333770.083333
17Dec684.083333

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet11

Worksheet Formulas
CellFormula
B6=IF(AND(COLUMN()-ROW(A1)>=1,COLUMN()-ROW(A1)<=12),INDEX($B$2:$BI$2,ROW(A1))/12,"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Hi Spreadsheet

Thanks for your reply! It works! However could you explain your thought process behind AND(COLUMN()-ROW(A1)>=1,COLUMN()-ROW(A1)<=12). This would help me devise my own formula for situations like these in future. If you don't feel like typing a big reply to question then ignore! I am grateful for your help :)

Thanks again and have a good day!

SPS
 
Upvote 0
You're only trying to return 12 cells per row, starting at the first column for the first row, second column for the second row, etc. Row(A1) will change as you copy down (from 1 to 2 to 3.......) Likewise Column() in B6 (the same as typing Column(B6)) will start at 2 and change to 3, 4... as you copy across. So test whether the difference falls between 1 and 12 inclusive, if it does, you return the revenue/12, otherwise a "" (fake blank). One good way to understand multi-function formulas is by examining them in pieces, i.e. seeing the results of each component.
 
Upvote 0
You're only trying to return 12 cells per row, starting at the first column for the first row, second column for the second row, etc. Row(A1) will change as you copy down (from 1 to 2 to 3.......) Likewise Column() in B6 (the same as typing Column(B6)) will start at 2 and change to 3, 4... as you copy across. So test whether the difference falls between 1 and 12 inclusive, if it does, you return the revenue/12, otherwise a "" (fake blank). One good way to understand multi-function formulas is by examining them in pieces, i.e. seeing the results of each component.

Got it! Thanks a lot

SPS
 
Upvote 0

Forum statistics

Threads
1,216,196
Messages
6,129,462
Members
449,511
Latest member
OttosArmy

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