Ekim said:It would be useful if you posted your formula. In the meantime, here are a few general comments:
INDIRECT.EXT does not work with
• PC’s running Windows Me (Millennium version)
• defined names in closed workbooks.
• Range arguments (it can only return single values)
References:
http://makeashorterlink.com/?O2E512068
http://makeashorterlink.com/?H21621068
In addition, you cannot copy a formula containing INDIRECT.EXT by dragging the formula down/across a range, unless you make a slight adjustment to the syntax e.g. you wish to get data from say cells A1, A2 and A3 from a closed file named Test1.xls, located at C:\Temp3:
B4:
=INDIRECT.EXT("'C:\Temp3\[Test1.xls]Sheet3'!A"&C4)
drag the formula down.
C4 contains 1, C5 contains 2 and C6 contains 3.
Some alternatives to INDIRECT.EXT at http://makeashorterlink.com/?T1D723297 .
The reference also includes an example on how to use INDIRECT.EXT in conjunction with the Sumproduct function (not tested).
Other alternatives here:http://www.mrexcel.com/board2/viewtopic.php?t=67212
Nimrod’s macro works very well.
Other notes:
If you just want to link to a closed workbook/worksheet, you can simply use:
='C:\Temp3\[Test1.xls]sheet1'!A1
If you are doing lookups, Vlookup/HLookup and Index/Match work with closed workbooks (you do not have to use INDIRECT.EXT).
Harlan Grove’s “Pull” function works very well (I use this in a few applications): see Jon's post above.
Warning:
Do not try to drag Mr. Grove’s UDF formula down or across the page. On my PC, Excel “freezes” and requires Ctrl-Alt-Delete to get out of it. Similarly, in one application I have a validation dropdown that houses file names of closed workbooks. If I selected a file name that does not exist, the UDF went into an endless loop. In this case, only a hard re-boot worked (Ctrl-Alt-Delete failed).
Regards,
Mike
Ekim said:John,
Using Excel XP
Is your file named “01 Inv.xls” (note the space) or “01Inv.xls”?
Your formula works for me when the space before “Inv” is eliminated. For testing purposes, my path is “C:\Temp3\. The file is closed.
=INDIRECT.EXT("'C:\Temp3\["&A2&"Inv.xls]entry sheet'!C6")
In your formula, there is a space in front of “Inv”
=Indirect.ext("'c:\my documents\my excel\[" & A2 & " Inv.xls]entry sheet'!C6")
The workbook name is "01 Inv.xls". There is a space between 01 and Inv.
I'm using Excel 97.
I upgraded to Windows XP Home Edition today and now just plain INDIRECT
doesn't work when the workbook is open and it did under Windows ME.
INDIRECT.EXT still doesn't work
I feel like I'm going backwards. I really don't like XP and would like to go back to ME but I guess I'll stick with it.
I'm thinking of trying ACCESS and writing my application from scratch and forget about EXCEL.
Any advise???
Accordingly, the formula resolves to “01 Inv.xls” not “01Inv.xls”.
If the space is not the problem, then it appears that your version of Excel will not work with INDIRECT.EXT.
I assume that you have thoroughly checked that your path description is correct, that a worksheet named “entry sheet” exists in 01Inv.xls etc. Note that “ entry sheet” and “entry sheet ” (note the leading and trailing space) is not the same as “entry sheet” (no spaces).
Have you tried Harlan Grove’s “Pull” function?
Regards,
Mike
Ekim said:John,
Using Excel XP
Is your file named “01 Inv.xls” (note the space) or “01Inv.xls”?
Your formula works for me when the space before “Inv” is eliminated. For testing purposes, my path is “C:\Temp3\. The file is closed.
=INDIRECT.EXT("'C:\Temp3\["&A2&"Inv.xls]entry sheet'!C6")
In your formula, there is a space in front of “Inv”
=Indirect.ext("'c:\my documents\my excel\[" & A2 & " Inv.xls]entry sheet'!C6")
Accordingly, the formula resolves to “01 Inv.xls” not “01Inv.xls”.
If the space is not the problem, then it appears that your version of Excel will not work with INDIRECT.EXT.
I assume that you have thoroughly checked that your path description is correct, that a worksheet named “entry sheet” exists in 01Inv.xls etc. Note that “ entry sheet” and “entry sheet ” (note the leading and trailing space) is not the same as “entry sheet” (no spaces).
Have you tried Harlan Grove’s “Pull” function?
Regards,
Mike