Copying Formula Patterns

Gavin Harrison

New Member
Joined
May 2, 2017
Messages
34
Hi.

I'm wanting to copy a formula down a column following a pattern, but obviously just by dragging the formula down the cells underneath doesn't work.

Ive seen a few examples but I'm struggling to understand them.

Essentially I want the sequence to be as follows:

='Sheet1'!A1
='Sheet1'!A3
='Sheet1'!A5

Any help greatly appreciated.

Thanks
Gavin
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Exact detail depends on what cell your first formula is in. For example, if the first formula is in cell D2 of the other sheet, try this, copied down.

=INDEX(Sheet1!A:A,ROWS(D$2:D2)*2-1)

Edit:
If it is possible that new rows subsequently inserted at the top of Sheet1 might cause the formula to return incorrectly results, then try something like this instead.

=INDEX(Sheet1!A$1:A$100,ROWS(D$2:D2)*2-1)
 
Last edited:
Upvote 0
Hi Gavin,

I'm not sure if this is the solution, but adding dollar sign '$' before 'A' makes it not changing while dragging the formula. The same can be applied to '1' so for example: when "='Sheet1'!$A1" is dragged 'A' always stays, but '1' is changing. "='Sheet1'!$A$1" when dragged is always the same.

I hope it helps.

Have a nice day,
chleb
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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