Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a problem with how excel treats dates that are imported as a csv
file. For some reason, excel occasionally transposes dates from dd/mm format to mm/dd format. I know that the problem isn't with the format of the cells but I think it is the way that the exporting program recognises dates. It may be that the problem is due to the fact that week numbers less than 12 could be interpreted as a month or a week. ( the problem does not occur on dates that fall in week 13 or greater). Does any one know of an easy way of solving the problem or converting the dates ? any help greatly appreciated Pete |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I appreciate the prompt reply, but the problem is that the program that
generates the data only exports as a csv "Gary L Brown" wrote in message ... Change the file extension of the file from .csv to .txt. This will make the Import Wizard come up when you import the file. You can then format the data any way you wish. HTH, -- Gary Brown If this post was helpful, please click the ''Yes'' button next to ''Was this Post Helpfull to you?''. "jiwolf" wrote: I have a problem with how excel treats dates that are imported as a csv file. For some reason, excel occasionally transposes dates from dd/mm format to mm/dd format. I know that the problem isn't with the format of the cells but I think it is the way that the exporting program recognises dates. It may be that the problem is due to the fact that week numbers less than 12 could be interpreted as a month or a week. ( the problem does not occur on dates that fall in week 13 or greater). Does any one know of an easy way of solving the problem or converting the dates ? any help greatly appreciated Pete |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Understood.
After the program exports, using Windows Explorer, go to where the file was exproted to, highlight it, hit F2 to edit the name and change the extension to .txt from .csv. HTH, -- Gary Brown If this post was helpful, please click the ''Yes'' button next to ''Was this Post Helpfull to you?''. "jiwolf" wrote: I appreciate the prompt reply, but the problem is that the program that generates the data only exports as a csv "Gary L Brown" wrote in message ... Change the file extension of the file from .csv to .txt. This will make the Import Wizard come up when you import the file. You can then format the data any way you wish. HTH, -- Gary Brown If this post was helpful, please click the ''Yes'' button next to ''Was this Post Helpfull to you?''. "jiwolf" wrote: I have a problem with how excel treats dates that are imported as a csv file. For some reason, excel occasionally transposes dates from dd/mm format to mm/dd format. I know that the problem isn't with the format of the cells but I think it is the way that the exporting program recognises dates. It may be that the problem is due to the fact that week numbers less than 12 could be interpreted as a month or a week. ( the problem does not occur on dates that fall in week 13 or greater). Does any one know of an easy way of solving the problem or converting the dates ? any help greatly appreciated Pete |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "jiwolf" wrote: I have a problem with how excel treats dates that are imported as a csv file. For some reason, excel occasionally transposes dates from dd/mm format to mm/dd format. I know that the problem isn't with the format of the cells but I think it is the way that the exporting program recognises dates. It may be that the problem is due to the fact that week numbers less than 12 could be interpreted as a month or a week. ( the problem does not occur on dates that fall in week 13 or greater). Does any one know of an easy way of solving the problem or converting the dates ? any help greatly appreciated Pete |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 1. Select your spreadsheet - then select Format CELLS - TEXT. 2. In EXCEL the CSV file you want to import into Excel. Then on STEP 3 of the import menu - select all of the columns indicate import as TEXT. Then you can format the date the way you want. You might just try importing the file and format your date field only in Step 3 of the Import Menu Program, (i.e. you might not have to change the cells to "TEXT" prior to importing). -- wjohnson ------------------------------------------------------------------------ wjohnson's Profile: http://www.excelforum.com/member.php...o&userid=29640 View this thread: http://www.excelforum.com/showthread...hreadid=500334 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date stamp formula results? Tricky problem? | Excel Discussion (Misc queries) | |||
Problem opening excel files from email | Excel Discussion (Misc queries) | |||
date format problem | Excel Discussion (Misc queries) | |||
importing multiple text files??? | Excel Discussion (Misc queries) | |||
Problem with Date format from VBA code | Excel Discussion (Misc queries) |