Date Timeline - Add non-month end dates to a end of month timeline in sequence

jgreen83

New Member
Joined
Aug 13, 2015
Messages
4
I have an XIRR schedule on a monthly timeline (using EOMONTH function) that needs to be dynamic such that if the payment dates (Schedule 1) are not on the end of month (Schedule 2), the actual payment date is inserted in sequence using one constant formula. So the formula would need to either return the month end, or the payment date if it falls in sequence.

Example:


Book2
BCDEF
7Schedule 1Schedule 2Schedule 3
8
9Payment DateMonth EndAdjusted
10
1110/30/20179/30/20179/30/2017
1212/14/201710/31/201710/30/2017
131/12/201811/30/201710/31/2017
1412/27/201912/31/201711/30/2017
153/30/20201/31/201812/14/2017
166/20/20202/28/201812/31/2017
176/29/20203/31/20181/12/2018
189/28/20204/30/20181/31/2018
1912/30/20205/31/20182/28/2018
206/30/20183/31/2018
217/31/20184/30/2018
228/31/20185/31/2018
239/30/20186/30/2018
2410/31/20187/31/2018
2511/30/20188/31/2018
2612/31/20189/30/2018
271/31/201910/31/2018
282/28/201911/30/2018
293/31/201912/31/2018
304/30/20191/31/2019
315/31/20192/28/2019
326/30/20193/31/2019
337/31/20194/30/2019
348/31/20195/31/2019
359/30/20196/30/2019
3610/31/20197/31/2019
3711/30/20198/31/2019
3812/31/20199/30/2019
391/31/202010/31/2019
402/29/202011/30/2019
413/31/202012/27/2019
424/30/202012/31/2019
435/31/20201/31/2020
446/30/20202/29/2020
457/31/20203/30/2020
468/31/20203/31/2020
479/30/20204/30/2020
4810/31/20205/31/2020
4911/30/20206/20/2020
5012/31/20206/29/2020
516/30/2020
527/31/2020
538/31/2020
549/28/2020
559/30/2020
5610/31/2020
5711/30/2020
5812/30/2020
5912/31/2020
Sheet2 (2)
Cell Formulas
RangeFormula
F13:F14,F59,F55:F57,F51:F53,F46:F48,F42:F44,F18:F40,F16F13=EOMONTH(N13,0)
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Try placing the following formula in cell F11 and drag-copying it down as needed:
Excel Formula:
=IFERROR(SMALL($B$11:$D$50,ROWS(F$11:F11)),"")
 
Upvote 0
Solution
Thank you Tetra201! This is going to work perfectly. I think with the right modification to the "k" part of the function I can get it to ignore duplicate dates as well. I'm super pumped ? thank you so much.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

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