LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 293
Default Formula To Use A Dynamic Named Ranges With VLOOKUP On Different Workbooks

Greetings,

I have two workbooks (wb1 and wb2). I have a named range on wb2
called MyList. It is 71 columns by 3000 rows on a sheet called
CustList. The dynamic named range is defined in the
InsertNameDefine window with this code:

=OFFSET(CustList!$A$2,0,0,COUNTA(CustList!$A:$BS), 71)

The formula I need is to get the value in the 2nd column of MyList on
wb2 when the value in $AI$2 on wb1 is the same as the entry in the 1st
column of MyList on wb2.

I can get this to work if MyList is in the same workbook as the
formula. I am trying to get rid of individual customer lists in favor
of a centralized list.

This is the code I use for getting the value from a customer sheet on
wb1:

=IF(AI2="","",VLOOKUP(AI2,MyList,2,FALSE))

This works until I tried to modify it like this:

=IF(AI2="","",VLOOKUP(AI2,wb2.xls!MyList,2,FALSE))

I really need to get the data from wb2 not wb1.

Any one have any ideas as to how to accomplish this?

TIA

-Minitman
 
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
can VLOOKUP use dynamic named ranges? Dave F Excel Discussion (Misc queries) 2 November 23rd 06 02:34 PM
Dynamic Named Ranges SJT Excel Discussion (Misc queries) 4 June 9th 06 11:13 PM
Dynamic Named Ranges clane Excel Discussion (Misc queries) 5 October 13th 05 03:26 PM
Help to adapt Formula syntax to work with Dynamic Named Ranges Sam via OfficeKB.com Excel Worksheet Functions 13 April 29th 05 12:36 AM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM


All times are GMT +1. The time now is 10:30 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"