+ Reply to Thread
Results 1 to 15 of 15

Column A deleting a space

  1. #1
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Column A deleting a space

    In my column A I have a space before all my text in every row......how can I delete that? I have a lot of records so doing it for each will take forever.

  2. #2
    Valued Forum Contributor jj72uk's Avatar
    Join Date
    03-22-2008
    Location
    Essex, England
    MS-Off Ver
    Work - Office 2000, Home - Office 2007E
    Posts
    360

    Re: Column A deleting a space

    New column:

    =RIGHT(A1,5)

    Copied down

    Then delete col A if needed

  3. #3
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Column A deleting a space

    Maybe I need to supply you with more info:

    A1
    Roy & Ann Miller

    what i need is:

    A1
    Roy & Ann Miller

    notice my second A1 has the text moved over to the left on space......it is that stupid space I am trying to delete in every row for Column A......what you gave me did not work at all.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Column A deleting a space

    Perhaps =trim(a1)
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Column A deleting a space

    if its in every row
    select column
    use data/text to columns/fixed width
    clear any break lines
    insert one breakline in front of text
    click next then chose the dont import column(skip) option
    click finish
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Column A deleting a space

    Ok, the trim formula looked like it worked on the actual excel spreadsheet but when I do mail merge into Word.....it does not align my name justified with the address........help! I tried the text to column option and that did nothing.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Column A deleting a space

    post a sample of your work book just a few rows will do
    if its sensitive given that its names
    delete all the characters except the first 2 or 3(leaving the space in before them)
    as for text to columns did it look like this(actual layout may vary in different excel versions)
    Attached Images Attached Images
    Last edited by martindwilson; 10-31-2009 at 02:11 PM.

  8. #8
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Column A deleting a space

    I am not sure if I can just paste this but on top of not being able to figure this out now for hours, I do not have time to figure out how I can attach my document. This is getting very frustrating! My freakin Word mail merge is putting a space before my address block and I don't know why.......here is an example of my first record I pasted

    ROY E & IVA B MILLER
    02096 VISTA CT how can I move that Roy name over to the left!?

    ROY E & IVA B MILLER 02096 VISTA CT
    DONALD K JR & CARLA J MOFFITT 03021 BARKRIDGE CT
    EDWARD L PRICE 03033 ASH CT
    ANTHONY E & ARMINDA L GRISSETT 03034 ASH CT
    WAYNE OWENS 03036 ASH CT
    RICK & RHONDA HOLDEN 04014 WHITECREST DR

  9. #9
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Column A deleting a space

    Charlie, I strongly advise you to read the forum rules, especially about cross posting.

    http://www.excelforum.com/word-forma...ail-merge.html

    I do not have time to figure out how I can attach my document.
    This is a bit surprising, since you obviously expect people here to invest time to work on your solution. You may want to invest a minute or so to find out how to attache a file.

    regards

  10. #10
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Column A deleting a space

    Cross posting? maybe you should see it from my point here.......How do I know that an excel guy will know if it is a Word issue? That is the only reason I asked it in 2 different forums....maybe you guys should consider this?

  11. #11
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Column A deleting a space

    If I can get the answer about a possible Word issue here......then delete my other post......how can I know that?

  12. #12
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Column A deleting a space

    Easy, man. There are reasons behind the cross posting rule, even if you don't understand them. All we're asking is that you link to cross posts, so we can see what others have already considered.

  13. #13
    Registered User
    Join Date
    07-20-2009
    Location
    Roanoke, Tx
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Column A deleting a space

    Oops.....didn't know that was what you were saying....I thought you were implying I couldn't do it........you're just saying to paste the url between both?.......Well what do I need to do here......I am getting drained trying to figure this out.....I'm about to just print my envelopes as is with the name not aligned because I am tired of trying to figure it out.

  14. #14
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Column A deleting a space

    Well what do I need to do here.
    Start with reading the forum rules.

    Again, as MDW and I have asked before: post a sample of your Excel data and your Word merge file. It is impossible to suggest a solution if we can't see what you have in place.

    Copying your data into a post does not help. We need to see the structure of the data in the excel sheet and the way you've set up your merge fields in Word.

  15. #15
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Column A deleting a space

    1 have you proved its not word by putting some names in the column without leading space then trying the merge?
    2. did you try changing the merge field to look at the column with trim(a1) in?
    Last edited by martindwilson; 10-31-2009 at 03:44 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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