Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Vlookup referring to External Workbook or Spreadsheet
I'm trying to use a vlookup formula and refer to a range name located in an
external spreadsheet but it is not working. Formula is as follows: =IF(ISERROR(VLOOKUP($B13,'S:\Reporting\Monthly\[AVNWcategories.xls]fata',8,FALSE)),"",VLOOKUP($B13,'S:\Reporting\Mont hly\[AVNWcategories.xls]fata',8,FALSE)) The formula is 1st checking to see if the text in cell B13 is within the "fata" range in the external spreadsheet. If the text in B13 is not found, there would be an error. If there is an error, my IF statement should return a blank cell indicated by the double quotes (""). If the formula finds the text in cell B13, the value should be picked up from column 8 within the "fata" range. Somehow this formula is not valid but I'm not sure where? I feel very stupid right now so any help would be great. Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Vlookup referring to External Workbook or Spreadsheet
Just worked on this today. You need a ! after the ' around the workbook name
and before the range name. 'workbook.xls'!rangename should do it. HTH Jim "cgsteel" wrote: I'm trying to use a vlookup formula and refer to a range name located in an external spreadsheet but it is not working. Formula is as follows: =IF(ISERROR(VLOOKUP($B13,'S:\Reporting\Monthly\[AVNWcategories.xls]fata',8,FALSE)),"",VLOOKUP($B13,'S:\Reporting\Mont hly\[AVNWcategories.xls]fata',8,FALSE)) The formula is 1st checking to see if the text in cell B13 is within the "fata" range in the external spreadsheet. If the text in B13 is not found, there would be an error. If there is an error, my IF statement should return a blank cell indicated by the double quotes (""). If the formula finds the text in cell B13, the value should be picked up from column 8 within the "fata" range. Somehow this formula is not valid but I'm not sure where? I feel very stupid right now so any help would be great. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
referring to previous worksheet in workbook | Excel Worksheet Functions | |||
Referring to external workbook in Data Validation | Excel Discussion (Misc queries) | |||
VLookup to an external Workbook | New Users to Excel | |||
Referring to function in another workbook | Excel Worksheet Functions | |||
Pivot Tables referring to external data query | Excel Discussion (Misc queries) |