+ Reply to Thread
Results 1 to 5 of 5

Identifying & Merging Duplicate Rows within a Range

  1. #1
    Registered User
    Join Date
    09-30-2008
    Location
    New Zealand
    Posts
    3

    Identifying & Merging Duplicate Rows within a Range

    Hey there I am having an issue where I cant find a formula to do the following:

    I have four columns two of which contain identical text (which is sorted in a different order). Next to each text cell is a corresponding number in the next column. So A1 contains text and B2 contains a corresponding number. Column C2 contains text and D2 contains a different corresponding number.

    What I want to do is to find the matching text from the two text columns and merge (the identical text)and move the corresponding number from the duplicate cell to the same row so I end up with:

    A1 (text) B2 (number) D2 (number) or text number number

    Another way to explain it is:

    I have two lists of matching text but with different numbers in the cells next to each column of text. I want to move the matching text and the number next to it.

    Would be very grateful for some help cheers

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    To be clear, is the matching text always on the same row? if it is you want to get rid of the text in column C and place the number from column D in its place....is this correct? if this is correct the below will do what you need:
    Please Login or Register  to view this content.
    Last edited by Simon Lloyd; 09-30-2008 at 09:19 PM.
    Not all forums are the same - seek and you shall find

  3. #3
    Registered User
    Join Date
    09-30-2008
    Location
    New Zealand
    Posts
    3

    Thanks thats handy but want to take one more step

    Thats great thanks very helpful. I was hoping to find a formula that works even if the they are not in the same row as well though for the times when the text is not always the same and some text is omitted.

    What I am doing is I have a list of keywords with a corresponding number of people searching for that keyword eg

    Column A says "natural remedies for scalp" then column B says 2375

    Then I have the same list of keywords in a different order (some duplicated) with a different figure:

    Column C says "natural remedies for scalp" then column D says 5

    I was hoping to find a formula that would first find the matching row and then move the figure from Column D to either column E or B

    I can paste the second set of columns (C & D) to another worksheet page

  4. #4
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    You need to provide a sample workbook so we can see the layout and work with someof your dummy data. A formula cannot do what you want as its only function is to return a result it cannot delete, move or physically manipulate data.

  5. #5
    Registered User
    Join Date
    09-30-2008
    Location
    New Zealand
    Posts
    3

    Smile Ok here is the workbook

    I have attached the workbook - really grateful for your help thanks. Yes I can see a macro needs to do this. Keen to buy your course(s) to learn how to use them too

    What I would like to end up with as a result from the data in the workbook is:
    Keyword Search Volume Ranking
    "storage" 49500 1

    Have attached excel 2003 and 2007 files

    Column A & B remain static>>Search for and find the matching row text that matches the text in column A>>move and add the adjacent number so it is the same row as the original text in column A
    Attached Files Attached Files

+ 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. Combining data in duplicate rows, Excel 2007
    By tsdet08 in forum Excel General
    Replies: 8
    Last Post: 07-25-2013, 11:19 AM
  2. How to Identify duplicate rows?
    By tdd1984 in forum Excel General
    Replies: 1
    Last Post: 09-16-2008, 03:09 PM
  3. Deleting both duplicate rows in Excel.
    By mdub72 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2008, 08:35 AM
  4. VBA that removes duplicate rows
    By Blindbert in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-21-2007, 12:32 PM
  5. Looping through rows in range AND comparing range cells
    By Damask in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-16-2006, 10:30 PM

Tags for this Thread

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