+ Reply to Thread
Results 1 to 6 of 6

Comparing data from 2 colums

Hybrid View

DisposableHero Comparing data from 2 colums 01-15-2008, 05:53 PM
VBA Noob Link should help ... 01-15-2008, 06:00 PM
stevekirk hi, try this put this... 01-15-2008, 06:07 PM
DisposableHero Can you elaborate on this a... 01-16-2008, 11:19 AM
VBA Noob It's all there on the link it... 01-16-2008, 11:21 AM
DisposableHero You can also use a formula to... 01-16-2008, 11:21 AM
  1. #1
    Registered User
    Join Date
    11-08-2007
    Posts
    6

    Comparing data from 2 colums

    I have a worksheet with a list of names in column A and a list of names in column B. Most of the names are the same, but there are some additional names in column B.

    What I need to do, is to identify/isolate the names that are in Column B, but not column A.

    How can I do this?

    Thanks.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Link should help

    http://www.cpearson.com/excel/ListFunctions.aspx

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    try this

    put this in the conditional format in column a and b and paste down



    =COUNTIF($A$1:$b$100,b1)>1

    steve

  4. #4
    Registered User
    Join Date
    11-08-2007
    Posts
    6
    Quote Originally Posted by stevekirk
    hi,

    try this

    put this in the conditional format in column a and b and paste down



    =COUNTIF($A$1:$b$100,b1)>1

    steve
    Can you elaborate on this a little? I've never used conditional formatting, so I'm not really sure where to paste this formula.

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    It's all there on the link it you bother to read it

    VBA Noob

  6. #6
    Registered User
    Join Date
    11-08-2007
    Posts
    6
    Quote Originally Posted by VBA Noob
    You can also use a formula to extract elements that exist in one list but not in another. Again, it is assumed that you have two named ranges, List1 and List2 of the same size. Create a new named range called In1Not2 the same size as List1. The following formula is an array formula that must be entered into an array of cells. Select the In1Not2 range, type in the formula and press CTRL SHIFT ENTER.

    =IF(ISERROR(MATCH(List1,List2,0)),List1,"")

    This formula will return the elements in List1 that do not appear in List2. Select the cells in which you want the results to appear (this should be the same size and List1) type the formula and then press CTRL SHIFT ENTER.

    The order of the elements in the result list correspond to the position of that element in List1.


    -------------

    This is the one I want to do. I think I'm missing something with the lists. It seems like I have to do something more than just titling the column List1 or List2.

+ 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