Excel for Mac (Office 365) refuses to use regional settings from Mac OS 14.1

Anonymous
2023-11-19T16:49:39+00:00

I want my Mac language to be US English, as that is what I am used to. I live in Denmark, so my regional settings, like thousand and decimal separators, date formats etc. are set differently. Excel for Mac (latest version, 16.79.1) does not seem to respect the regional settings from my Mac. Instead, it uses the Language, which is US English. For example, if I enter "5/7" in a cell - Excel interprets it as May 7. I want it to interpret it according to my regional settings, so 5/7 should be interpreted as 5th of July. Is it a bug in Excel for Mac, that it sets regional settings, based on Language, rather than the regional settings chosen in the operating system?

Microsoft 365 and Office | Excel | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2023-11-24T20:10:14+00:00

With the macOS regional setting "English (US)" the system and Excel don't agree on how to read the environment locale, and then Excel uses its defaults instead. With regional setting set to "English (UK)" the system is OK, as you have experienced.

Referring to this post, https://forums.macrumors.com/threads/apple-releases-macos-sonoma-14-1.2408652/page-5?post=32666688#post-32666688, you can check your setting using the command

defaults read .GlobalPreferences AppleLocale

If the output is something messed up like en_US@rg=dkzzzz, you can override the setting with the command:

defaults write .GlobalPreferences AppleLocale en_DK

(assuming you want the English (US) - Danish combo indicated in your screenshot)

Was this answer helpful?

30+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2023-12-03T16:28:43+00:00

Thanks for the heads-up Hans. I did update the system and it lost the AppleLocale setting I'd made. I came back here to copy and paste the commands. I did so from my own post above, and noticed a small but important mistake in my post. I'd written:

write .GlobalPreferences AppleLocale en_DK

It should have been:

defaults write .GlobalPreferences AppleLocale en_DK

I edited and corrected my previous post.

Was this answer helpful?

10+ people found this answer helpful.
0 comments No comments

14 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-07-07T21:10:21+00:00

    You do know this is a users-help-users community forum? That this is not Microsoft support?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-18T10:48:20+00:00

    I did an experiment. (macOS Sonoma 14.5, Excel 16.85)

    With the regional settings as shown:

    Image

    I get

    Excel:

    Image

    Swift Playgrounds:

    Image

    Command line:

    defaults read .GlobalPreferences AppleLocale

    en_US@rg=dkzzzz
    

    Changing the regional settings as shown

    Image

    gives

    Excel (restarted):

    Image

    Swift Playgrounds:

    Image

    Command line:

    defaults read .GlobalPreferences AppleLocale
    
    en_DK  
    

    My conclusion: Microsoft Excel does not read the locale settings as it is supposed. (Sorry for the large images - I do not know how to scale them here)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-05-01T09:23:16+00:00

    I really want to chime in with my thanks for the solution to this very annoying problem.

    However, I am left wondering: Is the fault on Apple or on Microsofts side?

    If I interpret the commands correctly, it seems the system preferences window does not actually apply the Region-choice correctly.

    Shouldn't this be flagged with MacOS developers?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments