Discovering No-BREAK Space in cell Data

G

Guest

Having imported text data from a notepad file into excel as a column (A1:A5)
I had the word "eating" in A1 cell.

Using the formula =IF(A1="eating",TRUE,FALSE) in B1 gave FALSE
Also =IF(A1="eating ",TRUE,FALSE) in B1 gave
FALSE (note the extra blank after the ing )

However typing eating into cell A1 gives TRUE

Using =MID(A1,7,1) returns a blank cell which has character code
value of 160 (ASCII decimal) and from the INSERT/SYMBOLS Tabe it says it is a
"NO_BREAK SPACE"

How do I find all such possible occurences in my data since it can "ruin"
and confuse expected search results?
 
G

Guest

You can remove them entering this function in a spare column:
=SUBSTITUTE(A1,CHAR(160),"")
filled down as required.

Regards,
Stefi


„Joe†ezt írta:
 
G

Guest

Thanks for that solution it works.

Stefi said:
You can remove them entering this function in a spare column:
=SUBSTITUTE(A1,CHAR(160),"")
filled down as required.

Regards,
Stefi


„Joe†ezt írta:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top