ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Indirect vlookup problem (https://www.excelbanter.com/excel-discussion-misc-queries/83967-indirect-vlookup-problem.html)

Romanian37

Indirect vlookup problem
 

Why does
=VLOOKUP($T7,'G:\Irevna\Oils\Models\WIP\[BP WIP.xls]KADS Upload
Template 2'!$H$11:$S$100,Z$2,0) work but
=VLOOKUP($T7,INDIRECT(GD7),Z$2,0) not work

(where GD7 = G:\Irevna\Oils\Models\WIP\[BP WIP.xls]KADS Upload Template
2'!$H$11:$S$100)

Thanks for any help...

Will


--
Romanian37
------------------------------------------------------------------------
Romanian37's Profile: http://www.excelforum.com/member.php...fo&userid=9759
View this thread: http://www.excelforum.com/showthread...hreadid=534163


[email protected]

Indirect vlookup problem
 
Hi Will,

indirect returns the reference only if referenced workbook is open.

See help on indirect function for more details.

Regards,

Ivan


Bob Phillips

Indirect vlookup problem
 
Because INDIRECT does not work on closed files. See
http://makeashorterlink.com/?F2993260A for an alternative solution.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Romanian37" wrote
in message ...

Why does
=VLOOKUP($T7,'G:\Irevna\Oils\Models\WIP\[BP WIP.xls]KADS Upload
Template 2'!$H$11:$S$100,Z$2,0) work but
=VLOOKUP($T7,INDIRECT(GD7),Z$2,0) not work

(where GD7 = G:\Irevna\Oils\Models\WIP\[BP WIP.xls]KADS Upload Template
2'!$H$11:$S$100)

Thanks for any help...

Will


--
Romanian37
------------------------------------------------------------------------
Romanian37's Profile:

http://www.excelforum.com/member.php...fo&userid=9759
View this thread: http://www.excelforum.com/showthread...hreadid=534163




Romanian37

Indirect vlookup problem
 

thanks for the help (and quick response)


--
Romanian37
------------------------------------------------------------------------
Romanian37's Profile: http://www.excelforum.com/member.php...fo&userid=9759
View this thread: http://www.excelforum.com/showthread...hreadid=534163



All times are GMT +1. The time now is 05:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com