Fill-Down Problems! Quick help needed

Zakkaroo

Active Member
Joined
Jul 6, 2009
Messages
383
I need excel to fill down for me in the following manner:

A2 to A12 all equal 2011-01
A13 to A23 all equal 2011-02
.... 2011-03
etc

All the way up to 2011-53

How can i get Excel to do it without having to type / copy & paste over and over?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Try:-
Code:
Dim n As Integer
Dim c As Variant
For n = 1 To 53 * 11 Step 11
    c = c + 1
    c = IIf(c < 10, "0" & c, c)
    Range("A" & n + 1).Resize(11) = "2011-" & c
Next n
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

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