Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Cell reference based on variable text string
I am trying to make the following formula change based on values
(text) in other cells: ='M:\RAPP\[ATL08.xls]200803'!$G99 In Cell A1 I have ATL, and in cell A2 I have 200803. When I change in cell A1 to TOL and cell A2 to 200804, I want the formula to be: ='M:\RAPP\[TOL08.xls]200804'!$G99 Tried: ='M:\RAPP\[&A1&08.xls]&A2&'!$G99 but does not work. Also can not get Indirect to work, and even if I did, would like to find something that does not require the external workbook to be open. Anyone have ideas? Brgds, Harald |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Cell reference based on variable text string
The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed. Laurent Longre has an addin (morefunc.xll) at: http://xcell05.free.fr/ That includes =indirect.ext() that may help you. wrote: I am trying to make the following formula change based on values (text) in other cells: ='M:\RAPP\[ATL08.xls]200803'!$G99 In Cell A1 I have ATL, and in cell A2 I have 200803. When I change in cell A1 to TOL and cell A2 to 200804, I want the formula to be: ='M:\RAPP\[TOL08.xls]200804'!$G99 Tried: ='M:\RAPP\[&A1&08.xls]&A2&'!$G99 but does not work. Also can not get Indirect to work, and even if I did, would like to find something that does not require the external workbook to be open. Anyone have ideas? Brgds, Harald -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I convert text string into a cell reference | Excel Discussion (Misc queries) | |||
Link or Cell Reference Within Text String | Excel Worksheet Functions | |||
find a variable text string | Excel Discussion (Misc queries) | |||
dynamic cell reference within a text string | Excel Worksheet Functions | |||
How to get a cell reference of by searchig a text string? | Excel Discussion (Misc queries) |