ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   name of another worksheet in cell for reference (https://www.excelbanter.com/excel-worksheet-functions/6268-name-another-worksheet-cell-reference.html)

Tom A Johnson

name of another worksheet in cell for reference
 
The first sheet in a multi-sheet workbook has only references to cells on the
other sheets. The first row on the first sheet refers to cells on the second
sheet, the second row refers to the corresponding cells on the third sheet,
and so on.

I want to put the name of each referenced sheet in a cell way out to the
right in the row on the first sheet where I want those referenced cell values
to appear. Then I would like to refer to the cell. Is that possible? In
other words, can a cell contain the name of another worksheet and then have
it be possible to put that cell into the reference? In still other words, if
the name of sheet 2 is in the text cell Z1 of sheet 1, can I somehow put the
value of cell A3 on sheet 2 into a cell on sheet 1 by using a formula like
Z1!A3?

kraljb


You can do that with the following formula =INDIRECT($Z1 & "A3")

Although for your ease you may want to a dummy row with A3 etc in it
and just go =INDIRECT($Z1 & A$1)

Also, you should make sure that the Z dummy column includes the "!" at
the end.


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=277570


Frank Kabel

Hi
just for beeing safe I would use
=INDIRECT("'" & $Z1 & "'!A3")

--
Regards
Frank Kabel
Frankfurt, Germany

"kraljb" schrieb im Newsbeitrag
...

You can do that with the following formula =INDIRECT($Z1 & "A3")

Although for your ease you may want to a dummy row with A3 etc in it
and just go =INDIRECT($Z1 & A$1)

Also, you should make sure that the Z dummy column includes the "!"

at
the end.


--
kraljb
---------------------------------------------------------------------

---
kraljb's Profile:

http://www.excelforum.com/member.php...fo&userid=9955
View this thread:

http://www.excelforum.com/showthread...hreadid=277570




All times are GMT +1. The time now is 10:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com