autofill changing date and time

fgib57

New Member
Joined
Dec 7, 2013
Messages
2
Hello,

I'm in desperate need of help with something I've tried for days to do, and I'm failing miserably now... I'm using an old version of excel... and as you can see, I'm not very good at it.

I have to create a number of spreadsheets with changing dates / times / both.

This would be a fairly good example:
Add one day + 1 hour for 31 days of a month.

"01/01/2014 01:10"
"02/01/2014 02:10"
"03/01/2014 03:10"
"04/01/2014 04:10"
"05/01/2014 05:10"
"06/01/2014 06:10"

<tbody>
</tbody>

"dd/mm/yyyy hh:mm"

The above format is important, and - it has to be in quotes.
Which, if necessary I will manually add using replace, but would prefer not to.

So I may then need to take the first date... lets say 06/12/2013 07:00
then, Add one day + 3 hrs 30 mins.... so as the days roll between 1 to 31 it is obviously going into the 24 hour clock, rolling argument.

And, to top that -
1. the csv then needs to be put into software (I assume it reads the data in the sheet and not the formulas).
2. I can't have extra columns as they would need to be deleted.

I have tried copying down, like a standard auto-fill but it always goes wrong on me.

Could anyone please help me with this in a not-too-difficult to understand way. Think of me as pre-school (sorry)

Many thanks in advance of any help.

fgib :(
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Not sure if I understand what you want, but here's my best guess. Enter the first date as a formatted dd/mm/yyyy hh:mm in cell A1. In cell A2 place the formula shown below and copy it down for 30 more cells. In cell B1 place the formula shown below and copy it down to B31. Now select B1:B31 and do a copy/pastespecial values. B1:B31 now contains what I think you are after to enter into a csv file.
Excel Workbook
AB
106/12/2013 07:00"06/12/2013 07:00"
207/12/2013 08:00"07/12/2013 08:00"
308/12/2013 09:00"08/12/2013 09:00"
409/12/2013 10:00"09/12/2013 10:00"
510/12/2013 11:00"10/12/2013 11:00"
611/12/2013 12:00"11/12/2013 12:00"
712/12/2013 13:00"12/12/2013 13:00"
813/12/2013 14:00"13/12/2013 14:00"
914/12/2013 15:00"14/12/2013 15:00"
1015/12/2013 16:00"15/12/2013 16:00"
1116/12/2013 17:00"16/12/2013 17:00"
1217/12/2013 18:00"17/12/2013 18:00"
1318/12/2013 19:00"18/12/2013 19:00"
1419/12/2013 20:00"19/12/2013 20:00"
1520/12/2013 21:00"20/12/2013 21:00"
1621/12/2013 22:00"21/12/2013 22:00"
1722/12/2013 23:00"22/12/2013 23:00"
1824/12/2013 00:00"24/12/2013 00:00"
1925/12/2013 01:00"25/12/2013 01:00"
2026/12/2013 02:00"26/12/2013 02:00"
2127/12/2013 03:00"27/12/2013 03:00"
2228/12/2013 04:00"28/12/2013 04:00"
2329/12/2013 05:00"29/12/2013 05:00"
2430/12/2013 06:00"30/12/2013 06:00"
2531/12/2013 07:00"31/12/2013 07:00"
2601/01/2014 08:00"01/01/2014 08:00"
2702/01/2014 09:00"02/01/2014 09:00"
2803/01/2014 10:00"03/01/2014 10:00"
2904/01/2014 11:00"04/01/2014 11:00"
3005/01/2014 12:00"05/01/2014 12:00"
3106/01/2014 13:00"06/01/2014 13:00"
3207/01/2014 14:00"07/01/2014 14:00"
Sheet4
 
Last edited:
Upvote 0
Oh JoeMo - you are a genius - thank you sooooo much....

You have saved me SO much work.

A job that I was expecting to take a lifetime will now only take me a day or two to do. There are so many dates and times to do in this job that I was giving up the will to live, I really was.

Thank you again... I truly appreciate you taking the time to help me with this.

Kindest Regards
Faye :)
 
Upvote 0
Oh JoeMo - you are a genius - thank you sooooo much....

You have saved me SO much work.

A job that I was expecting to take a lifetime will now only take me a day or two to do. There are so many dates and times to do in this job that I was giving up the will to live, I really was.

Thank you again... I truly appreciate you taking the time to help me with this.

Kindest Regards
Faye :)
You are welcome - thanks for the reply.
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,470
Latest member
Subhash Chand

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