Create a Table between two dates

earthworm

Well-known Member
Joined
May 19, 2009
Messages
759
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I want to create a table of Date between two dates . I tired to apply many logic but I am stuck when the maturity date goes on 9th Nov-2016 and then restarting the dates from 9th November-2016

Start Date : 9 May-2016
Tenor : 6 Months.

Below is the result i want highlighted in red.

Tenor6 Months
Start DateMaturity Date
9-May-1631-May-16
1-Jun-1630-Jun-16
1-Jul-1631-Jul-16
1-Aug-1631-Aug-16
1-Sep-1630-Sep-16
1-Oct-1631-Oct-16
1-Nov-169-Nov-16
10-Nov-1630-Nov-16
1-Dec-1631-Dec-16
1-Jan-1731-Jan-17
1-Feb-1728-Feb-17
1-Mar-1731-Mar-17
1-Apr-1730-Apr-17
1-May-179-May-17
10-May-1731-May-17
1-Jun-1730-Jun-17
1-Jul-1731-Jul-17
1-Aug-1731-Aug-17
1-Sep-1730-Sep-17

<colgroup><col width="127" style="width:95pt" span="2"> </colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
1-Oct-1631-Oct-16
1-Nov-169-Nov-16
10-Nov-1630-Nov-16
1-Dec-1631-Dec-16

<tbody>
</tbody>

you have mainly the first and last day in the month
why did you change to 1 nov 16 through to 9 nov 16
given that you did - is the rule the next row is 9 nov 16 plus 1 = 10 nov 16 to the end of the month
 
Upvote 0
It's a fixed deposit of 6 months.In each month I need to apply different rates. I need to show customer for how.may days his deposit has been booked , matures after each month and what is the history of his next reinvestment . Hence to create a complete trail.
 
Upvote 0
On each month the rate changes and I need to show a trail of fixed deposit. What was the last day the deposit matured and after reinvestment what is the new trail /history
 
Upvote 0
It's dynamic trail that will show for how long fund has been kept and from which date it has been reinvested. I need to break each month seperately because there are different rates each month
 
Upvote 0
Try these:

cell B3 (and drag-copy down) =MIN(EOMONTH($A3,0),EDATE($A$3,ROUNDUP((ROWS($A$3:$A3))/7,0)*6))
cell A4 (and drag-copy down) =B3+1
 
Upvote 0
Try these:

cell B3 (and drag-copy down) =MIN(EOMONTH($A3,0),EDATE($A$3,ROUNDUP((ROWS($A$3:$A3))/7,0)*6))
cell A4 (and drag-copy down) =B3+1
Amazing . Can you please explain the logic behind bold parts
 
Upvote 0
ahhh your formula has one issue . Its dependent on column of "Maturity Date" . I want to appear these date to appear only if i input the start date . Entire thing must be dependent on start date only.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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