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

前端 未结 4 1776
小鲜肉
小鲜肉 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:50

    Nothing wrong with your format i.e. yyyy/mm/dd. You can use:

    =TEXT(A1,"yyyy/mm/dd")
    

    Update

    A comment was made on this question re the TEXT function converting a date-serial to text. It will still be possible to apply date functions to the output of the TEXT function and get an output. E.g. here we can see WEEKDAY returning a result on the value of B1 (which in turn is formatting A1):

提交回复
热议问题