#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default If/Then

I have two sets of numbers I would like to check against eachother for matches.

I would like to paste a group of numbers and have a formula tell me if any
of the numbers match the master list.
Master List Test list desired outcome
1 2 (match) or YES
2 456 (match)
3 7 (no match) or NO
456 9 (no match)
54 53 (no match)
34 65 ...etc
32 3
45 98
36 57
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default If/Then

With your two lists in columns A & B , then in column C

C2: =IF(COUNTIF($A$2:$A$100,B2),"Matched","No match")

copy down to end of column B list

Change A range as required

"Thank you, Heath" wrote:

I have two sets of numbers I would like to check against eachother for matches.

I would like to paste a group of numbers and have a formula tell me if any
of the numbers match the master list.
Master List Test list desired outcome
1 2 (match) or YES
2 456 (match)
3 7 (no match) or NO
456 9 (no match)
54 53 (no match)
34 65 ...etc
32 3
45 98
36 57

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



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