Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 2nd 04, 12:49 AM
JERRY8
 
Posts: n/a
Default Removing a space within a cell

I exported data that automatically adds a space before the value in each
cell. How do I remove the space without clicking in each individual cell and
deleting the space?

  #2   Report Post  
Old December 2nd 04, 01:09 AM
Andy Brown
 
Posts: n/a
Default

I exported data that automatically adds a space before the value in each
cell. How do I remove the space without clicking in each individual cell

and
deleting the space?


Use =TRIM(A1)

or

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

Copy the results, then Edit -- Paste Special (Values).

Rgds,
Andy


  #3   Report Post  
Old December 2nd 04, 02:05 AM
Gord Dibben
 
Posts: n/a
Default

Jerry

=TRIM(A1) will remove extra spaces.

Drag/copy as far as you need.

Unless they are html non-breaking spaces, for which there are other methods.

See David McRitchie's TrimAll code.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall

Gord Dibben Excel MVP

On Wed, 1 Dec 2004 16:49:06 -0800, JERRY8
wrote:

I exported data that automatically adds a space before the value in each
cell. How do I remove the space without clicking in each individual cell and
deleting the space?


  #4   Report Post  
Old December 2nd 04, 03:22 AM
Dave Peterson
 
Posts: n/a
Default

Another way:

Select your data (single column at a time)
data|text to columns
fixed width
remove any lines that excel guessed
plop it right back where you got it.

This trims both the leading and trailing, but leaves internal spacing alone.



JERRY8 wrote:

I exported data that automatically adds a space before the value in each
cell. How do I remove the space without clicking in each individual cell and
deleting the space?


--

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
Removing only certain data in a cell Juan Excel Discussion (Misc queries) 4 December 17th 04 02:11 AM
Removing a drop down list from a cell Cindy Excel Discussion (Misc queries) 8 December 16th 04 10:27 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
removing green triangle in cell Shooter Excel Worksheet Functions 3 November 6th 04 04:07 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 09:40 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017