ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how can i remove all spaces in a number (https://www.excelbanter.com/excel-discussion-misc-queries/168109-how-can-i-remove-all-spaces-number.html)

allahyari

how can i remove all spaces in a number
 
how can i remove all spaces in a number

Rick Rothstein \(MVP - VB\)

how can i remove all spaces in a number
 
how can i remove all spaces in a number

This will remove all spaces from the value in A1 whether it's a number or
not...

=SUBSTITUTE(A1," ","")

Rick


Dave Peterson

how can i remove all spaces in a number
 
If you have a range of these to fix, you could:
Select the range
edit|replace
what: (spacebar)
with: (leave blank)
replace all



allahyari wrote:

how can i remove all spaces in a number


--

Dave Peterson


All times are GMT +1. The time now is 07:12 PM.

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