Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Two lists and how do I extract contents in one from the other?

I have two e-mail lists in excel, A and B. List A is a small list and List B
is much longer and includes list A. How can I exctract the e-mails from list
B that are in list A? A short version is: how do I do B minus A? I use Office
2003.
/Anna
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Two lists and how do I extract contents in one from the other?

.. how do I do B minus A?
Here's one way that should deliver the expected results
Assume source data running in row2 down
In C2: =IF(B2="","",IF(COUNTIF(A:A,B2),"",ROW()))
In D2: =IF(ROWS($1:1)COUNT(C:C),"",INDEX(B:B,SMALL(C:C,R OWS($1:1))))
Copy C2:D2 down to the last row of data in col B. Hide away/minimize col C
Col D will return the required results all neatly packed at the top
Success? hit the YES below
--
Max
Singapore
---
"Anna De Geer" wrote:
I have two e-mail lists in excel, A and B. List A is a small list and List B
is much longer and includes list A. How can I extract the e-mails from list
B that are in list A? A short version is: how do I do B minus A? I use Office
2003.
/Anna

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
Extract Part of a Cells Contents Q Seanie Excel Worksheet Functions 6 November 15th 08 06:21 PM
read contents of col1 and extract similars Bob Excel Discussion (Misc queries) 3 November 5th 07 11:24 PM
read contents of col 1 and extract similar strings Bob Excel Discussion (Misc queries) 5 November 5th 07 11:21 PM
compare lists, extract new values trav Excel Discussion (Misc queries) 1 May 16th 06 04:22 PM
Extract Unique Records from two lists MarkN Excel Worksheet Functions 3 November 11th 05 01:07 PM


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