ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to remove empty spaces in a cell with numbers? (https://www.excelbanter.com/excel-worksheet-functions/163316-how-remove-empty-spaces-cell-numbers.html)

Tobias

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

Mike H

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


Duke Carey

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



All times are GMT +1. The time now is 05:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com