r/excel•
ProtoBeta

í character followed by rogue hyphen

solved

Something weird happened and a bunch of special characters in a dataset broke. I've determined that "í-" replaced all of the "í"s.

However, "í-" is in the cell but not in the formula bar if that makes sense (picture below). Anybody know how to do a "find and replace" for a character that is and isn't there at the same time?

UPDATE: I solved it myself right after posting this... apparently there is a blank character with no width that appears as a hyphen?

ítesting

there is a character between the à and the t!

https://imgur.com/N1aDFyP

Posted Jan 3, 2020, 9:06 PM UTC · edited

34
ProtoBetaOP•

Can anybody tell me anything about this character? Typing it into google doesn't result in anything

1
FerdySpuffy184•

It's a "soft hyphen" and can apparently be used to have Excel treat a string of numbers as text. You could identify future issues like this using the =CODE function. For example, =CODE(MID("ítesting",2,1)) would yield code 173, which is the "code" identifier for the character.

3
ProtoBetaOP•

"soft hyphen" thanks! I'll do some digging into that.

Solution Verified!

2
Clippy_Office_AsstMOD•

You have awarded 1 point to FerdySpuffy

^I ^am ^a ^bot, ^please ^contact ^the ^mods ^for ^any ^questions.

1