M
mdf
I receive spreadsheets from remote site support staff containing Ethernet
addresses in a column. Often these are entered with spaces, hyphens, etc.
between each pair. However, I need them to be 12 character strings, no spaces
or other chars. The column is formatted as text, and I do a replace on the
problem character. This works unless the address could be interpreted as an
exponent; i.e 00-50-04-82-1E-20 becomes 5.00E+26 when I replace the hyphens
with nothing. In addresses that do not contain alpha chars, the leading zeros
are dropped.
Has anyone else seen this? How do you get around it?
addresses in a column. Often these are entered with spaces, hyphens, etc.
between each pair. However, I need them to be 12 character strings, no spaces
or other chars. The column is formatted as text, and I do a replace on the
problem character. This works unless the address could be interpreted as an
exponent; i.e 00-50-04-82-1E-20 becomes 5.00E+26 when I replace the hyphens
with nothing. In addresses that do not contain alpha chars, the leading zeros
are dropped.
Has anyone else seen this? How do you get around it?