Sub topic 14
Regional Settings and Locale-Specific Formats
This chapter assumes you can apply built-in formats and read custom format codes, and that you know dates are stored as serial numbers. Here you will see how regional settings change what a format displays, and how to pin a format to one locale.
What Regional Settings Control
Excel reads several defaults from your operating system's regional settings:
- The decimal separator and thousands separator.
- The list separator, which separates function arguments in formulas.
- The default order of day, month, and year in short dates.
- The default currency symbol.
A workbook stores the numbers, not the separators. The same stored value 1234567.5 displays as 1,234,567.50 on a US system and as 1.234.567,50 on a German system. Nothing in the cell changed. Only the display rules did.
Why the Same Date Looks Different
A format marked with an asterisk in the Format Cells date list, for example *3/14/2012, follows the system's short date setting. The same file can show 11/27/2026 on one computer and 27/11/2026 on another.
If the layout must not change, use a custom code such as yyyy-mm-dd. This ISO order is read the same way everywhere.
Pinning a Currency to a Locale
A currency symbol can carry a locale code in square brackets. The code has the form [$symbol-code]. The code is a hexadecimal language identifier, and 407 is German (Germany).
[$€-407] #,##0.00This format shows the euro symbol with German-locale behavior, whatever the viewer's own settings. To choose it in the dialog, open Format Cells, pick Currency, and select the entry from the Symbol list, such as € German (Germany).
Regional Differences That Break Formulas
Regional settings also affect formulas and text. Three problems come up often:
- Argument separators. Systems that use a comma as the decimal separator usually use a semicolon between function arguments.
=ROUND(A1,2)on a US system is=ROUND(A1;2)on a German one. Excel converts formulas when it opens a file, so you only see the difference when typing. - Text dates.
=DATEVALUE("2026-11-27")is safe because ISO order is unambiguous. A text date like"03/04/2026"is read as March 4 or April 3, depending on the system. - TEXT codes. The format string inside
TEXTdepends on the language of the Excel installation. A German installation expectsJJJJfor the year, notyyyy, so=TEXT(A1,"yyyy-mm-dd")can return the wrong result there.
Changing the Setting Yourself
You can change regional settings in the operating system, in Windows under Region settings. Excel also lets you override the separators: go to File, Options, Advanced, and clear Use system separators. This affects only how Excel displays and reads numbers. It does not change stored values.
Exercise
A colleague in Germany opens your workbook. A cell shows 1,234.50 on your screen, formatted with the built-in Number format. What do they most likely see, and which format would guarantee a euro symbol with German-locale behavior on every computer?
Show answer
They most likely see 1.234,50, because the built-in Number format follows the viewer's separators and the stored value is unchanged. To fix the currency display, use the custom format [$€-407] #,##0.00.