+ Reply to Thread
Results 1 to 4 of 4

Stripping off extra spaces between words in a cell

  1. #1
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Exclamation Stripping off extra spaces between words in a cell

    Hello

    I have a document with a column that has large spaces between words. These are actually practice areas of certain attorneys.

    Please find a sample file attached with two sheets showing how it currently is and how I want it to be.

    I tried the Replace function, but it isn't working since the spaces between words aren't uniform.

    Kindly help


    Thanks
    Attached Files Attached Files

  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,926

    Re: Stripping off extra spaces between words in a cell

    Try it with a helper, I used B...
    =TRIM(A1)

    You can then, if needed, copy/paste values back over your original data, then delete the helper
    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
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Stripping off extra spaces between words in a cell

    Thanks a lot Ford

    Did the job for me

  4. #4
    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,926

    Re: Stripping off extra spaces between words in a cell

    Happy to help, thanks for the feedback

+ 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. how to reduce extra spaces between two/three words
    By sinha.riteshabap in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2014, 08:03 AM
  2. How to use vba to remove extra spaces between words
    By Joe Walsh in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-09-2013, 09:37 AM
  3. Can't do calculations due to extra spaces in cell
    By sysco in forum Excel General
    Replies: 7
    Last Post: 10-30-2006, 08:22 AM
  4. [SOLVED] Stripping Extra Characters?
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 06-27-2005, 01:05 PM
  5. [SOLVED] Stripping out imbedded spaces in a cell/row
    By Tom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-22-2005, 11:06 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