#1   Report Post  
Posted to microsoft.public.excel.misc
Scurloc
 
Posts: n/a
Default Blank spaces


Hi all,

I have loads of cells in a column with a blank space at the beginning
of the text in each cell.

I would like to get rid of the blank spaces at the beginning of each
cell's text, but without getting rid of the blanks included in the body
of the cells' text.


Anybody knows how I could do this?

Thanks for helping me


--
Scurloc
------------------------------------------------------------------------
Scurloc's Profile: http://www.excelforum.com/member.php...o&userid=29854
View this thread: http://www.excelforum.com/showthread...hreadid=495534

  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Blank spaces


Use the TRIM function to remove spaces at either end of a text string.
It will not eliminate spaces between words.


Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=495534

  #3   Report Post  
Posted to microsoft.public.excel.misc
David Billigmeier
 
Posts: n/a
Default Blank spaces

You could use =RIGHT(LEN(A1)-1) in a helper column, then drag down to the end
of your data. Then, select this range, copy, and "Paste Special-Values"
into your original column (change the reference of A1 to fit your data)


--
Regards,
Dave


"Scurloc" wrote:


Hi all,

I have loads of cells in a column with a blank space at the beginning
of the text in each cell.

I would like to get rid of the blank spaces at the beginning of each
cell's text, but without getting rid of the blanks included in the body
of the cells' text.


Anybody knows how I could do this?

Thanks for helping me


--
Scurloc
------------------------------------------------------------------------
Scurloc's Profile: http://www.excelforum.com/member.php...o&userid=29854
View this thread: http://www.excelforum.com/showthread...hreadid=495534


  #4   Report Post  
Posted to microsoft.public.excel.misc
David Billigmeier
 
Posts: n/a
Default Blank spaces

Sorry... Small typo :-)

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


--
Regards,
Dave


"David Billigmeier" wrote:

You could use =RIGHT(LEN(A1)-1) in a helper column, then drag down to the end
of your data. Then, select this range, copy, and "Paste Special-Values"
into your original column (change the reference of A1 to fit your data)


--
Regards,
Dave


"Scurloc" wrote:


Hi all,

I have loads of cells in a column with a blank space at the beginning
of the text in each cell.

I would like to get rid of the blank spaces at the beginning of each
cell's text, but without getting rid of the blanks included in the body
of the cells' text.


Anybody knows how I could do this?

Thanks for helping me


--
Scurloc
------------------------------------------------------------------------
Scurloc's Profile: http://www.excelforum.com/member.php...o&userid=29854
View this thread: http://www.excelforum.com/showthread...hreadid=495534


  #5   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Blank spaces

"SteveG" wrote in
message ...

Use the TRIM function to remove spaces at either end of a text string.
It will not eliminate spaces between words.


.... but it will reduce multiple spaces to a single space.
--
David Biddulph


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
Numbered List with Blank Spaces, etc. Regent Excel Discussion (Misc queries) 4 September 27th 05 01:10 AM
CELL IS BLANK BUT NEED IT FILLED WITH SPACES TO A SPECIFIC LENGTH CHARI Excel Worksheet Functions 4 August 30th 05 12:54 AM
CELL IS BLANK BUT NEED IT FILLED WITH SPACES TO A SPECIFIC LENGTH מיכאל (מיקי) אבידן Excel Worksheet Functions 0 August 29th 05 09:55 PM
Blank spaces in a listbox Soundman Excel Discussion (Misc queries) 3 August 17th 05 02:13 PM
"False" filling in the blank spaces Dave O. Excel Discussion (Misc queries) 1 April 17th 05 05:25 PM


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

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

About Us

"It's about Microsoft Excel"