Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old March 1st 07, 06:58 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 30
Default Covert Data the comes for a CVS

I have a file that is sent to me in a .CVS the date numbers so up as
20070220, I need it to be 20-Feb-07, everytime I try to do this I get the
"railroad tracks" ########(yes my column is strecthed out). I tried every
date format, custom formats, any help would be great. Thanks




  #2   Report Post  
Old March 1st 07, 07:21 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 8,856
Default Covert Data the comes for a CVS

Assume your "date" is in A1, then in a helper column you could enter
this formula:

=VALUE(RIGHT(A1,2)&"/"&MID(A1,5,2)&"/"&LEFT(A1,4)

Format the cell as dd-mmm-yy and then copy down for as many entries as
you have in column A. Highlight all the cells with the formula in and
click <copy, then Edit | Paste Special | Values (check) | OK then
<Enter. This will have fixed the values. Then click <copy again and
paste into column A to overwrite the values that are there. You can
then delete the helper column.

Another way would be to use Data | Text-to-Columns on column A,
setting date format in the 3rd panel and copying over the data you
have.

Hope this helps.

Pete

On Mar 1, 6:58 pm, cyndi wrote:
I have a file that is sent to me in a .CVS the date numbers so up as
20070220, I need it to be 20-Feb-07, everytime I try to do this I get the
"railroad tracks" ########(yes my column is strecthed out). I tried every
date format, custom formats, any help would be great. Thanks





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do anyone know how to covert 912:30:44 into seconds mbasensation Excel Discussion (Misc queries) 8 December 14th 06 01:23 AM
covert 72.8 to 72:48 Rosemary Excel Worksheet Functions 2 October 10th 06 02:17 PM
covert columns into rows balsrin Excel Discussion (Misc queries) 2 August 18th 06 10:34 PM
How do I covert rows to columms? Mint Excel Worksheet Functions 3 June 12th 06 10:09 PM
covert Cellular phone dec to hex tom g Excel Discussion (Misc queries) 2 November 21st 05 09:31 AM


All times are GMT +1. The time now is 07:05 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004-2020 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017