+ Reply to Thread
Results 1 to 9 of 9

extract the difference from two name lists

  1. #1
    Registered User
    Join Date
    11-17-2011
    Location
    lorain, ohio
    MS-Off Ver
    Excel 2003
    Posts
    6

    extract the difference from two name lists

    I need to compare two spread sheets and come up with the names that are not on both. any ideas ?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: extract the difference from two name lists

    use a helper formula like:

    =Isnumber(match(a1,B:B,0))

    where A1 is to be searched in column B... if a match occurs result is TRUE else it is FALSE

    Then you can filter for the FALSE results and copy/paste elsewhere
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: extract the difference from two name lists

    Hi
    Take a look to the attach file.

    Is this what are you looking for?
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    11-17-2011
    Location
    lorain, ohio
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: extract the difference from two name lists

    would that work for two different spread sheets ? and would i use that syntax exactly ? can i output it to a excel file ?

  5. #5
    Registered User
    Join Date
    11-17-2011
    Location
    lorain, ohio
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: extract the difference from two name lists

    yes that looks good, can single click sort with that ?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: extract the difference from two name lists

    Sorry, but because English is not my first language, I did not understand your question.

    Can you say it with other words?

  7. #7
    Registered User
    Join Date
    11-17-2011
    Location
    lorain, ohio
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: extract the difference from two name lists

    what formula did you use for that

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: extract the difference from two name lists

    If you look in Sheet 2, column B, you will see the formula(click on a cell there)

    In any case the formula is:

    Please Login or Register  to view this content.
    Is it OK?

  9. #9
    Registered User
    Join Date
    07-14-2011
    Location
    Ha Noi, Viet Nam
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: extract the difference from two name lists

    In cell B2 of sheet 2 enter this formula :
    PHP Code: 
    =LOOKUP(REPT("z",255),CHOOSE({1,2},"",INDEX($A$1:$A$7,MATCH(1,(COUNTIF($B$1:B1,$A$1:$A$7)=0)*(COUNTIF(Sheet1!$A$1:$A$7,Sheet2!$A$1:$A$7)=0),0)))) 
    End by Crtl + shift + Enter
    Plz, See attach file - thanks
    Attached Files Attached Files
    Last edited by sunflowers; 11-18-2011 at 01:35 AM. Reason: edit Funtion word --- Formula

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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