Re: Excel converts string in CSV file as number by Pete_UK
Pete_UK
Fri Jul 25 08:26:46 CDT 2008
If you include another character, like:
'16E035, or _16E035
it will be treated as text. The first one has the advantage that it
will not be displayed.
Alternatively, rename the file as a .txt file, then do File | Open in
Excel and you will be taken into the Data Import Wizard, in the third
panel of which you can specify that you want the data to be imported
as text.
Hope this helps.
Pete
On Jul 25, 2:16=A0pm, DavidC <Dav...@discussions.microsoft.com> wrote:
> A file named test.csv has one line in it:
>
> =A0 16E035
>
> This is an accounting code used at our university. If I open that file,
> Excel shows 1.6*10^36 in cell A1. If I specify that the value is a string=
:
>
> =A0 "16E035"
>
> Excel still converts it to 1.6*10^36. How should this value be entered in
> the file so Excel leaves it as a character string?
>
> Thanks for your help.