+ Reply to Thread
Results 1 to 5 of 5

If cell A of Row 1 = cell A of Row 2, then combine text values for cell B of both rows

  1. #1
    Registered User
    Join Date
    01-29-2007
    Posts
    5

    If cell A of Row 1 = cell A of Row 2, then combine text values for cell B of both rows

    Hi. I've got a dbase of about 7,500 rows so the thought of manually doing this with all the duplicates isn't making me smile. Hoping someone has a solution for me. This is a list of names/ addresses with a lot of duplicate names, but some of the duplicates have missing data in one of the columns that is contained in the other duplicate rows. I'd like to be able to have a function to first identify duplicates and then make each column of the duplicate rows the same (preferencing cells with data over ones without). That'd make it a lot easier for me to delete duplicates and not accidentally get rid of the data that might be missing in some columns. Probably pretty simple, but not to me. I appreciate your input.

    Here is an example:

    Company Email Title Type Phone

    Customer A [email protected] (blank) A (blank)
    Customer A [email protected] Owner (blank) (blank)
    Customer A [email protected] (blank) (blank) 414-444-2211

    Thanks. Sorry about formatting of example...hope it's clear what I'm shooting for.
    Last edited by loosemarble; 07-15-2013 at 01:08 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If cell A of Row 1 = cell A of Row 2, then combine text values for cell B of both rows

    Post an excel example, without confidentional information.

    Please also add the desired (expected) result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    01-29-2007
    Posts
    5

    Re: If cell A of Row 1 = cell A of Row 2, then combine text values for cell B of both rows

    Thank you. Here is an example of what it might look like (attached excel doc)
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If cell A of Row 1 = cell A of Row 2, then combine text values for cell B of both rows

    This could be a start.

    Add the formula in column I to determine how many columns are filled.

    After that sort on column A and after that on column I

    Then you get the result with the most values at the top.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-29-2007
    Posts
    5

    Re: If cell A of Row 1 = cell A of Row 2, then combine text values for cell B of both rows

    thank you...yes...good start. Really hoping for the next step...auto-filling the empty cells of each duplicate with the other duplicates that have data in those cells, so all are the same. Any advice on that?

+ 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. [SOLVED] Copy Rows to New Worksheets Based on Fluctuating Text Cell Values
    By Icky_Joe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2013, 10:13 AM
  2. [SOLVED] Macro to search rows for specific text within a cell then cut cell to specified location
    By jonathanpotts90 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-25-2012, 06:18 AM
  3. [SOLVED] Excel 2007 : combine text from other cell into one cell.
    By justexcel-lent in forum Excel General
    Replies: 19
    Last Post: 06-25-2012, 06:32 PM
  4. [SOLVED] UDF to return string of values of all rows with cell matching reference cell
    By oemgacaesar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2012, 12:43 PM
  5. Combine Rows of Text to One Cell
    By garricko in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2010, 10:18 PM

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