+ Reply to Thread
Results 1 to 2 of 2

Finding Duplicated Text within Columns

  1. #1
    Jen
    Guest

    Finding Duplicated Text within Columns

    I'd be grateful if anyone could help me with the following:

    I have 2 columns, both contain a number of items, some the same, some not; eg:


    Column A: Column B:
    Row 1: apple pear orange apple orange
    Row 2: orange banana banana orange
    Row 3: peach banana melon grape apple orange

    I need to compare the columns and find which rows are NOT exactly the same
    and, preferably, to identify the differences.

    For instance, in the above example, I would ignore Row 2 as the cells
    contain the same items (albeit in a different order), but I want Excel to
    identify in the next Column items which are not the same, eg in Row 1 it
    would identify "pear" etc.

    I have tried various ways of solving this to no avail! I would prefer to
    not have to use a pivot table in this instance.

    Many thanks

    Jen

  2. #2
    Jason Morin
    Guest

    Re: Finding Duplicated Text within Columns

    While there is a chance this formula will not always be
    100% accurate, it should work in your case. In C1 put
    (all 1 formula):

    =SUMPRODUCT(CODE(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))
    =SUMPRODUCT(CODE(MID(B1,ROW(INDIRECT("1:"&LEN(B1))),1)))

    and fill down. FALSE indicates that the cells of the same
    row in columns A an B are not the same.

    HTH
    Jason
    Atlanta, GA



    >-----Original Message-----
    >I'd be grateful if anyone could help me with the

    following:
    >
    >I have 2 columns, both contain a number of items, some

    the same, some not; eg:
    >
    >
    >Column A: Column B:
    >Row 1: apple pear orange apple orange
    >Row 2: orange banana banana orange
    >Row 3: peach banana melon grape apple orange
    >
    >I need to compare the columns and find which rows are

    NOT exactly the same
    >and, preferably, to identify the differences.
    >
    >For instance, in the above example, I would ignore Row 2

    as the cells
    >contain the same items (albeit in a different order),

    but I want Excel to
    >identify in the next Column items which are not the

    same, eg in Row 1 it
    >would identify "pear" etc.
    >
    >I have tried various ways of solving this to no avail!

    I would prefer to
    >not have to use a pivot table in this instance.
    >
    >Many thanks
    >
    >Jen
    >.
    >


+ 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