问题
I am unable to get month name in Excel.
Neither =TEXT(...;"mmmm")
not doesn't work.
I found, only Russian M's are working and giving Russian month name, despite of language settings
Latin M's give nothing.
Are there any other settings to force month name language?
UPDATE
Setting date format nationality didn't help:
回答1:
Thanks for additional details. It appears to be a long standing issue with MS Office. See How to prevent Excel to use the OS regional settings for date patterns in formulas for a related issue and some partial solutions.
In particular, hardcoding using CHOOSE
might be your way to go:
=CHOOSE(MONTH(B2);"Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec")
Also see Scott Craner's comment regarding =TEXT(B2;"[$-0409]MMMM")
which looks like a quick fix. But note that the MMMM
has to be in your locale, so the spreadsheet might not be portable. The CHOOSE
option would be better in this case.
来源:https://stackoverflow.com/questions/43525469/how-to-get-english-month-name-from-date-in-russian-excel