+ Reply to Thread
Results 1 to 3 of 3

Delete preceding spaces

  1. #1
    Registered User
    Join Date
    07-20-2011
    Location
    Kerala, India
    MS-Off Ver
    Excel 2013
    Posts
    93

    Thumbs up Delete preceding spaces

    Hi!

    I have a list of strings in a column consists of Alphabets and Numeric

    I would like to take off all the preceding spaces (all the spaces at the beginning of the string) excluding the spaces inside the string.

    Appreciate your early reply!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Delete preceding spaces

    Try using the TRIM() function in a helper column
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Delete preceding spaces

    Use =Trim(A1)
    Ben Van Johnson

+ 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] Formula to insert text in new column if preceding more than one of the preceding have val
    By aimeecrystalaid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-04-2013, 11:47 PM
  2. Deleting spaces preceding text in copied in data
    By cloudwalking in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2013, 09:08 AM
  3. Delete Spaces
    By CristianDavid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2012, 09:59 PM
  4. delete spaces
    By leighmills33 in forum Excel General
    Replies: 16
    Last Post: 04-28-2008, 08:42 AM

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