ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   VLOOKUP tweaks needed please! (https://www.excelbanter.com/excel-discussion-misc-queries/118565-vlookup-tweaks-needed-please.html)

Meltad

VLOOKUP tweaks needed please!
 
I need to correct the VLOOKUP formula below, its not quite right with the
named range. The workbook is called 'mel test' on sheet 1 and contains a
named range 'name'...

=VLOOKUP($D2,[G\[mel test.xls]name",2,FALSE)

Don Guillett

VLOOKUP tweaks needed please!
 

I just tested this
=VLOOKUP(3,'20061101.xls'!myrange,2,0)

If no spaces in the name the ' ' should not be necessary
--
Don Guillett
SalesAid Software

"Meltad" wrote in message
...
I need to correct the VLOOKUP formula below, its not quite right with the
named range. The workbook is called 'mel test' on sheet 1 and contains a
named range 'name'...

=VLOOKUP($D2,[G\[mel test.xls]name",2,FALSE)




bigwheel

VLOOKUP tweaks needed please!
 
See if =VLOOKUP($D2,'G:\mel test.xls'!name,2,FALSE) will work.

"Meltad" wrote:

I need to correct the VLOOKUP formula below, its not quite right with the
named range. The workbook is called 'mel test' on sheet 1 and contains a
named range 'name'...

=VLOOKUP($D2,[G\[mel test.xls]name",2,FALSE)


Meltad

VLOOKUP tweaks needed please!
 
Thanks - this is much better! :-)

"bigwheel" wrote:

See if =VLOOKUP($D2,'G:\mel test.xls'!name,2,FALSE) will work.

"Meltad" wrote:

I need to correct the VLOOKUP formula below, its not quite right with the
named range. The workbook is called 'mel test' on sheet 1 and contains a
named range 'name'...

=VLOOKUP($D2,[G\[mel test.xls]name",2,FALSE)


Dave Peterson

VLOOKUP tweaks needed please!
 
I'd open that other workbook and build the formula by typing:

=vlookup($d2,
then use the mouse to point at that range
then finish up with the ,2,false)

Excel will get the syntax right.

Meltad wrote:

I need to correct the VLOOKUP formula below, its not quite right with the
named range. The workbook is called 'mel test' on sheet 1 and contains a
named range 'name'...

=VLOOKUP($D2,[G\[mel test.xls]name",2,FALSE)


--

Dave Peterson


All times are GMT +1. The time now is 02:34 AM.

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