Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default stripping out the first space

Hello:

I have a column of date fields. For whatever reason, there is a space in
front of each date in each cell in this column.

I need to strip out this space, so that I can format this column properly.
How do I do this?

If I cannot find a formula, then I will have to go through all 800 cells and
manually take the space out of each cell.

Thanks!

childofthe1980s
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default stripping out the first space

Insert a column to the right of the problem column
use this formula:
=RIGHT(A1,LEN(A1)-1)
Drag down the length of the column
Copy the column
Paste Special... Values Only over the problem column

HTH

Die_Another_Day
childothe1980s wrote:
Hello:

I have a column of date fields. For whatever reason, there is a space in
front of each date in each cell in this column.

I need to strip out this space, so that I can format this column properly.
How do I do this?

If I cannot find a formula, then I will have to go through all 800 cells and
manually take the space out of each cell.

Thanks!

childofthe1980s


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default stripping out the first space


or maybe

Trim ()

http://www.techonthenet.com/excel/formulas/trim.ph

--
mpeplo
-----------------------------------------------------------------------
mpeplow's Profile: http://www.excelforum.com/member.php...fo&userid=3481
View this thread: http://www.excelforum.com/showthread.php?threadid=56535

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default stripping out the first space

Maybe just selecting that range
edit|replace
what: (space bar)
with: (leave blank)
replace all

would work ok

childothe1980s wrote:

Hello:

I have a column of date fields. For whatever reason, there is a space in
front of each date in each cell in this column.

I need to strip out this space, so that I can format this column properly.
How do I do this?

If I cannot find a formula, then I will have to go through all 800 cells and
manually take the space out of each cell.

Thanks!

childofthe1980s


--

Dave Peterson
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
Stripping out characters Stephanie Excel Worksheet Functions 5 December 3rd 09 04:29 PM
Stripping The First Four Characters from a value Rob Excel Discussion (Misc queries) 4 January 26th 07 06:31 PM
Stripping the dashes digital21st Excel Discussion (Misc queries) 4 May 23rd 06 03:43 PM
Character Stripping [email protected] Excel Programming 2 May 18th 06 09:17 AM
Stripping data Stuart[_5_] Excel Programming 5 February 3rd 04 07:49 PM


All times are GMT +1. The time now is 04:26 PM.

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"