+ Reply to Thread
Results 1 to 6 of 6

Excluding from first list names in a 2nd list

  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2013
    Posts
    55

    Excluding from first list names in a 2nd list

    Say I have a list of names in 2 lists, one list has more names than the other. What's a good formula for EXCLUDING from the list with more names any names that are also in the smaller list?

    This is a simple example, issue Im dealing with has thousands of names. Thanks! Could really use a solution for this...

    Dom

    OK...uploadeer is not working so cant attach spradsheet...best i can do is this...


    List 1
    Dom
    Joe
    Terry

    List 2
    Joe

    OUTPUT
    Dom
    Terry

    Any thoughts? Could really use some help here...and a working upload tool would be ncie too,,,
    Last edited by dsciola; 07-29-2013 at 11:03 PM.

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Excluding from first list names in a 2nd list

    Simple excel formula,
    List1 @ Column A; List2 @ Column B

    Please Login or Register  to view this content.
    drag down, if found it will show the name,else will give you #N/A. Filter all except #N/A, then delete the repeat name.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Excluding from first list names in a 2nd list

    hi dsciola. another alternative is this array formula. assuming data in A2:B10, then in C2:
    =IFERROR(INDEX($A$2:$A$10,SMALL(IF(COUNTIF($A$2:$A$10,$B$2:$B$10)=0,ROW($A$2:$A$10)),ROWS(D$2:D2))-ROW($A$2)+1)&"","")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you might get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Excluding from first list names in a 2nd list

    Another solutions bro :

    =IFERROR(INDEX($A$2:$A$4,SMALL(IF(ISNA(MATCH($A$2:$A$4,$B$2:$B$4,0)),ROW($A$2:$A$4)-ROW($A$2)+1),ROW(1:1))),"")

    just see the files

    Azumi
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-24-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2013
    Posts
    55

    Re: Excluding from first list names in a 2nd list

    Thanks wenqq3, works great!

    Dom

  6. #6
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Excluding from first list names in a 2nd list

    Thanks for feedback :D
    If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Getting a list of Sheet Names by excluding certain Sheet Names instantenously..
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-09-2012, 12:16 PM
  2. [SOLVED] find names on list 1 in list 2. list 1 4000 names list 2 400 name
    By Ed in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  3. [SOLVED] find names on list 1 in list 2. list 1 4000 names list 2 400 name
    By Ed in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  4. find names on list 1 in list 2. list 1 4000 names list 2 400 name
    By Ed in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] find names on list 1 in list 2. list 1 4000 names list 2 400 name
    By Ed in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1