LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Remove white spaces in Back

The TRIM function removes leading and trailing spaces but not spaces between
words or separate strings in a cell.

Why do you think you still have trailing spaces after using TRIM?

Try this in A1......enter 3 spaces then qwerty then 3 more spaces.

In B1 enter =LEN(A1) should return 10

In A2 enter =TRIM(A1)

In B2 enter =LEN(A2) should return 6

If you are not getting rid of the trailing spaces, perhaps they are HTML
non-breaking spaces....CHAR(160)

You can try editreplace

what: ALT + 0160(from the numpad)

with: nothing

Replace all.


Gord Dibben MS Excel MVP

On Wed, 19 Jul 2006 13:29:26 -0400, dziw
wrote:


Hi
I used =trim(A1) to remove for the front space and it works. Is there a
way to remove the back space after the characters in column.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove all spaces in a text string dn Excel Discussion (Misc queries) 3 April 2nd 23 07:20 PM
Remove spaces phonenumbers Tromp Excel Discussion (Misc queries) 6 October 1st 09 12:05 AM
Counting number of forwarding and sending back Jaydubs Excel Discussion (Misc queries) 2 June 16th 06 09:26 AM
how do I make a word typed in a cell go to a specific cell in anot Lmatarazzo Excel Discussion (Misc queries) 3 April 21st 05 04:29 AM
how do I remove spaces from cells that were pasted GolfKing Excel Discussion (Misc queries) 1 December 31st 04 07:40 AM


All times are GMT +1. The time now is 04:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"