Dynamic Index Range for multiple rows autofilled

wlatc

New Member
Joined
Jul 20, 2018
Messages
4
I have index formula =INDEX($A$2:$F$2,ROW(A1)). I am able to autofill that vertically in column K1 to k6. Then I enter in k7 =INDEX($A$3:$F$3,ROW(A1)) and autofill down. This becomes work intensive with more rows get added or my range changes to A2 to G2 or H2. Is there a way to do this with a dynamically changing range? Then have it autofill the next row?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Welcome to the Board.

Your question is a little unclear as to what you're looking for. But try this formula in K1:

=INDEX($A$2:$F$100,INT((ROWS($K$1:$K1)-1)/6)+1,MOD(ROWS($K$1:$K1)-1,6)+1)

and copy down. If that doesn't work for you, try showing some examples of your data and expected results. You can possible use the HTML Maker in my signature to show a sample of your worksheet.
 
Upvote 0
yes it worked perfectly. Thank you!
I can just change the ending row (F) and the number to offset (6) as I add in more entries.
 
Upvote 0
I don't know what happened, but it seems microsoft has done something now that the formula doesn't work. Do you know how to resolve this? Thank you
 
Upvote 0
Just saying that it doesn't work doesn't give me much to go on. Does it show no data, wrong data, error messages? What does your formula look like now? Can you show a sample of what your sheet looks like now? Possibly use the HTML Maker in my signature to show a sample.
 
Upvote 0
thanks for the help, I guess they put in the new update that it doesn't automatically update when you autofill, theres a new "calculate" button on the bottom of the window
 
Upvote 0
Check to see if you have Calculations set to Automatic. Go to the Formulas tab > Calculation Options > and make sure Automatic is checked.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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