Excel import from CSV-file dateformat defaults to US and can not be changed

Anonymous
2018-01-19T09:33:09+00:00

Hello,

I have been importing CSV files into Excel using the "From Text" function for some time now. The CSV file is coded in UTF-8 and has been for a long time.

It has always displayed dates using the correct dateformat, in my case german (dd.mm.yyyy), but starting this monday it displays as US dateformat and can not be changed.

I tryed formating the cell to date and userdefined, I checked my Systems localisation and region settings.

Both don't seem to be fixing this.

Is there something else I can check?

Thanks

Steffen

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2018-03-08T09:33:15+00:00

    Hi Steffen,

    I can reproduce the behavior you mentioned using your CSV. After I open the Power Query Editor, I found data type of the time is Text. It should be the cause of the issue.  If I change the data type to data/time, the time format will be what you wanted , like dd.mm.yyyy. But the date above the time in column1 may not be correct.

    Or, you may try the following workaround to see if it helps:

    1.Open the CSV file -> save it as xlsx file, such as test.xlsx

    2.Open test.xlsx -> under data tab, select get data from workbook -> select test.xlsx -> load the power query again -> at this time, you should be able to customize the data type.

    Regards,

    Sky

    0 comments No comments

19 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-03-07T10:56:45+00:00

    Hello again,

    sry that I am answering so late.

    I asked my admins if it is okay to upload a file like this and if so how I can upload it.

    They unfortuantely told me that it is against company policy to upload files like this to non-colleagues/non-customers and that there is no secure way for me to do this.

    We have however found out that the headers of the columns are also in the english, rather than german as it was before, and that the date is transformed correctly if we open the csv directly and use "text in columns".

    My admins also advised me to reinstall office 365 and to deactivate all addins. This has had no effect as far as I can see, besides taking away my quickprint function.

    Is there anything else I can do or check to fix this?

    Kind regards

    Steffen ****

    0 comments No comments
  2. Anonymous
    2018-03-08T12:39:04+00:00

    Hello Sky,

    thank you, this works somewhat better.

    Is it possible to limit the cells that I want to change to Date/Time so that only the cells with dates in them change and not those with text?

    Kind regards

    Steffen ***

    0 comments No comments
  3. Anonymous
    2018-03-08T23:47:38+00:00

    Hi Steffen,

    I have tested it yesterday. Sorry, but I haven't found a way to limit the cells which we want to change to the Date/Time format. Therefore I gave you a second workaround in my last post. It should be work, though there are a lot of steps.

    Thanks for your understanding.

    Sky

    0 comments No comments