Using a variable to house a row reference?

jmracura

New Member
Joined
Dec 16, 2016
Messages
3
I've been struggling to find and answer to this one and could use some help if it's out there. I have recap sheet with about 50 formula cells, pointing to other sheets, different columns, but all the SAME row. I'm manually updating these 1 by 1 and since the only thing that changes is the row, is there a way to assign it a variable and update them all at once? There has got to be a more efficient way for me to do this that won't lead me to mistakes as it does today.

Many thanks in advance.

day 1
=sheet1!a1
=sheet2!a1
=sheet3!a1


day 2
=sheet1!a2
=sheet2!a2
=sheet3!a2

I apologize if this is on here somewhere else already but I guess I'm not calling for it correctly in my searches.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Just to be clearer, the column names are all over the place in my workbook.

day 1

=sheet1!a1
=sheet2!s1
=sheet3!w1


day 2
=sheet1!a2
=sheet2!s2
=sheet3!w2
 
Upvote 0
Let's say your day (row) number is in Z1:

=INDEX(sheet1!a:a,Z1)
=INDEX(sheet2!s:s,Z1)
=INDEX(sheet3!w:w,Z1)

will do it.
 
Upvote 0
This completely worked! I appreciate the help so much Rory. More so now that my back up colleague is taking leave and this will give me back some time each day.
 
Upvote 0
Glad to help - Merry Christmas! :)
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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