Search code examples
excelexcel-formulaworksheet-function

TEXT function doesn't show months or year


My =TEXT won't work. It doesn't show months or years. I have downloaded the example template from the support page of Microsoft but I can't make it work. It does show days, which is weird. It doesn't matter which file or sheet I try, same result.

I have tried to change the number formats and reinstalled Excel, without progress. I don't know what is wrong.

You can see the error here


Solution

  • See the second comment in the answer to this question:

    Formating a date in excel when combining text from multiple cells

    I'm not sure about months, but try ÅÅÅÅ instead of YYYY. You can try hitting ctrl+1, selecting "Custom" from "Category" in the "Number" tab. Scroll down until you get to starter codes for date formatting. That may show you what code is needed for TEXT.

    You say you are using the English version, but your screenshot is showing torsdag instead of Saturday.