ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I remove Char(160) from a cell? (https://www.excelbanter.com/excel-worksheet-functions/11414-how-do-i-remove-char-160-cell.html)

Dave

How do I remove Char(160) from a cell?
 
I pasted data into a spreadsheet form an html table. I found there in a
Char(160) character on eoither side of the data. I want to strip this
character. This character is an nbsp in HTML.



Bob Phillips

=SUBSTITUTE(E1,CHAR(160),"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dave" wrote in message
...
I pasted data into a spreadsheet form an html table. I found there in a
Char(160) character on eoither side of the data. I want to strip this
character. This character is an nbsp in HTML.





Dave

Thanks that did the trick!!


"Bob Phillips" wrote in message
...
=SUBSTITUTE(E1,CHAR(160),"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dave" wrote in message
...
I pasted data into a spreadsheet form an html table. I found there in a
Char(160) character on eoither side of the data. I want to strip this
character. This character is an nbsp in HTML.








All times are GMT +1. The time now is 03:38 AM.

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