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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
59,294
Office Version
  1. 365
Platform
  1. Windows
Adding an ampersand and changing the cell ref on the other sheet, I think that would be:
=INDIRECT("'"&A3&"'!B10")
 
Upvote 0

BethB

New Member
Joined
Jun 15, 2008
Messages
2
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,191,688
Messages
5,988,027
Members
440,125
Latest member
vincentchu2369

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