View Single Post
Old 10-19-2017, 06:19 PM   #3
Steve Dallas
Commits weekly crime
 
Steve Dallas's Avatar
 
Drives: 2017 Camaro 1LT
Join Date: Nov 2009
Location: Camano Island, WA
Posts: 9,513
First, you can put two dates that are the same in column B, then highlight both of those dates. If you then click on the lower right corner of that selection and drag down to where the 23:30 time is, that will autofill all the dates so they are all the same.

Unfortunately, the autofill isn't intelligent enough to autofill for 6 months like that. You can fill blocks of one day at a time that way, which might speed things up.

That is the non-programming way to do this.

Then, there is using VBA to do this. I'm not sure what version of Excel you are using...and that might make things a little different.

Essentially, you can write a script that will fill a column with the dates, incrementing the date by one every 48 cells, until the date reaches the date you need to stop.
__________________
2017 Camaro 1LT - Blue Barchetta IV
I fire up the willing engine, responding with a roar. Tires spitting gravel I commit my weekly crime.
Steve Dallas is offline   Reply With Quote