Prorating savings based on number of months in a quarter

Obainoluciano

New Member
Joined
Jun 23, 2018
Messages
4
Hi All
i need with a formula to do the following calculation
1 determine the quarter that a date falls in and then compare it to the last quarter of the year.
2. Determine the number of months in each quarter and then prorate an amount based on the number of month in each quarter.

for example, if I have a date of June 5, the month falls into quarter 2 and when compared to the end of the year, I have 3 quarters - quarter 2 ( 1 month), quarter 3(3 months) and quarter 4 ( 3 month). I would like to pro-rate an amount ($1245) into 3 different columns based on the number of months in that quarter.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
But June has 7 months remaining, or 3 quarters inclusive. Which do you want? Here's quarters:


Excel 2010
ABCDE
16/5/20181245415415415
Sheet6
Cell Formulas
RangeFormula
C1=IF(COLUMN(A1)>1+INT((2+MONTH($A1))/3),"",$B1/(1+INT((2+MONTH($A1))/3)))


oh wait I see, hang on.......
 
Last edited:
Upvote 0
But June has 7 months remaining, or 3 quarters inclusive. Which do you want? Here's quarters:

Excel 2010
ABCDE

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"]6/5/2018[/TD]
[TD="align: right"]1245[/TD]
[TD="align: right"]415[/TD]
[TD="align: right"]415[/TD]
[TD="align: right"]415[/TD]

</tbody>
Sheet6

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C1[/TH]
[TD="align: left"]=IF(COLUMN(A1)>1+INT((2+MONTH($A1))/3),"",$B1/(1+INT((2+MONTH($A1))/3)))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]



oh wait I see, hang on.......

of the 7 months between june to december, i would want column C to be 1/7*1245 =177.86, column D = (3/7)*1245 =533.57 and column E = (3/7)*1245 =533.57. Column C label will be Q2, D - Q3 and E-Q4
 
Upvote 0
This?


Excel 2010
ABCDE
16/5/20181245177.8571533.5714533.5714
Sheet6
Cell Formulas
RangeFormula
C1=IF(COLUMN(A1)=1,(3-MOD(MONTH($A1)-1,3))*($B1/(13-MONTH(A1))),IF(COLUMN(A1)>5-(INT((MONTH($A1)+2)/3)),"",3*$B1/(13-MONTH($A1))))
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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