How Can I calculate next payment date

hetterbr

Board Regular
Joined
Jul 8, 2011
Messages
56
My spreadsheet has the following:

A = Start date
B = Freqeuncy (monthly, quarterly, semi-annual, annual)
c = Current date

I want to be able to calculate when the next payment date is going to be. And it must take into account the various payment frequencies. and it must land on the same day (if started on the 16th of the month, then next payment must be on the 16th).
Oh and everytime I go back into the spreadsheet, it should update itself automatically.


thanks
 

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.
Try this formula in D2 copied down

=EDATE(A2,CEILING(DATEDIF(A2,C2,"m")+1,VLOOKUP(B2,{"monthly",1;"quarterly",3;"semi-annual",6;"annual",12},2,0)))
 
Upvote 0
I forgot to mention that Column A would have the full start date in it: 01-Nov-11.

I am getting an error and I think it is due to the year being in that cell.

thanks
 
Upvote 0
Ok, weird.

but my computer screen just hiccupped and now the formula seems to work fine.

Maybe time to stop working and go home.

thanks for the help.
 
Upvote 0
My assumption is that A2 and c2 will contain dates - the formula won't work otherwise - the only requirement beyond that is that C2 is a later date than A2 - if that isn't always the case then the formula can be adjusted to cater for that......
 
Upvote 0
I am finding that A2 is sometimes before or after C2. You mentioned that the formula could be adjusted to allow for this. How would I do that?

thanks
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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