Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default How to remove empty spaces in a cell with numbers?

In my example I have a long list with numbers that starts out with empty
spaces like this:

55 210
110
665 010
....

and so on.. I would like to remove all the empty gaps in my column. How do I
do that without doing it manually for every cell. Thanks for reading. Bye
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How to remove empty spaces in a cell with numbers?

Assuming your data are in column A put this in B1 and drag down

=SUBSTITUTE(A1," ","")

Mike

"Tobias" wrote:

In my example I have a long list with numbers that starts out with empty
spaces like this:

55 210
110
665 010
....

and so on.. I would like to remove all the empty gaps in my column. How do I
do that without doing it manually for every cell. Thanks for reading. Bye

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default How to remove empty spaces in a cell with numbers?

Select the range of numbers, press Ctrl-H, enter a space in the Search for
and be sure the Replace with box is empty - click on Replace All

"Tobias" wrote:

In my example I have a long list with numbers that starts out with empty
spaces like this:

55 210
110
665 010
....

and so on.. I would like to remove all the empty gaps in my column. How do I
do that without doing it manually for every cell. Thanks for reading. Bye

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
how do I remove leading spaces and leave the remianing spaces w Debi Excel Worksheet Functions 6 February 28th 07 03:29 PM
How to remove spaces from a word in a cell Jerry Excel Discussion (Misc queries) 5 January 15th 07 08:11 PM
Remove all spaces in a cell... killertofu Excel Worksheet Functions 8 February 20th 06 08:17 PM
how to remove spaces in a middle of a cell example '25 566 589. P.M.SANJAY Excel Discussion (Misc queries) 1 January 6th 06 07:23 PM
how do I remove empty spaces trailing a text string? Need_Help Excel Worksheet Functions 2 June 7th 05 12:13 AM


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