+ Reply to Thread
Results 1 to 9 of 9

combine columns with text, move over columns with number

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    combine columns with text, move over columns with number

    Hello. I have a sample file with dates in the first two rows (leave those be) and then other stuff below. I would like to combine the text columns into just one column and then move the rest of the info over to the left so that it's under the dates. How would I do this with a code that will loop through all rows? Thanks. Spreadsheet attached.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: combine columns with text, move over columns with number

    If this is not what you wanted, need to see your desired result and the clear explanation.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: combine columns with text, move over columns with number

    Hmmmm, not really. This is a better example.
    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: combine columns with text, move over columns with number

    @amartino44

    how come, you get such messy sheets?

    before using VBA I advice you to take care that all related data are in the same column / row.
    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.

  5. #5
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: combine columns with text, move over columns with number

    HAHAHHAAH. That's the whole point of this vba exercise. I'm copying in the data from a PDF (it's a couple of hundred rows long). That's the cleanest I can get it. The vba is supposed to clean it up by combining the text columns and then pullling the numbers to the left.

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

    Re: combine columns with text, move over columns with number

    how about this suggestion, in your own treat?

    http://www.excelforum.com/excel-gene...ml#post4117211

  7. #7
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: combine columns with text, move over columns with number

    Perhaps. But at the moment, I'm working with what I'm working with and your comments don't really help with my post.

  8. #8
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: combine columns with text, move over columns with number

    Let's just pretend it wasn't from a data dump and it was from a messy internal report from IT, which happens quite often.

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: combine columns with text, move over columns with number

    It's not a better example, but different.
    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. [SOLVED] Combine 2 text columns
    By Fentoei in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2014, 07:05 AM
  2. Replies: 2
    Last Post: 02-19-2014, 06:02 AM
  3. MAcro to - copy, transpose, text to columns, remove column A, combine all columns in 1
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-07-2013, 08:48 AM
  4. Combine 2 Text Columns
    By blizad1 in forum Excel General
    Replies: 2
    Last Post: 09-22-2010, 07:24 PM
  5. Using VBA to move a set number of columns
    By blamison in forum Excel General
    Replies: 3
    Last Post: 02-01-2005, 07:53 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