Referencing every Nth cell or using a formula in a cell addr

Wanderlei

New Member
Joined
Dec 9, 2005
Messages
1
Hi! First post here... I've spent the past hour and a half searching for what I'm trying to do and I've found similar issues, but none exactly like the issue I have. Perhaps it's because I don't know the right keywords to search for!

Basically, I want to reference every 5th cell from another sheet, filling downwards. So in the sheet I am in, cell A1 would reference ='Sheet1'!A5, cell A2 would reference ='Sheet1'!A10 and so on. Obviously I can create these manually, but it takes quite a long time.

I'm sure there is some kind of code to do this, but is there also a way to insert a constant formula in the cell address to calculate the row number such as ='Sheet1'!A((Current_Row*5)-5). I know that is not near correct formatting, but I don't even know how to make something like ='Sheet1'!A(2+2) equivalent to ='Sheet1'!A4.

Hopefully I explained this well enough... :)
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
You're thinking along the right lines...

Try, in A1

=INDEX(Sheet1!A:A,(ROW()-ROW(A$1)+1)*5)

copy down column
 
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,163,951
Messages
5,834,543
Members
430,295
Latest member
amdis

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