For my work, I regularly open data in Excel 365 that comes to me in a weird CSV format that I can't control. Here's an example:
"Call-off","Receiver ext.","Plant","Status","Supplier ext.","UnPt","Line station","Part family","Production No","Sequence no.","Series/Model","Call-Off date","Trig.type","EDI Arrival","No. old","No. new","SubDel.","Receiver ID","Trailer","File-No.","Created","Date Creation","Last change","Timestamp last Update"
"2238575","=""8010""","=""T21""","=""95""","=""18519280E""","=""*""","=""*"""," ","=""0006459842""","=""20191119T039""","=""16716112""","11/20/2019 12:04 AM","=""IB""","11/20/2019 12:00 AM","6443","6444","=""0""","=""MBUSI"""," ","43889667","=""AMSSTIN""","11/20/2019 12:07:54 AM","=""SSTIFILE""","11/20/2019 12:07:54 AM"
"2238574","=""8010""","=""T21""","=""90""","=""18519280E""","=""*""","=""*"""," ","=""0006459842""","=""20191119T039""","=""16716112""","11/20/2019 12:04 AM","=""IB""","11/20/2019 12:00 AM","6442","6443","=""0""","=""MBUSI"""," ","43889666","=""AMSSTIN""","11/20/2019 12:07:54 AM","=""SSTIFILE""","11/20/2019 12:07:54 AM"
"2238572","=""510898""","=""456""","=""90""","=""33265005""","=""56""","=""BROADCAST"""," ","=""0006459842""","=""300000162834""","=""167""","11/20/2019 12:04 AM","=""SMP""","11/20/2019 12:00 AM","56386","56387","=""0""","=""SMP"""," ","43889664","=""AMSSTIN""","11/20/2019 12:07:53 AM","=""SSTIFILE""","11/20/2019 12:07:53 AM"
An example Excel file is here.
I need to add formulas that operate with the dates and times in the data (see the last column in the example data). The trouble is, my Excel sees the dates as strings. This leads me to insert a table then do Data -> From table/range which opens up a new sheet with the fake formulas removed leaving only values (and destroying numbers with leading zeroes). My other alternative is to insert a helper column and parse the date out of the date string.
The thing is, whenever my colleagues do the same as I do, following the instructions I've written, they get their dates as proper dates. This is operating on the same data. And weirder, I've had this issue on two separate machines, but I've never seen my colleagues experience it.
This leads me to believe that there must be some setting somewhere in Excel that's changing things for me. How can I make my Excel work like my colleagues'?
NOTE: I'm not asking how to work around this problem as I already know how to do that. I'm asking why it's happening in the first place and/or how I can prevent it from happening without resorting to workarounds.
DMY
and your colleagues asMDY
? If that is the case, the dates in your example would be interpreted as text (and dates that are NOT interpreted as text would be incorrect.