ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Remove All White Space (https://www.excelbanter.com/excel-programming/420127-remove-all-white-space.html)

Carol

Remove All White Space
 
How do I remove all the white spaces from the text in a single cell. In one
cell I have two words, "Report Name" I want to copy this to another cell with
out the single whitespace in the midde like this, "ReportName".

Bernard Liengme

Remove All White Space
 
With a formula: =SUBSTITUTE(A1," ","")
But you can also use Edit | Find and Replace. In the find box tap the Space
key once, leave the With box empty
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Carol" wrote in message
...
How do I remove all the white spaces from the text in a single cell. In
one
cell I have two words, "Report Name" I want to copy this to another cell
with
out the single whitespace in the midde like this, "ReportName".





All times are GMT +1. The time now is 09:54 PM.

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