Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default vlookup dynamic pathname

Hello,
I need a vlookup pathname to be found in a cell. Is this possible? for
instance:
=vlookup(a2, " value found in another cell " , 2,false). The folder, tab,
cells are always the same. The only varience is the workbook name.

I've looked on forums to try and help they all suggest other addins. I'm not
too keen to install them as it is a work computer.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default vlookup dynamic pathname

Use INDIRECT function
It basically lets you use it in VLOOKUP to point to a cell which can have a
formula to generate the filename...

"mdhodgson" wrote:

Hello,
I need a vlookup pathname to be found in a cell. Is this possible? for
instance:
=vlookup(a2, " value found in another cell " , 2,false). The folder, tab,
cells are always the same. The only varience is the workbook name.

I've looked on forums to try and help they all suggest other addins. I'm not
too keen to install them as it is a work computer.

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default vlookup dynamic pathname

Hello CHip,

Just wanted to thank you. I am a great fan of your website on Excel. It has
taught me great things and saved hundreds of hours...

Regards,
Vinamra

"Chip Pearson" wrote:

You can use the INDIRECT function. For example,

=VLOOKUP("a",INDIRECT("["&F3&"]Sheet1!A1:B10"),2,FALSE)

This will take the workbook name from cell F3. Note that INDIRECT requires
that the file named in F3 be open. INDIRECT does not work with closed files.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default vlookup dynamic pathname

I second that.
Your website is an excellent place to get help on excel.

Keep up the good work.
Mukesh





"Sheeloo" wrote:

Hello CHip,

Just wanted to thank you. I am a great fan of your website on Excel. It has
taught me great things and saved hundreds of hours...

Regards,
Vinamra

"Chip Pearson" wrote:

You can use the INDIRECT function. For example,

=VLOOKUP("a",INDIRECT("["&F3&"]Sheet1!A1:B10"),2,FALSE)

This will take the workbook name from cell F3. Note that INDIRECT requires
that the file named in F3 be open. INDIRECT does not work with closed files.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I display the pathname/address of a hyperlink? DMAnalyst Excel Worksheet Functions 8 August 10th 07 09:12 PM
How do use listed pathname to link values from another workbook? simplymidori[_2_] Excel Discussion (Misc queries) 1 July 19th 07 08:03 AM
Using a dynamic pathname in VLOOKUP Mike D[_2_] Excel Worksheet Functions 7 July 16th 07 10:35 PM
Using a variable to represent the pathname in a formula David Jones Excel Discussion (Misc queries) 5 November 24th 06 05:37 AM
Full Pathname in Titlebar Greg Setting up and Configuration of Excel 3 March 25th 05 02:49 AM


All times are GMT +1. The time now is 04:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"