Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel: Use value of cell as part of a reference to another worksheet

Status
Not open for further replies.

rifter1

Technical User
Jun 1, 2006
37
0
0
US
If I want a cell to equal the value of a cell on another sheet I use this terminology:

='Sheet3'!B1

But. Let's say the word "Sheet3" is the value of a cell, which I can change.

So in Cell A1 on Sheet 1, I can type "Sheet 3" or "Sheet 2" or whatever I want.

I want cell B2 on Sheet 1 to grab its value from Cell B1 on an unknown sheet (name taken from cell A1).

Is there a way to do this?
 



Hi,

Take a look at INDIRECT Function
[tt]
=INDIRECT(A1&"!B1")
[/tt]


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top