Hi All,
I need to convert imported alpha-numeric product codes to strings.
Where the code contains a letter or other symbol, that is trivial, since it will already be a string.
However, where the code is numeric, I am having trouble.
The codes come in as an export into excel from another system. Unfortunately, there is no way to specify that the export comes in as a text string (setting cells to TEXT format would be an example of this, but it doesn't work in this scenario).
I am then referencing the import, and need a formula that takes the codes, and converts to strings, so for example, I have tried:
=Text(A1,"General")
This works on most items, but where the code is a long numeric (e.g. 432200697940) the formula returns "4.32201E+11", whereas I need "432200697940".
I then tried:
=Text(A1,"0")
This works on the above example, but it converts 500.12 into "500" which is no good.
If I use:
=Text(A1,"0.00")
then it converts 800 into "800.00" so that's no good either.
Can anyone tell me a format code that will work?
Thanks,
Alan.
Bookmarks