Excel: Forecasting and Prorating Revenue By Month (Based on Start and End Dates)

scubawildwillie

New Member
Joined
Nov 30, 2015
Messages
7
Hello. Hoping you can help with this one. I'd like a more automated way to populate my revenue forecast based on the following fields:


  1. Amount
  2. Fee Type
  3. Start Date
  4. End Date

Re' Fee Type: One Time Fees are billed on the start date and include the full amount, regardless of the day it starts. Monthly Fees start on the start date and continue monthly until the end date. If the start date lands in the middle of a month the amount is prorated based on the number of remaining days in the month.

Below is sample of what it looks like in Excel without any formulas.



ABCDEFGHIJ
ClientServiceAmountFee TypeStart DateEnd DateJanFebMarchApril
ServiceA$10,000One Time1/15/151/31/15
Service B$4,900Monthly3/15/1512/31/25

<tbody>
</tbody>










Thank you in advance for any suggestions you may have.

Will
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi
I think you need the formula:

=IF($D2="One time",IF(AND($E2>=G$1,$E2<$H1),$C2,""),
IF($D2="Monthly",IF(AND($E2<h$1,$f2>H$1),
IF(OR($E2=G$1,$E2<g$1),$c2,
ROUND($C2*((H$1-$E2)/(H$1-G$1)),2)),""),""))<h$1,$f2><g$1),$c2,round($c2*((h$1-$e2) (h$1-g$1)),2)),""),""))
<h$1,$f2><g$1),$c2, round($c2*((h$1-$e2)="" (h$1-g$1)),2)),""),""))
<h$1,$f2><g$1),$c2,round($c2*((h$1-$e2) (h$1-g$1)),2)),""),""))


in G2
You also need first day of every month in G1 to XX1
Then copy the formula down and to the right all you need

There is a copy of a test file at https://onedrive.live.com/redir?res...700&authkey=!AAMFX1Fu88y9xNs&ithint=file,xlsx

Cheers
Sergio</g$1),$c2,round($c2*((h$1-$e2)></h$1,$f2></g$1),$c2,></h$1,$f2></g$1),$c2,round($c2*((h$1-$e2)></h$1,$f2></g$1),$c2,
</h$1,$f2>
 
Last edited:
Upvote 0
My fault

G5 shoul be
=IF($D5="One time",IF(AND($E5>=G$4,$E5<H$4),$C5,""),
IF($D5="Monthly",IF(AND($E5<H$4,$F5>H$4),
IF(OR($E5=G$4,$E5<G$4),$C5,
ROUND($C5*((H$4-$E5)/(H$4-G$4)),2)),""),""))<h$4),$c5,""),
<h$4,$f5><g$4),$c5,


<h$4),$c5,""),
<h$4,$f5><g$4),$c5,round($c5*((h$4-$e5) (h$4-g$4)),2)),""),""))
<h$4);$c5;"");
<h$4;$f5><g$4);$c5;redondear($c5*((h$4-$e5) (h$4-g$4));2));"");""))
<h$4);$c5;"");
<h$4;$f5><g$4);$c5;redondear($c5*((h$4-$e5) (h$4-g$4));2));"");""))[="" code]
<h$4);$c5;"");si($d5="monthly";si(y($e5<h$4;$f5><g$4);$c5;redondear($c5*((h$4-$e5) (h$4-g$4));2));"");""))[="" code]<h$4);$c5;"");si($d5="monthly" ;si(y($e5<h$4;$f5=""><g$4);$c5;redondear($c5*((h$4-$e5) (h$4-g$4));2));"");""))
I anchor $H4 and it was H$4 sorry

Here is a copy of your file with the corrected formula
https://onedrive.live.com/redir?res...762&authkey=!AEEukdhESGzdoVc&ithint=file,xlsx

Cheers
Sergio
</g$4);$c5;redondear($c5*((h$4-$e5)></g$4);$c5;redondear($c5*((h$4-$e5)></h$4);$c5;"");si($d5="monthly";si(y($e5<h$4;$f5></g$4);$c5;redondear($c5*((h$4-$e5)></h$4;$f5></h$4);$c5;"");
</g$4);$c5;redondear($c5*((h$4-$e5)></h$4;$f5></h$4);$c5;"");
</g$4),$c5,round($c5*((h$4-$e5)></h$4,$f5></h$4),$c5,""),
</g$4),$c5,
</h$4,$f5></h$4),$c5,""),
 
Last edited:
Upvote 0
My fault

G5 should be
=IF($D5="One time",IF(AND($E5 >= G$4,$E5 < H$4),$C5,""),
IF($D5="Monthly",IF(AND($E5 < H$4,$F5 > H$4),
IF(OR($E5=G$4,$E5 < G$4),$C5,
ROUND($C5*((H$4-$E5)/(H$4-G$4)),2)),""),""))
<h$4),$c5,""),
<h$4,$f5><g$4),$c5,
<h$4),$c5,""),
<h$4,$f5><g$4),$c5,
<h$4),$c5,""),
<h$4,$f5><g$4),$c5,

I anchor $H4 and it was H$4 sorry

Here is a copy of your file with the corrected formula
https://onedrive.live.com/redir?resid=52B7AEC35713C28B!1762&authkey=!AEEukdhESGzdoVc&ithint=file%2cxlsx

Cheers
Sergio</g$4),$c5,
</h$4,$f5></h$4),$c5,""),
</g$4),$c5,
</h$4,$f5></h$4),$c5,""),
</g$4),$c5,
</h$4,$f5></h$4),$c5,""),
 
Upvote 0
Thank you Sergio. Just when I thought I was getting pretty good at Excel you come up with a formula like this one, I would never have been able to come up with on my own. Thank you again for your help Sergio! You are a lifesaver!

Will
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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