Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Why does not Excel 2003 Replace comand romove spaces from cell contents?

Hello
Why does not Excel 2003 Replace command remove spaces from cell contents? Is
there any other way than the trim function to remove spaces after numbers in
cells?


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Why does not Excel 2003 Replace comand romove spaces from cell contents?

Replace should remove spaces - highlight your cells then CTRL-H. In the
"Find What" panel enter a single space, in the "Replace With" panel
leave this empty, then click Replace All and your spaces should have
gone.

If you have spaces after a number in a cell (and therefore the cell
contains text), you can convert it to a number in another cell by means
of:

=VALUE(A1)

and copy this down if necessary.

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Why does not Excel 2003 Replace comand romove spaces from cell contents?

On Thu, 6 Apr 2006 16:15:28 +0400, "Dmitry" wrote:

Hello
Why does not Excel 2003 Replace command remove spaces from cell contents? Is
there any other way than the trim function to remove spaces after numbers in
cells?


I'll guess from the incomplete information you've posted, that you've imported
your numbers from an HTML source (i.e. the web) and what you think is a <space
is really a <non-break-space

That being the case, in the Find box of the Replace command, try entering the
nbsp code -- hold down <alt and, from the numeric keypad, type 0160; then
release the <alt button. Leave the Replace box blank.


--ron
  #4   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Why does not Excel 2003 Replace comand romove spaces from cell contents?

Thanks Pete!
The Replace does not remove a space after a number in a cell. The cells are
in the text format.
"Pete_UK" ???????/???????? ? ???????? ?????????:
oups.com...
Replace should remove spaces - highlight your cells then CTRL-H. In the
"Find What" panel enter a single space, in the "Replace With" panel
leave this empty, then click Replace All and your spaces should have
gone.

If you have spaces after a number in a cell (and therefore the cell
contains text), you can convert it to a number in another cell by means
of:

=VALUE(A1)

and copy this down if necessary.

Hope this helps.

Pete



  #5   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Why does not Excel 2003 Replace comand romove spaces from cell contents?

Yes, I've imported my numbers from the web. Thank you Ron Rosenfeld very
much!
"Ron Rosenfeld" ???????/???????? ? ????????
?????????: ...
On Thu, 6 Apr 2006 16:15:28 +0400, "Dmitry" wrote:

Hello
Why does not Excel 2003 Replace command remove spaces from cell contents?

Is
there any other way than the trim function to remove spaces after numbers

in
cells?


I'll guess from the incomplete information you've posted, that you've

imported
your numbers from an HTML source (i.e. the web) and what you think is a

<space
is really a <non-break-space

That being the case, in the Find box of the Replace command, try entering

the
nbsp code -- hold down <alt and, from the numeric keypad, type 0160; then
release the <alt button. Leave the Replace box blank.


--ron





  #6   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Why does not Excel 2003 Replace comand romove spaces from cell contents?

On Thu, 6 Apr 2006 17:07:08 +0400, "Dmitry" wrote:

Yes, I've imported my numbers from the web. Thank you Ron Rosenfeld very
much!
"Ron Rosenfeld" ???????/???????? ? ????????
?????????: ...


Glad to help. Thanks for the feedback.


--ron
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
Replace #VALUE! with contents of cell?? MOK Excel Worksheet Functions 1 March 16th 07 10:33 AM
Excel: replace all 2 spaces to FF/LR in column of text Bill Craig Excel Discussion (Misc queries) 4 June 7th 06 05:40 PM
How can I replace spaces in text cells (excel) with underscores? JB2006 New Users to Excel 2 April 20th 06 06:05 PM
Why does not Excel 2003 Replace comand romove spaces from cell contents? Dmitry Excel Worksheet Functions 5 April 6th 06 04:26 PM
How do I replace the contents of a cell with its value instead of. Jean Excel Worksheet Functions 1 March 3rd 05 08:53 PM


All times are GMT +1. The time now is 05:20 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"