Phasing using a formula with different frequency and start and end date

jadezhang1504

New Member
Joined
Nov 12, 2017
Messages
1
Hi,

I would really like to get some help on this model that I am building.

Imagine the following data
CustomerAmountStart DateEnd DateFrequencyJanFebMarAprMayJunJulyAugSepOctNovDecJan 18Feb 18
John Pree$200005/02/1705/02/184500500500500
Mary Lee$360001/03/1701/03/186600600600600600600
Joe Gree$120015/02/1715/02/1812100100100100100100100100100100100100
Lisa$60001/01/1731/03/176200200200

<tbody>
</tbody>

I have a formula which I found on the internet for a 12 monthly frequency. Depending on the start and end date I type in, the contract will phase evenly over 12 months base on the number of days in a month. But I don't know how to do one for a different frequency. For example, a quarterly contract, which means the sales is phased quarterly, or a 2monthly (6 frequency) contract, so the sales are occurring every second month.

Can anyone help with this?

Thanks

Jade
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hello Jade, Welcome to MrExcel,

For the first entry, with a frequency of 4 wouldn't that mean the payments were every 3 months, i.e. in February, May, August and November? Also the dates for the last entry don't seem right.

Having said that, assuming your table starts at A1 then with actual dates in F1 across (1st of each month) you could use this formula in F2 copied across and down

=IF($C2>EOMONTH(F$1,0),0,IF(MOD(IFERROR(DATEDIF($C2,EOMONTH(F$1,0),"m"),0.5),12/$E2)=0,MIN($B2-SUM($E2:E2)+$E2,$B2/(DATEDIF($C2,$D2,"m")/12*$E2)),0))

That will give you zeroes where there is no payment, if you want you can format to show zeroes as blanks
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,777
Messages
6,126,835
Members
449,343
Latest member
DEWS2031

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