Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Vlookup - Update Path

If that sending file is not open, then =indirect() returns an error.

(saved from a previous post)

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.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.



Sam Wilson wrote:

You can use =INDIRECT()

Look at the help for this function, but as an example if I had a function

=VLOOKUP(A1,B1:C10,2,false) and the string "B1:C10" in cell D1 I could use:

=VLOOKUP(A1,INDIRECT(D1),2,false) instead.

You will need something like

=VLOOKUP(A1,INDIRECT("\Factory Figures\Material\Daily Yield\YieldWK" & X1 &
"\" & Y1),2,false)

where X1 is your 20 or 21, and Y1 your 24AUG etc.

Sam

"Clyde Dickson" wrote:

I have a spreadsheet that looks up certain daily production figures. I would
like to update the path or create a path linked to certain cells. This is the
path \Factory Figures\Material\Daily Yield\YieldWK20\24AUG
How can I easily change THE 2 VARIABLES YIELDWK20 to 21 after 7 Days and
24AUG to 25AUG ?


--

Dave Peterson
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
my vlookup path changes when I open the file AliGoLightly Excel Worksheet Functions 1 February 23rd 09 09:52 PM
Vlookup using variable path name for range value Jeff Lowenstein Excel Worksheet Functions 1 February 9th 06 01:13 AM
hyperlink navigation path path wrong in Excel 2003 CE Admin Excel Discussion (Misc queries) 5 January 7th 06 07:47 PM
auto file path update when excel sheet moved to another directory. GNSBoy Excel Discussion (Misc queries) 1 August 31st 05 07:46 PM
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM


All times are GMT +1. The time now is 11:07 PM.

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"