Offset using fill-handle

bilks

New Member
Joined
Aug 4, 2010
Messages
2
Hi guys

I have two worksheets. W1 has data and I would like column A in W2 to reference cells on a particular row in W1, but spaced 8 cells apart. So, I have the following in W2:

Cell A1=OFFSET(Sheet1!$G$2;0;0)
Cell A2=OFFSET(Sheet1!$G$2;0;8)
Cell A3=OFFSET(Sheet1!$G$2;0;16)

I would like to copy this function down column A, increasing the final number if the formula by 8 each time. However, if I use the fill-handle, Cell A4 becomes the same as A1, A5 copies A2, A6 copies A3 and A7 copies A1 again.

Is there any way I can do this?

Thanks.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
17,932
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi guys

I have two worksheets. W1 has data and I would like column A in W2 to reference cells on a particular row in W1, but spaced 8 cells apart. So, I have the following in W2:

Cell A1=OFFSET(Sheet1!$G$2;0;0)
Cell A2=OFFSET(Sheet1!$G$2;0;8)
Cell A3=OFFSET(Sheet1!$G$2;0;16)

I would like to copy this function down column A, increasing the final number if the formula by 8 each time. However, if I use the fill-handle, Cell A4 becomes the same as A1, A5 copies A2, A6 copies A3 and A7 copies A1 again.

Is there any way I can do this?

Thanks.
Select a cell and name it myOffset. In that cell enter an 8 (or any other integer value you want to use as an offset). Then use this formula in cell A1 and fill down.
Code:
=OFFSET(Sheet1!$G$2,0,myOffset*ROW(A1))
 

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,451
Try something like this...
Code:
=OFFSET(Sheet1!$G$2;;(ROW(A1)-1)*8)
 

bilks

New Member
Joined
Aug 4, 2010
Messages
2
You are a legend. If I could buy you a drink, I would.

I tweaked it a little to suit my spreadsheet exactly, but it worked a treat. Champion.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,943
Messages
5,856,438
Members
431,814
Latest member
qualitypavingstone

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
Top