how do i reference sheetnames in formulas based on cell refs

rsclark

Board Regular
Joined
May 7, 2004
Messages
101
I have 100 worksheets in a workbook numbered 1001 to 1100. In cells H3,H5,H7 are values that I need. On a new worksheet I want a table with column A showing the 1001 down to 1100. In col B I want to show the entry that is in H3 for every worksheet of the name in the A cell to the left. I want the entries from cells H5, H7 to appear in cols C & D. Presumably there is some sort of function/formula that I can create be referring to the entry in col A and just copy down the page, other than manually amending the sheet ref in every formula (100 x 4).

It seems that i need to how how to refer to a sheetname based upon a cell entry rather than specifying directly e.g. instead of saying 'sheet1'!H3 i want to say 'cell H3 of the page that is mentioned in cell A1'

hope i have explained it ok
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Use the INDIRECT function, like
Code:
=INDIRECT(A1&"!H3")
 
Upvote 0
fantastic.

I knew ther must be a function but i'd spent ages looking for one, but would have struggled to find it.

Thanks GlennUK
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,161
Members
448,948
Latest member
spamiki

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