Excel TEXT formula doesn't convert 'yyyy' to a year

前端 未结 9 2632
清歌不尽
清歌不尽 2021-02-19 05:00

I want to combine some text with a date in Excel 2013.

Let\'s say I have a cell A2 with a date like 30-10-2014. I tried to append the date after the text with t

9条回答
  •  孤独总比滥情好
    2021-02-19 05:11

    we have the same issue at our work and I found that if I cannot influence the localization of the windows then I use a formula which in your case looks like:

    ="Some text and a date: "&TEXT(A2;"dd-mm-")&YEAR(A2)
    

    It is funny that "dd" and "mm" is the same.

提交回复
热议问题