Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to reference data in an external workbook and would like to save
some typing. Each row has the same references, but to a different file. I would like to just type the file name in the first cell and have each of the following cells use that cell to get the file name and perform the function. For instance: ='[external_file.xls]Enterprise Architecture'!$B$3 But the formula would contain some function that would get external_file.xls from the first cell. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
You can use INDIRECT function to create a link, of-course, but there is a drawback - INDIRECT needs source file to be opened - otherwise it returns an error. When addressing by cell value is needed only for designing purpouses, then my advice is to use this alternative technique: Into some column, p.e. A, enter workbook names. In another column, enter the formula like this: ="='[" & A1 & "]Sheet1'!A1" and copy it down Select the range with formulas. Copy, and then PasteSpecialValues. Leaving the range selected, replace all "=" with "=". It's done! -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "TJW JR" <TJW wrote in message ... I am trying to reference data in an external workbook and would like to save some typing. Each row has the same references, but to a different file. I would like to just type the file name in the first cell and have each of the following cells use that cell to get the file name and perform the function. For instance: ='[external_file.xls]Enterprise Architecture'!$B$3 But the formula would contain some function that would get external_file.xls from the first cell. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming your file name is in A1
the formula =MID(A1,FIND("[",A1)+1,FIND("]",A1)-1-FIND("[",A1)) will bring back whatever is between [ and ]. Gizmo63 "Ron de Bruin" wrote: Try this one http://www.rondebruin.nl/summary2.htm -- Regards Ron de Bruin http://www.rondebruin.nl "TJW JR" <TJW wrote in message ... I am trying to reference data in an external workbook and would like to save some typing. Each row has the same references, but to a different file. I would like to just type the file name in the first cell and have each of the following cells use that cell to get the file name and perform the function. For instance: ='[external_file.xls]Enterprise Architecture'!$B$3 But the formula would contain some function that would get external_file.xls from the first cell. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Links picking up values from an older version of linked file | Links and Linking in Excel | |||
Reference a cell on another worksheet in the same spreadsheet file | Excel Discussion (Misc queries) | |||
Locating a file in excel with a partial file name. | Excel Discussion (Misc queries) | |||
Locating a file in excel with a partial file name. | Excel Discussion (Misc queries) | |||
Automatically change tab reference | Excel Discussion (Misc queries) |