+ Reply to Thread
Results 1 to 9 of 9

How to merge cells, with out loosing text

  1. #1
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    How to merge cells, with out loosing text

    Hi

    I have a set of data, which has a bad format for the analysis I'm going to make of it.
    It's made up of cases, which is indicated in the first columns, then there's a lot of keywords in the third column, but separated in rows, the same thing goes with the last column, which is a text; i.e. description of the case.
    Can I some how merge the row, that these keyword, and the text is now split into?

    Here an example of how the sheet looks like
    Attached Files Attached Files
    Last edited by Flabbergaster; 11-03-2010 at 01:48 PM.

  2. #2
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: How to merge cells, with out loosing text

    Since we are not sure how you are going to analyze this data, I suggest that you provide an ouptut sheet that shows how you want the data to look so that you can analyze it.
    Last edited by blane245; 11-03-2010 at 01:56 PM.
    Bob
    Click my star if my answer helped you. Mark the thread as [SOLVED] if it has been.

  3. #3
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: How to merge cells, with out loosing text

    sorry,
    I've attached another workbook, with two sheets: how it looks now, how I want it to look
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: How to merge cells, with out loosing text

    Do you really want to merge the cells or would you prefer to concatenate the strings in columns D and E together? Also, is the merge occurring on breaks in either column a, B, or C, or do they always have the same values?

  5. #5
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: How to merge cells, with out loosing text

    well, that I'm not sure.

    The data is cases which has been reviewed by a juridical counsel (that's also why I've "xxx/yyy.etc'ed" it).

    Column A contains the date of the specific case
    Column B contains no important information
    Column C contains the result of the deliberation in the counsel
    Column D contains keyword applying to the case
    Column E text of varying length, a sum up of the case.

    I have another worksheet with the keywords generated as a case X variable matrix. So they aren't that important either.

    What I need is to match the text/sum-up to the specific case in the mentioned worksheet. That is, I thought I merge the text-pieces from each case into one cell, to export it to my matrix.

    Here's another workbook with three sheets; the last one is the final result I'd like to end up with. Maybe I should have made it this way from the beginning, but.... Here it is:
    Attached Files Attached Files
    Last edited by Flabbergaster; 11-03-2010 at 02:17 PM. Reason: I changed the attached document a bit

  6. #6
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: How to merge cells, with out loosing text

    By the way, the reason I can't just do it manually is, that the data contains about 18,000 row, which is 971 cases.

  7. #7
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: How to merge cells, with out loosing text

    Try running this macros and see how close we are. It will create a new worksheet called Result each time it runs, so you will need to delete it if you run it more than once.
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: How to merge cells, with out loosing text

    Wow!!!! Thanks mate, that worked exactly how I imagined it!

  9. #9
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: How to merge cells, with out loosing text

    Happy analyzing

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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