Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: How to eliminate empty spaces ?

Dear Sir,

I have some text in column A with spaces (one or more spaces) and some
without.

I would like to make them all uniform without any spaces.

A B
1 ML 12 ML12
2 ML14 ML14
3 KL 15 KL15
4 HG 1234 HG1234
5 BV412 BV412
6 BG 54 BG54
7 BC 2247 BC2247
8 LP4416 LP4416

May I know what formula must I input at cell B1 and copy downward to get the
straight answer ?

I try using =SUBSTITUTE(A1,-,) but I get back the same thing.

Please help.


Thanks

Low

--
A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Excel 2002: How to eliminate empty spaces ?

get rid of the dash
=SUBSTITUTE(A1, ,)
if this does not work, there is a chance it is something other that a
simple space such as a non breaking space
you could copy column A to column B
select column B
in one of the phrases which did not work copy the space
got to edit find replace
paste the space into find and leave the replace empty
select repace all


"Mr. Low" wrote:

Dear Sir,

I have some text in column A with spaces (one or more spaces) and some
without.

I would like to make them all uniform without any spaces.

A B
1 ML 12 ML12
2 ML14 ML14
3 KL 15 KL15
4 HG 1234 HG1234
5 BV412 BV412
6 BG 54 BG54
7 BC 2247 BC2247
8 LP4416 LP4416

May I know what formula must I input at cell B1 and copy downward to get the
straight answer ?

I try using =SUBSTITUTE(A1,-,) but I get back the same thing.

Please help.


Thanks

Low

--
A36B58K641

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
Excel 2002 : How to eliminate the time value after the date ? Mr. Low Excel Discussion (Misc queries) 8 May 3rd 07 05:53 PM
Excel 2002: How to eliminate space within a cell and count items? Mr. Low Excel Discussion (Misc queries) 6 November 24th 06 01:53 PM
How to eliminate empty rows in Excel 2002 worksheet ? Mr. Low Excel Discussion (Misc queries) 7 October 20th 06 11:21 AM
How do I eliminate spaces/characters from the beginning of a cell A Waller Excel Worksheet Functions 1 June 29th 05 10:37 PM
macro to eliminate spaces between words CSAM Excel Discussion (Misc queries) 3 December 17th 04 11:39 AM


All times are GMT +1. The time now is 04:59 AM.

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"