View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
Alan Alan is offline
external usenet poster
 
Posts: 188
Default Importing CSV - Avoiding conversion to 'dates', but totally differ




"ShaneDevenshire" wrote in
message ...
I you trying to convert the dates back to text? You can format the
date
field to a custom number format like 0-0000. Then if you want to
convert
these to text you can select them and choose Data, Text to Columns,
Next,
Next, and select the Text option and click Finish.


Hi Shane,

The problem is that excel has effectively corrupted the underlying
value of the data, rather then just formatting it wrongly.

Using the example I did in my OP, the original text was "3-8000" (text
string, six chars long).

Excel imports that as a date (1 Mar 8000) which has an underlying
value of 2228041 (numeric value).

There is no simple formatting that will get from that numeric value
back to the text string (as far as I know!)


It this helps, please click the Yes button.


Not sure what this means. The ms public groups are text only NNTP
groups, so there is no concept of clicking a button?

Thanks,

--

Alan.

The views expressed are my own, and not those of my employer or anyone
else associated with me.

My current valid email address is:



This is valid as is. It is not munged, or altered at all.

It will be valid for AT LEAST one month from the date of this post.

If you are trying to contact me after that time,
it MAY still be valid, but may also have been
deactivated due to spam. If so, and you want
to contact me by email, try searching for a
more recent post by me to find my current
email address.

The following is a (probably!) totally unique
and meaningless string of characters that you
can use to find posts by me in a search engine:

ewygchvboocno43vb674b6nq46tvb