Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default cross referencing

Hi guys,
what would be the best way to cross reference a list of names in workbook1
with a huge list of names in workbook2. Ideally, if a name from w/b1 isn't
found in w/b2, then "Y" to appear next to the name in w/b1.
Any ideas?
--
tia
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default cross referencing

Use Vlookup.

With both workbooks open, in your target cell, type:

=Vlookup(

Now click the cell in wb1 with the name you want to look up.
Type a comma
Click on the Range in wb2 that has the names.
Press F4
Then finish off with: ,1,false)

The advantage of this method is Excel will fill in the cell addresses for
you. You don't risk typing errors.

Now you need to make the change to support what happens when Excel can't
find the entry in wb2. To do this, change your formula to something like:

=IF(ISNA(yourformula),"Y",yourformula)

Copy down as needed.

Regards,
Fred.

"JockW" wrote in message
...
Hi guys,
what would be the best way to cross reference a list of names in workbook1
with a huge list of names in workbook2. Ideally, if a name from w/b1 isn't
found in w/b2, then "Y" to appear next to the name in w/b1.
Any ideas?
--
tia


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default cross referencing

In workbook1 names on sheet1 in the range A1:An

Workbook2 names on sheet1 in the range A1:A20

Enter this formula on Sheet1 workbook1 cell B1:

=IF(ISNA(MATCH(A1,'[workbook1.xls]Sheet1'!A$1:A$20,0)),"Y","")

Copy down as needed

--
Biff
Microsoft Excel MVP


"JockW" wrote in message
...
Hi guys,
what would be the best way to cross reference a list of names in workbook1
with a huge list of names in workbook2. Ideally, if a name from w/b1 isn't
found in w/b2, then "Y" to appear next to the name in w/b1.
Any ideas?
--
tia



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default cross referencing

Thanks to both
--
tia


"T. Valko" wrote:

In workbook1 names on sheet1 in the range A1:An

Workbook2 names on sheet1 in the range A1:A20

Enter this formula on Sheet1 workbook1 cell B1:

=IF(ISNA(MATCH(A1,'[workbook1.xls]Sheet1'!A$1:A$20,0)),"Y","")

Copy down as needed

--
Biff
Microsoft Excel MVP


"JockW" wrote in message
...
Hi guys,
what would be the best way to cross reference a list of names in workbook1
with a huge list of names in workbook2. Ideally, if a name from w/b1 isn't
found in w/b2, then "Y" to appear next to the name in w/b1.
Any ideas?
--
tia




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default cross referencing

You're welcome!

--
Biff
Microsoft Excel MVP


"JockW" wrote in message
...
Thanks to both
--
tia


"T. Valko" wrote:

In workbook1 names on sheet1 in the range A1:An

Workbook2 names on sheet1 in the range A1:A20

Enter this formula on Sheet1 workbook1 cell B1:

=IF(ISNA(MATCH(A1,'[workbook1.xls]Sheet1'!A$1:A$20,0)),"Y","")

Copy down as needed

--
Biff
Microsoft Excel MVP


"JockW" wrote in message
...
Hi guys,
what would be the best way to cross reference a list of names in
workbook1
with a huge list of names in workbook2. Ideally, if a name from w/b1
isn't
found in w/b2, then "Y" to appear next to the name in w/b1.
Any ideas?
--
tia






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
Cross referencing columns fgwiii[_2_] Excel Worksheet Functions 1 April 1st 08 09:31 PM
Cross referencing Mervyn Edwards Excel Worksheet Functions 5 November 29th 07 07:01 PM
Cross Referencing Saxman Excel Discussion (Misc queries) 0 October 26th 06 04:58 PM
Cross referencing sb1920alk Excel Worksheet Functions 1 October 4th 06 02:22 AM
cross referencing Phil Excel Worksheet Functions 6 August 2nd 05 06:07 PM


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