How to repeat date in column then increase

silkyboots32

New Member
Joined
Jan 8, 2013
Messages
2
HI there!

I hope someone can shed light on this what I thought would be simple task.

I have some data entry to do and I have 9 entries with the same date then go on to the next day. I am working with excel 2007 and 2010, so I would like it to be compatible with both.

Column 2 is repeating with 9 different criteria, if that helps

So I would like the end result something like this:

[TABLE="width: 60"]
<TBODY>[TR]
[TD="width: 80, bgcolor: transparent"]Date
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="1" Year="2012">12/1/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>
[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]
<st1:date ls="trans" Month="12" Day="2" Year="2012">12/2/2012</st1:date>

and so on

:)
Thank you in Advance[/TD]
[/TR]
</TBODY>[/TABLE]
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Put your first date in A1.

Then in A2:
=$A$1+INT(ROWS($A$1:A1)/9)

Format as date. Copy down.
 
Upvote 0
Welcome to the board!
With 12/1/12 in A1, this formula in A2:
=IF(COUNTIF($A$1:A1,A1)<9,A1,A1+1) & copy down in Col A
(Note placement of $ signs!)
 
Upvote 0
Works great! How do I change it to constant, so its not a formula anymore, so my data will not accidently change if insert a row accidently?
 
Upvote 0
Select cells, Ctrl+C, then hold down Alt and press (in succession) E, S & V
(This will paste special, VALUES)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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