maintaining pattern while dragging down the column in excel

genetist

Board Regular
Joined
Mar 29, 2013
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
hi to all
Good Evening

I have values 1, 2, 3 in column A and then i want to copy them in column B like
1
2
3
1
2
3
1
2
3
1
2
3

like this for number of times i want. I tried index, Mod and offset but no success, now i am doing manually but taking long time, is there any formula to do so? if any help in this regard will be highly appreciated
Thanks in advance
Regards,
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
You could try this in B1 and copy it down.

=INDEX($A$1:$A$3,MOD(ROW()-1,3)+1)

Note, if you want to copy the formula down multiple rows quickly you can enter the range you want to copy to, e.g. B1:B10000 in the name box, enter the formula in the address bar and press CTRL+ENTER.
 
Upvote 0
After you drag the fill handle down click on the auto fill options box and select copy cells.
 
Upvote 0
Dear Norie and Scott T
thanks lot for your help and time spent to help your formula working perfectly as per my needs
once again thanks lot
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
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