#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Match or Lookup

how do I lookup duplicate numbers on 2 worksheets and if it is a match put a
result of yes?

For example

Worksheet A Worksheet B
Column B Column C Colum D
12 25 YES
16
17
25
1
3
4

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Match or Lookup

in Worksheet B column D:

=if(Countif(sheet1!B2:B100,C2)0,"YES","")


"julz" wrote:

how do I lookup duplicate numbers on 2 worksheets and if it is a match put a
result of yes?

For example

Worksheet A Worksheet B
Column B Column C Colum D
12 25 YES
16
17
25
1
3
4

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Match or Lookup

Sounds like you'll want to be resourceful and use vlookup. Insert a column
in your comparison worksheet that lists "yes"...and return the number of that
column so that it appears when there's a hit.

"Toppers" wrote:

in Worksheet B column D:

=if(Countif(sheet1!B2:B100,C2)0,"YES","")


"julz" wrote:

how do I lookup duplicate numbers on 2 worksheets and if it is a match put a
result of yes?

For example

Worksheet A Worksheet B
Column B Column C Colum D
12 25 YES
16
17
25
1
3
4

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
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
Match Index Lookup Kevin Excel Discussion (Misc queries) 1 March 17th 06 04:40 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Complex LookUp / Match Problem ?? carl Excel Worksheet Functions 2 May 2nd 05 08:53 PM
Lookup then Match and insert value from next column Tenacity Excel Worksheet Functions 3 March 4th 05 02:49 AM


All times are GMT +1. The time now is 07:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"