Forum Discussion

BRJack's avatar
BRJack
Copper Contributor
Jan 19, 2025
Solved

How can I clean this date data in Excel?

Hello,    I have an issue with this date column in a dataset I'm working with. I don't know why but when I open the file in excel, each date is either just a date as a General format or it's in a D...
  • HansVogelaar's avatar
    Jan 21, 2025

    The dates are in mm/dd/yy format while your format is yyyy-mm-dd. If Excel can interpret an mm/dd/yy value as an yyyy-mm-dd value, it will convert it to a date, otherwise it will leave it as text.

    You can use Power Query (Data tab of the ribbon > From Text/CSV in the Get & Transform Data group) to convert all the values correctly.

Resources