change date format of cell in excel from dd.mm.yyyy to yyy/mm/dd ( excel version 2013 )

前端 未结 4 1877
小鲜肉
小鲜肉 2021-01-24 06:48

I have been searching it for an hour but unfortunately nothing found that actually work. I have an excel sheet with a column having date in it. Current date format is dd

4条回答
  •  無奈伤痛
    2021-01-24 06:56

    The problem is that your date is a text string, so changing the cell number format won't have any effect.

    One method of convert the dates in place to "real" dates is to use the Text to Columns wizard.

    • Select your date(s).

    • Select the Text to Columns option on the Data Tools Tab of the Data Ribbon:

    • At Step 1, select "Fixed Width" then "Next"

    • Step 2 is irrelevant

    • At Step 3, for the date column, select DMY as the format. You can also select the "Destination" if you want the results written elsewhere.

    • Then "Finish".

    That's it. Your dates will be converted in place

    Since your dates are now "real" Excel dates, you can use the Cell ► Number Format dialog to change the format to whatever you want.

提交回复
热议问题