LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default compare lists

This was most helpful and simple to do. Most of the other aswers are for
very seasoned excel users and difficult to understand. This worked for me!
Thanks Pete

"Pete" wrote:

Assuming you have one list in column A (the longer one), and the other
list in column B (the shorter one), both starting on row 2 with a
header row on row 1, enter this formula in cell C2:

=IF(ISNA(MATCH(B2,A$2:A$250,0)),"",B2)

This assumes the first list in column A occupies A2 to A250 - adjust to
suit. Copy this formula down for as many entries as there are in column
B (double-click the fill handle). This will list the common entries and
will return a blank if there is no match - you could fix the values
with paste special, then sort the items in this list so that the blanks
drop to the bottom.

Hope this helps.

Pete


 
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
COMPARE 2 LISTS AND SEE COMBINED RESULTS BY CATEGORY Tony Excel Discussion (Misc queries) 0 December 27th 05 11:00 PM
Compare two lists? s_tyrone Excel Discussion (Misc queries) 1 November 30th 05 02:47 PM
Excel - need a function to compare lists JerryMatson Excel Worksheet Functions 1 November 24th 05 04:09 PM
compare two lists rob p Excel Discussion (Misc queries) 3 October 10th 05 07:01 PM
How do I compare lists and eliminate duplictates kateshere Excel Discussion (Misc queries) 2 July 11th 05 08:39 PM


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