If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > How to Remove white spaces in front/Back

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-06, 12:40
arandomfrog arandomfrog is offline
Registered User
 
Join Date: Jan 2006
Posts: 23
How to Remove white spaces in front/Back

Hi
I am helping someone and I am trying to remove white spaces in front and in the end of the characters in column of 15000 users.

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-19-06, 13:32
arandomfrog arandomfrog is offline
Registered User
 
Join Date: Jan 2006
Posts: 23
well, I was able to remove the characters in front by using =trim(A1). Does anyone know how to remove the back white space after the characters?
Reply With Quote
  #3 (permalink)  
Old 07-19-06, 14:26
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Trim should do it. Try this. If the names are in column A, starting at A2, then put the following formulas in appropriate cells:

B2:

=TRIM(A2)

C2:

=LEN(A2)

D2:

=LEN(B2)

That should give you a clue whether the spaces are being removed.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #4 (permalink)  
Old 07-19-06, 14:40
arandomfrog arandomfrog is offline
Registered User
 
Join Date: Jan 2006
Posts: 23
Thankx shades for the help.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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