Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Replaceable parameter in formula
I need to build a spreadsheet that will reference the same cell in about 300 workbooks (all Sheet1). I would like to build a list of the workbook names in the first column, then write a formula, that I could copy down, which would pick up the worksheet names. For example: _File_Name_ _Formula__ 8801.xls =[ ]Sheet1!$a$1 8802.xls 8803.xls How can I get the file name in the first column into the formula in the second column, without all of it converting to text? In effect, I'm trying to set up links with external files without opening each of the files and manually linking. Any ideas would be greatly appreciated! -- Laramie ------------------------------------------------------------------------ Laramie's Profile: http://www.excelforum.com/member.php...o&userid=24191 View this thread: http://www.excelforum.com/showthread...hreadid=378062 |
#2
|
|||
|
|||
The INDIRECT function can be used to generate the formulas. However, in theory, the INDIRECT function can only retrieve values from an open workbook. I once downloaded an add-in from somewhere that had an updated INDIRECT function that claimed to be able to retrieve data from open and closed workbooks, but I don't remember where I got it from. HTH -- MrShorty ------------------------------------------------------------------------ MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181 View this thread: http://www.excelforum.com/showthread...hreadid=378062 |
#3
|
|||
|
|||
try
if book names are in Column A starting row 3 =indirect("[" & A3 & "]Sheet1!A1) "Laramie" wrote: I need to build a spreadsheet that will reference the same cell in about 300 workbooks (all Sheet1). I would like to build a list of the workbook names in the first column, then write a formula, that I could copy down, which would pick up the worksheet names. For example: _File_Name_ _Formula__ 8801.xls =[ ]Sheet1!$a$1 8802.xls 8803.xls How can I get the file name in the first column into the formula in the second column, without all of it converting to text? In effect, I'm trying to set up links with external files without opening each of the files and manually linking. Any ideas would be greatly appreciated! -- Laramie ------------------------------------------------------------------------ Laramie's Profile: http://www.excelforum.com/member.php...o&userid=24191 View this thread: http://www.excelforum.com/showthread...hreadid=378062 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula or not? | Excel Worksheet Functions | |||
put formula results into a different cell if it is empty | Excel Worksheet Functions | |||
how do i write a formula and keep in in formula form, so it DOESN. | Excel Discussion (Misc queries) | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions |