UPPER Formula in Excel Not Working? Fix the Cause

Errors & fixes · Updated November 3, 2026

UPPER Formula in Excel Not Working? Fix the Cause

If Excel’s UPPER formula is not working, first check that the function is spelled correctly and the formula cell is not formatted as Text. With the text you want to convert in A2, enter =UPPER(A2) in another cell and press Enter; if Excel displays the formula itself, check Show Formulas or re-enter it after changing the cell format to General.

What the UPPER function does

UPPER changes lowercase letters in text to uppercase letters. It does not edit the source cell: it returns a result in the cell containing the formula, so you need a separate output cell if you want to keep the original data. It also leaves punctuation and digits as they are. For example, a source value such as “west-42” becomes “WEST-42.”

The function is available in Excel for Microsoft 365 and many earlier Excel versions. Its basic syntax has one argument: the text, or a cell reference containing text, to convert. The result is text, which matters if your source contains numbers, dates, or identifiers with special number formatting. UPPER changes letter case; it is not a general-purpose way to preserve or apply a cell’s display format.

Check the formula and cell reference

A simple reference is the best starting point. With the source text in A2 and the result wanted in B2, enter =UPPER(A2) in B2. If A2 contains “maria lopez,” B2 should display “MARIA LOPEZ.” Make sure the reference points to the cell you intend: a correct formula aimed at a blank or different cell can look like a failure.

For a fixed phrase, the text can be entered directly as the argument. With no cell layout required because the phrase is typed into the formula, =UPPER("north-west") returns “NORTH-WEST.” In a normal formula, text typed directly into a formula must be enclosed in straight double quotation marks. When the formula references a cell, as in the first example, the cell reference is not quoted.

Check these basics before investigating less obvious causes:

  • Confirm the function is spelled UPPER, not a similar-looking misspelling such as UPER.
  • Confirm the formula begins with an equals sign and has balanced parentheses.
  • Check that the source reference points to the cell with the text, not the output cell itself.
  • Look for an apostrophe before the equals sign, which can make an entry text instead of a formula.

If Excel shows the formula instead of the result

If you can read the formula in the worksheet cell, Excel may be treating it as text. Select the formula cell, choose Home > Number Format > General, then edit the entry and press Enter. Changing the format alone may not make an existing text entry calculate; re-entering it prompts Excel to interpret it as a formula. You can press F2 and then Enter on Windows to edit and re-submit the selected cell.

Another possibility is Show Formulas, which displays formulas in worksheet cells instead of their calculated results. On Windows, check Formulas > Formula Auditing > Show Formulas and turn it off if it is selected. The Ctrl+` keyboard shortcut also toggles this display; the backtick key is commonly near the top-left of a Windows keyboard. On Mac, use the Formulas ribbon command if the shortcut differs on your keyboard or Excel version.

A leading apostrophe is another clue: an entry beginning with an apostrophe is stored as text. Remove the apostrophe, make sure the cell is General or another suitable format, and enter the formula again. If you see the formula in the formula bar but a result in the grid, that is normal: the formula bar shows the cell’s underlying formula.

If the result appears unchanged

UPPER affects letters, not every character. If the source contains only digits, punctuation, or letters that are already uppercase, the visible result may look unchanged even though the formula is working. For a quick check, try a known lowercase sample in a spare cell and confirm that the output is uppercase.

Check for spaces or characters you cannot easily see. A leading space does not prevent UPPER from changing letters, but it remains in the result and can make comparisons or sorting confusing. Ordinary spaces can be cleaned while converting. With the original text in A2, =UPPER(TRIM(A2)) returns uppercase text with leading and trailing ordinary spaces removed and repeated ordinary spaces between words reduced to one. If A2 contains “ maria lopez ”, the result is “MARIA LOPEZ.” TRIM does not remove every kind of invisible character.

For example, data copied from a website may contain nonbreaking spaces. With the text in A2, =UPPER(TRIM(SUBSTITUTE(A2,CHAR(160)," "))) replaces nonbreaking spaces with ordinary spaces, trims the result, and converts the letters. If the source has other control characters, this particular formula may not remove them; identify the character before choosing a cleanup method.

Check calculation settings and recent edits

If the source text changes but the result does not update, check Excel’s calculation mode. On Windows, choose Formulas > Calculation Options > Automatic. In Manual mode, formulas may not recalculate immediately after a change; pressing F9 recalculates open workbooks. Calculation settings can affect more than the one UPPER formula, so consider the workbook’s broader calculation needs before changing the setting.

Also confirm that the source cell actually changed. If the result refers to A2 but you edited A3, the displayed output will not follow the edit. Select the result cell and inspect its formula bar to verify the reference. On Mac, the ribbon and calculation controls may be arranged differently, but the same principle applies: check Excel’s calculation options and the cell reference.

Numbers, dates, and formatted identifiers

UPPER is designed to change text case, not preserve how numbers are displayed. A date stored as a numeric date value or a number displayed with a custom format may not behave like text when passed to a text function. For example, a product code displayed as 00057 because of a custom number format may be stored as the number 57. Converting that underlying value does not reliably retain the displayed leading zeros.

If leading zeros or an exact date display matter, decide how the source should be represented before converting it. Store identifiers as text when the zeros are part of the identifier, or construct a text value using an appropriate format before applying UPPER. Keep the original data if you may need to use it for numeric calculations or date arithmetic. Do not assume the visible appearance of a cell is the same as its stored value.

A useful way to diagnose this is to click the source cell and inspect the formula bar and its number format. If the formula bar shows a numeric value while the grid shows a specially formatted label, UPPER is acting on the underlying value, not copying the visual formatting.

Apply UPPER to a list

For a conventional worksheet, enter a formula beside the first source value and fill it down. With source text in A2:A20 and output beginning in B2, enter =UPPER(A2) in B2, then use the fill handle or copy the formula down to B20. Excel adjusts the reference for each row, so B3 refers to A3 and so on. Check a few rows, especially where the source includes spaces or non-text values.

In Microsoft 365 or Excel 2021, a dynamic-array formula can convert a range at once. With source text in A2:A10 and an empty output area beginning at B2, enter =UPPER(A2:A10) in B2. Excel can spill the results into B2:B10. Keep that output area clear; if another value blocks the spill, Excel reports a #SPILL! error. In older versions without dynamic-array behavior, use the fill-down approach instead.

If you need to replace the original entries, first preserve a copy or work in a separate column. Once the results are correct, you can copy them and use Paste Special > Values over the original cells. That replaces formulas with their current text results, so the values will no longer update when the source changes.

Common errors and what they suggest

A #NAME? error commonly indicates that Excel does not recognize a function name or part of the formula. Check for a spelling mistake, an incomplete formula, or text that Excel is interpreting as an unrecognized name. In the English-language Excel interface, the function name is UPPER. In some localized Excel installations, function names or argument separators may differ; if Excel rejects a copied formula, follow the syntax used by that installation.

A #SPILL! error is relevant when using a range formula that returns multiple results in Microsoft 365 or Excel 2021. Clear the cells where the results need to appear, and check for merged cells or other obstructions in the spill area. For a single-cell reference, a spill is not normally expected.

If Excel accepts the formula but returns unexpected text, inspect the source value, number format, and invisible spaces rather than repeatedly retyping the function. If a formula uses several arguments, your regional settings may expect a different list separator; the basic UPPER formula has only one argument, so it does not require a separator.

UPPER compared with other case options

Choose the function according to the result you need. UPPER makes letters uppercase; LOWER converts them to lowercase; PROPER capitalizes the first letter of each word and changes other letters to lowercase. PROPER can be unsuitable for names or terms whose capitalization is intentionally unusual, so review its output rather than assuming it will follow every style convention.

These functions return transformed text in a formula cell; they do not change the source value. If the goal is simply to display text in uppercase without creating a second result column, Excel’s standard cell formatting does not provide a general uppercase display switch for arbitrary text. A formula or a deliberate data transformation is usually the practical route.

Frequently Asked Questions

Why does Excel display =UPPER(A2) in the cell? The cell may be formatted as Text, the formula may start with an apostrophe, or Show Formulas may be enabled. Set the cell to General, re-enter the formula, and check Formulas > Formula Auditing > Show Formulas.

Does UPPER change the original cell? No. It returns an uppercase result in the formula cell and leaves the source unchanged. To replace the source, copy the results and paste values over the original only after keeping any data you need.

Why does UPPER leave some characters unchanged? It changes lowercase letters, not numbers or punctuation, and uppercase letters already need no change. Spaces also remain unless you separately clean them.

Can I use UPPER on an entire column? You can fill a single-cell formula down alongside the column. In Microsoft 365 or Excel 2021, a range reference can return a spilled array, provided the output cells are clear. Avoid placing a spill formula where its results could overwrite existing data.

Why did the formula not update after I edited the source? Check that the formula references the edited cell and that calculation is set to Automatic. In Manual calculation mode, press F9 on Windows to recalculate, or change the calculation option.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Errors & fixes

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.