Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old August 20th 08, 09:49 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2008
Posts: 1
Default How can I delete a space in the beginning of a cell...

I'm copying text (data) from Word to Excel 2003 and it's bringing in a space
in the beginning of the cell, such as "_John Smith". What's the quickest
and/or easiest way I can delete this? Obviously, I don't want to get rid of
the space in between words, just in the beginning of the cell.

  #2   Report Post  
Old August 20th 08, 09:56 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 8,856
Default How can I delete a space in the beginning of a cell...

You can apply a formula in a helper column and then copy it down. If
your data is in A1, then you will need this formula:

=RIGHT(A1,LEN(A1)-1)

or this one:

=TRIM(A1)

The second one will only remove normal spaces that have the ASCII code
of 32, whereas the first one will remove the first character even if
it is the non-breaking space (code 160).

Hope this helps.

Pete

On Aug 20, 9:49*pm, GSimone wrote:
I'm copying text (data) from Word to Excel 2003 and it's bringing in a space
in the beginning of the cell, such as "_John Smith". What's the quickest
and/or easiest way I can delete this? Obviously, I don't want to get rid of
the space in between words, just in the beginning of the cell.




Reply
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
Delete space at beginning rexmann Excel Discussion (Misc queries) 4 May 19th 08 12:24 PM
Remove space at beginning of each name Supe Excel Discussion (Misc queries) 3 February 8th 08 06:19 PM
eliminate space at beginning of line Finger Tips Excel Worksheet Functions 1 June 1st 07 12:55 AM
How do I delete an extra space in every cell in a column? iamjbunni Excel Discussion (Misc queries) 2 April 21st 06 06:14 PM
How do I remove a blanck space from the beginning of a formula? kan2953 Excel Worksheet Functions 6 April 6th 05 05:38 PM


All times are GMT +1. The time now is 08:11 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017