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.
[TABLE="width: 515"]
<colgroup><col><col span="7"></colgroup><tbody>[TR]
[TD]Customer[/TD]
[TD]Item[/TD]
[TD]Monthly
Rate[/TD]
[TD]Qty.[/TD]
[TD]Total Monthly
Price[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Total Amount[/TD]
[/TR]
[TR]
[TD] Bert [/TD]
[TD] A5009 [/TD]
[TD]300.00[/TD]
[TD]1.00[/TD]
[TD]300.00[/TD]
[TD]7/1/14[/TD]
[TD]7/10/14[/TD]
[TD] ??[/TD]
[/TR]
[TR]
[TD] Bert [/TD]
[TD] A5009 [/TD]
[TD]300.00[/TD]
[TD]2.00[/TD]
[TD]600.00[/TD]
[TD]7/11/14[/TD]
[TD]6/30/15[/TD]
[TD] ??
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 515"]
<colgroup><col><col span="7"></colgroup><tbody>[TR]
[TD]Thank you![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 515"]
<colgroup><col><col span="7"></colgroup><tbody>[TR]
[TD]Customer[/TD]
[TD]Item[/TD]
[TD]Monthly
Rate[/TD]
[TD]Qty.[/TD]
[TD]Total Monthly
Price[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Total Amount[/TD]
[/TR]
[TR]
[TD] Bert [/TD]
[TD] A5009 [/TD]
[TD]300.00[/TD]
[TD]1.00[/TD]
[TD]300.00[/TD]
[TD]7/1/14[/TD]
[TD]7/10/14[/TD]
[TD] ??[/TD]
[/TR]
[TR]
[TD] Bert [/TD]
[TD] A5009 [/TD]
[TD]300.00[/TD]
[TD]2.00[/TD]
[TD]600.00[/TD]
[TD]7/11/14[/TD]
[TD]6/30/15[/TD]
[TD] ??
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 515"]
<colgroup><col><col span="7"></colgroup><tbody>[TR]
[TD]Thank you![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]