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

前端 未结 9 2636
清歌不尽
清歌不尽 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:04

    All kudos go to @AxelRichter, thanks Axel!

    It looks like that if you have a Dutch Windows but an English version of Excel (2013) the formulas get mixed up. For example, I still have the English formula names like TEXT (which would be TEKST in Dutch) but still have to use a colon instead of a comma in the formula. The format_text value of TEXT still expects the Dutch format which is different for the year (jjjj instead of yyyy).

    So if you have a Dutch Windows and an English Excel version the correct formula for some text followed by a formatted date would be:

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

    I hope Microsoft will fix this, this is very annoying!

提交回复
热议问题