Inserting Dates that are Missing

ngupta

New Member
Joined
Jun 15, 2015
Messages
1
I want to go through a list of dates, and insert new rows with the dates that are missing. For example, from a column of these dates:
[TABLE="width: 123"]
<tbody>[TR]
[TD="align: right"]3/6/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/6/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/16/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/16/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/16/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/17/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/18/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/19/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/20/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/20/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/20/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/21/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/23/2015[/TD]
[/TR]
[TR]
[TD="align: right"]3/23/2015[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]

I want to insert dates 3/7-3/15 and 3/22 (one row for each date) in new rows with the same name taken from a first column of data. Does anyone know how to do this in a automated way such that for every day that is missing from the original list of names and dates, then a new row will be inserted taking the same name.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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