Need help with Pro-Rate Formula

ENAPo

New Member
Joined
May 16, 2013
Messages
23
What formula could I use to calculate the Total Amount based on the Price and Dates given? I am using Excel 2010. And the pro-rate within the same month, I can manage. It's the 2nd line that crosses multiple months that is not working.


CustomerItemMonthly
Rate
Qty.Total Monthly
Price
StartEndTotal Amount
Bert A5009 300.001.00300.007/1/147/10/14 ??
Bert A5009 300.002.00600.007/11/146/30/15 ??

<colgroup><col><col span="7"></colgroup><tbody>
</tbody>

Thank you!

<colgroup><col><col span="7"></colgroup><tbody>
</tbody>
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Maybe this



Excel 2007
ABCDEFGH
1CustomerItemMonthlyQty.Total MonthlyStartEndTotal Amount
2RatePrice
3BertA500930013007/01/20147/10/20149
4BertA500930026007/11/201420/06/20157
Sheet3
Cell Formulas
RangeFormula
H3=(YEAR(G3)-YEAR(F3))*12+MONTH(G3)-MONTH(F3)
H4=(YEAR(G4)-YEAR(F4))*12+MONTH(G4)-MONTH(F4)
 
Upvote 0
Oops, missed a bit...



Excel 2007
ABCDEFGH
1CustomerItemMonthlyQty.Total MonthlyStartEndTotal Amount
2RatePrice
3BertA500930013007/01/20147/10/20142700
4BertA500930026007/11/201430/06/20154200
Sheet3
Cell Formulas
RangeFormula
H3=((YEAR(G3)-YEAR(F3))*12+MONTH(G3)-MONTH(F3))*E3
H4=((YEAR(G4)-YEAR(F4))*12+MONTH(G4)-MONTH(F4))*E4
 
Upvote 0
Oops, missed a bit...


Excel 2007
ABCDEFGH
1CustomerItemMonthlyQty.Total MonthlyStartEndTotal Amount
2RatePrice
3BertA500930013007/01/20147/10/20142700
4BertA500930026007/11/201430/06/20154200

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

Worksheet Formulas
CellFormula
H3=((YEAR(G3)-YEAR(F3))*12+MONTH(G3)-MONTH(F3))*E3
H4=((YEAR(G4)-YEAR(F4))*12+MONTH(G4)-MONTH(F4))*E4

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

<tbody>
</tbody>

Thank you for your help but it does not calculate the Line#3 correctly. I need it to calculate the months as well as the days 7/11/2014 - 6/30/2015 =
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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