tab reference

BethB

New Member
Joined
Jun 15, 2008
Messages
2
I have 4 sheets in my workbook: sheet1, sheet2, sheet3, and master.

On the master sheet I have cell a3 which contains the word sheet1, sheet2, or sheet3 based on a formula

On the master sheet, I want to bring back cell B10 from either sheet1, sheet2, or sheet3, dependent on what cell a3 reads. How do I write the formula so excel understands I am looking for the data tab referenced in cell a3? Normally, if I knew it would be sheet 1, I know the formula would be sheet1!b10, but in this case, It depends on what cell 3 says as to which sheet I should pull from.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Adding an ampersand and changing the cell ref on the other sheet, I think that would be:
=INDIRECT("'"&A3&"'!B10")
 
Upvote 0
Fantastic,Thanks for the help - I've never used indirect before, and I can see a lot of use for it.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,390
Members
448,957
Latest member
Hat4Life

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