Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a VLOOKUP in workbook 'Report' which looks for data in workbook 'Data'.
both workbooks are stored in a common network drive \\office\reports\ the VLOOKUP is written to look in the network drive: =vlookup(a2,'\\office\reports\[data.xlsx]sheet1'!a:f,6,false) Often, when one of my team leaves the file, the VLOOKUP changes to =vlookup(a2,'g:\[data.xlsx]sheet1'!a:f,6,false) How do I stop it changing from the Network path to the mapped drive? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I don't know about change the mapping instruction on a machine, you might talk to your IT people. If both of the files are open then you can use INDIRECT to take care of your problem: (but indirect returns an error in Excel, if the target file is closed) =vlookup(a2,INDIRECT("'\\office\reports\[data.xlsx]sheet1'!a:f"),6,false) might do it. -- If this helps, please click the Yes button Cheers, Shane Devenshire "AliGoLightly" wrote: I have a VLOOKUP in workbook 'Report' which looks for data in workbook 'Data'. both workbooks are stored in a common network drive \\office\reports\ the VLOOKUP is written to look in the network drive: =vlookup(a2,'\\office\reports\[data.xlsx]sheet1'!a:f,6,false) Often, when one of my team leaves the file, the VLOOKUP changes to =vlookup(a2,'g:\[data.xlsx]sheet1'!a:f,6,false) How do I stop it changing from the Network path to the mapped drive? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to find file-path of open workbook? | Excel Discussion (Misc queries) | |||
Variabilize File Path or File Name in SumProduct (and Vlookup too) | Excel Worksheet Functions | |||
Formula too long - new file path is shorter than old file path - Excel 2003 | Excel Worksheet Functions | |||
Workbooks.Open with out full path help needed. | Excel Discussion (Misc queries) | |||
Excel updating from XML file - file path specific? | Excel Discussion (Misc queries) |