+ Reply to Thread
Results 1 to 3 of 3

Need to Clean up my excel file with many columns of text string without losing data

  1. #1
    Registered User
    Join Date
    05-29-2017
    Location
    Fort Worth, Texas
    MS-Off Ver
    Office 365
    Posts
    1

    Need to Clean up my excel file with many columns of text string without losing data

    The attached excel file has line delimiters in several columns of string text. The first row is the headers row, which I've been able to use the text to columns function on the data tab and it breaks them into columns. However, when I try to do the same for the other rows, I lose data. Is there any other way to do this and preferably quicker than one column or cell at a time.
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,907

    Re: Need to Clean up my excel file with many columns of text string without losing data

    Is there source file? Looks like the file in question had already some data transformation applied and is not in it's raw format.

    Having raw file would help in giving you the best fit solution.

    Edit: Otherwise, you'll need to re-concatenate contents of each row into single cell and then split them apart.
    Last edited by CK76; 05-29-2017 at 09:36 AM. Reason: See Edit:
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need to Clean up my excel file with many columns of text string without losing data

    Hi and welcome to the forum.

    Did the original file, before you performed a Text to columns on the header row, have delimited strings in various columns? And as an aside row 1684 looks a bit suspect with the oddball characters starting in column L.

    I had originally thought that the simplest way given what you present would be to concatenate columns A:Y (Y being the last column with text ignoring row 1684) into a single column and then perform a Text to Columns on that column.

    Are you not able to get the file with all the data in a single column. Most back office systems which export data have a facility to specify a csv or even Excel format output file. Have you asked?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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] Big Excel Data File ( 3 Deep columns ) To Text File To 3 Big VBA 1 Dimensional Arrays
    By Doc.AElstein in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2017, 10:47 AM
  2. Replies: 1
    Last Post: 07-16-2014, 06:35 PM
  3. Parse, Clean and Format Address Data from Text String
    By jerrydiaz in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-04-2013, 11:52 AM
  4. Creating a macro to clean up a text string
    By Steffen_DK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2012, 05:30 PM
  5. Text string clean up formula needed
    By ZimmJJ in forum Excel General
    Replies: 5
    Last Post: 07-01-2012, 09:16 PM
  6. Is it possible to clean up and import such a raw text file as this to excel?
    By davidsky1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2012, 10:54 PM
  7. Replies: 4
    Last Post: 05-10-2005, 12:06 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