Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Trying to find Matches and Give a Result

I want to compare a cell in Sheet1, columnA with all cells in Sheet2, column
A. If a match is found, place the information found in column B of the
match(Sheet1) to colum B of sheet2. If no match is found, leave blank.

Please Help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Trying to find Matches and Give a Result

Try in B2:

=ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP(A2, Sheet2!A:B,2,0))

Copy down.

HTH


"cheryl" wrote:

I want to compare a cell in Sheet1, columnA with all cells in Sheet2, column
A. If a match is found, place the information found in column B of the
match(Sheet1) to colum B of sheet2. If no match is found, leave blank.

Please Help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Trying to find Matches and Give a Result

Ths looks easier than the -IF(ISERROR... formula that I started off with
however I am getting a message that this formula contains errors too.

"Toppers" wrote:

Try in B2:

=ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP(A2, Sheet2!A:B,2,0))

Copy down.

HTH


"cheryl" wrote:

I want to compare a cell in Sheet1, columnA with all cells in Sheet2, column
A. If a match is found, place the information found in column B of the
match(Sheet1) to colum B of sheet2. If no match is found, leave blank.

Please Help.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Trying to find Matches and Give a Result

=IF(ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP( A2,Sheet2!A:B,2,0))

sorry ...typo

"cheryl" wrote:

Ths looks easier than the -IF(ISERROR... formula that I started off with
however I am getting a message that this formula contains errors too.

"Toppers" wrote:

Try in B2:

=ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP(A2, Sheet2!A:B,2,0))

Copy down.

HTH


"cheryl" wrote:

I want to compare a cell in Sheet1, columnA with all cells in Sheet2, column
A. If a match is found, place the information found in column B of the
match(Sheet1) to colum B of sheet2. If no match is found, leave blank.

Please Help.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Trying to find Matches and Give a Result

Beautiful- thank you.

"Toppers" wrote:

=IF(ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP( A2,Sheet2!A:B,2,0))

sorry ...typo

"cheryl" wrote:

Ths looks easier than the -IF(ISERROR... formula that I started off with
however I am getting a message that this formula contains errors too.

"Toppers" wrote:

Try in B2:

=ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP(A2, Sheet2!A:B,2,0))

Copy down.

HTH


"cheryl" wrote:

I want to compare a cell in Sheet1, columnA with all cells in Sheet2, column
A. If a match is found, place the information found in column B of the
match(Sheet1) to colum B of sheet2. If no match is found, leave blank.

Please Help.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Trying to find Matches and Give a Result

Works Great! Thank you.

"Toppers" wrote:

=IF(ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP( A2,Sheet2!A:B,2,0))

sorry ...typo

"cheryl" wrote:

Ths looks easier than the -IF(ISERROR... formula that I started off with
however I am getting a message that this formula contains errors too.

"Toppers" wrote:

Try in B2:

=ISNA(VLOOKUP(A2,Sheet2!$A:$B,2,0)),"",VLOOKUP(A2, Sheet2!A:B,2,0))

Copy down.

HTH


"cheryl" wrote:

I want to compare a cell in Sheet1, columnA with all cells in Sheet2, column
A. If a match is found, place the information found in column B of the
match(Sheet1) to colum B of sheet2. If no match is found, leave blank.

Please Help.

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
Using the If or lookup statement to find matches RocketMan Excel Worksheet Functions 3 January 9th 07 05:50 PM
Provide a match from 2 cells to give a result from another leefarrell Excel Worksheet Functions 4 August 9th 06 01:31 PM
How do I get a cell to give a result based on the month we are in? SHBmgr Excel Worksheet Functions 3 July 17th 06 10:23 PM
how to find all matches in an array Greg Excel Discussion (Misc queries) 2 August 31st 05 09:04 PM
entering a26-02 into a cell give strange result Anthony Excel Discussion (Misc queries) 1 January 27th 05 10:34 PM


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