Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I want to have two cells where one tells me the name of a file, and the other
tells me the name of a sheet tab in that file. I would like to be able to use those two values in a cell to complete a reference to a cell (let's say B2 of that file's tab). What is the formatting for this? Thx. -- Boris |
#2
![]() |
|||
|
|||
![]()
=INDIRECT("'["&A1&"]"&B1&"'!B2")
file name in A1 and sheet name in B1 -- Regards, Peo Sjoblom (No private emails please) "BorisS" wrote in message ... I want to have two cells where one tells me the name of a file, and the other tells me the name of a sheet tab in that file. I would like to be able to use those two values in a cell to complete a reference to a cell (let's say B2 of that file's tab). What is the formatting for this? Thx. -- Boris |
#3
![]() |
|||
|
|||
![]()
Hi
"Peo Sjoblom" wrote in message ... =INDIRECT("'["&A1&"]"&B1&"'!B2") file name in A1 and sheet name in B1 But... the file you are referring to must be opened - otherwise the formula returns an error! Arvi Laanemets -- Regards, Peo Sjoblom (No private emails please) "BorisS" wrote in message ... I want to have two cells where one tells me the name of a file, and the other tells me the name of a sheet tab in that file. I would like to be able to use those two values in a cell to complete a reference to a cell (let's say B2 of that file's tab). What is the formatting for this? Thx. -- Boris |
#4
![]() |
|||
|
|||
![]()
is there a way that the error can be avoided? Short of converting to values,
of course. I'd like these to be similar to other links, where even if I don't update them when I open the file (and the source files are closed), the previous values still show. Thx if you can help out. -- Boris "Arvi Laanemets" wrote: Hi "Peo Sjoblom" wrote in message ... =INDIRECT("'["&A1&"]"&B1&"'!B2") file name in A1 and sheet name in B1 But... the file you are referring to must be opened - otherwise the formula returns an error! Arvi Laanemets -- Regards, Peo Sjoblom (No private emails please) "BorisS" wrote in message ... I want to have two cells where one tells me the name of a file, and the other tells me the name of a sheet tab in that file. I would like to be able to use those two values in a cell to complete a reference to a cell (let's say B2 of that file's tab). What is the formatting for this? Thx. -- Boris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Maintaining cell reference after sorting | Excel Discussion (Misc queries) | |||
referencing named formula using INDIRECT function | Excel Worksheet Functions | |||
Absolute Worksheet reference number | Excel Discussion (Misc queries) | |||
dependent combo box list, with indirect reference | Excel Discussion (Misc queries) | |||
Indirect reference from one worksheet to another | Excel Worksheet Functions |