+ Reply to Thread
Results 1 to 7 of 7

HELP!! trying everything to remove first space in a column of data...nothing working

  1. #1
    Registered User
    Join Date
    10-06-2013
    Location
    Tampa
    MS-Off Ver
    office 2010
    Posts
    3

    HELP!! trying everything to remove first space in a column of data...nothing working

    Hi there,
    I imported a set of data from word that was comma delimited. I needed it to be a .csv to import it.
    The data is all in Column A, about 2000 records. Some have the space, some do not.
    I have tried trim, a specific formula, another one...and so on. i have attached an example of the file showing
    a. the columns have some spaces, the others do not
    b. my trim attempt to the right with to no avail

    If i have to manually delete spaces in 2,000 records, i might shove a pen in my eye. Surely i'm missing something, please someone help!
    Signed,
    spending way too much time on this excel file in Tampa
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: HELP!! trying everything to remove first space in a column of data...nothing working

    Perhaps the spaces aren't really spaces
    Try the CLEAN function

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: HELP!! trying everything to remove first space in a column of data...nothing working

    welcome to the forum, clancy1104. Jonmo's right. they arent really your normal spaces. it's called the non-breaking spaces (character 160) vs the normal space (character 32). you can try using:
    =SUBSTITUTE(A1,CHAR(160),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

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

    Re: HELP!! trying everything to remove first space in a column of data...nothing working

    Try this one on a dummy of your sheet.

    You need to copy to formula in cell a2

    Dutch
    Please Login or Register  to view this content.
    See the attached file.

    Notice you need also to copy cell a1 in the sheet data.
    Attached Files Attached Files
    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 Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: HELP!! trying everything to remove first space in a column of data...nothing working

    I added the other solutions in your file.

    Clean isn't working (see the attached file).

    The formula of Benishiryo is perfect.

    See the attached file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-06-2013
    Location
    Tampa
    MS-Off Ver
    office 2010
    Posts
    3

    Re: HELP!! trying everything to remove first space in a column of data...nothing working

    benishiryo!
    amazecakes!
    worked...BUT, now i have another challenge. i have to upload into a file transfer that ONLY allows me to upload the data contained in Ccolumn a. Now i have my corrected data in column b, and if i delete column a, it obviously loses the formula info.
    Any thoughts there? how can i get the corrected data, without the character to live in column a?
    thanks again, you've almost saved my sanity

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

    Re: HELP!! trying everything to remove first space in a column of data...nothing working

    I'm not Benishiryo, but maybe I can give you that anwer also.

    If not, I will delete it.

    copy copy A

    paste special in Column B

    Copy colum B tot Column A.

    (that's all)

+ 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] Shift+Space and Ctrl+Space shortcuts intermittently working
    By yumyumdimsum in forum Excel General
    Replies: 8
    Last Post: 10-14-2017, 11:54 AM
  2. Replies: 8
    Last Post: 11-09-2013, 11:21 AM
  3. Replies: 1
    Last Post: 09-05-2013, 11:26 AM
  4. [SOLVED] If Cell Starts with a Space, remove that space
    By Ocean Zhang in forum Excel General
    Replies: 2
    Last Post: 09-29-2012, 01:52 PM
  5. How to remove space between Y axis and column
    By NineIron in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-09-2012, 01:03 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