How to Capitalize Everything in Excel: 4 Ways

How-to basics · Updated November 23, 2026

To capitalize everything in Excel, use the UPPER function: in a blank cell, type =UPPER(A1) (where A1 holds your text) and press Enter, then drag the fill handle down. This converts all letters to uppercase; for one-off changes without formulas, use Flash Fill (Ctrl+E) or paste into Word, apply All Caps, and copy back.

Why Excel Lacks a One-Click Capitalize Button

Unlike Word, Excel’s ribbon has no “Change Case” command. Word’s Shift+F3 cycles through lowercase, UPPERCASE, and Capitalize Each Word, but Excel assigns that shortcut to inserting a function argument. This gap exists because Excel is built for data manipulation, not document formatting—changing case in a cell alters its value, which can break lookups, formulas, or data validation. So Microsoft leaves case conversion to functions and workarounds.

The UPPER Function: The Standard Method

The UPPER function is the direct answer. It takes one argument—a text string or cell reference—and returns all letters in uppercase. Numbers, spaces, and punctuation are unaffected.

Steps:

  1. Assume your text is in A2:A10. In B2, type =UPPER(A2).
  2. Press Enter. B2 now shows A2’s text in caps.
  3. Click B2’s fill handle (the small square at the bottom-right corner) and drag down to B10.

Example: A2 contains “hello world”. B2 returns “HELLO WORLD”. If A2 contains “123 Main St.”, B2 returns “123 MAIN ST.” (numbers unchanged).

For a single cell, you can also type =UPPER("text") directly, but referencing a cell is more practical.

Flash Fill: No Formulas Needed

Flash Fill (Excel 2013 and later) detects a pattern and fills the rest. It’s ideal when you want to replace the original data with uppercase values, not keep a formula.

  1. In the cell next to your first data cell (e.g., B2), type the uppercase version manually (e.g., “HELLO WORLD”).
  2. Press Enter, then start typing the next cell’s uppercase value. Excel will show a preview of the remaining cells in grey.
  3. Press Ctrl+E (Windows) or Cmd+E (Mac) to accept the fill.

Flash Fill works best with consistent patterns. If your data has mixed formats (e.g., “john SMITH” vs “JANE DOE”), it may misdetect—then type a few more examples manually before pressing Ctrl+E.

Paste into Word: Quick One-Time Fix

If you need uppercase only for printing or a report, copy the Excel range (Ctrl+C), open Word, paste (Ctrl+V), select the pasted text, and press Ctrl+Shift+A (Windows) to apply All Caps. Copy it back to Excel (Ctrl+C, then in Excel paste as values). This avoids formulas entirely but creates a static result—any future edits to the original won’t update.

VBA Macro: Automate for Large or Recurring Tasks

For hundreds of rows or repeated use, a macro converts selected cells to uppercase in place. Before running, save a copy of your workbook (macros cannot be undone with Ctrl+Z).

Sub CapitalizeSelection()
    Dim cell As Range
    For Each cell In Selection
        If cell.HasFormula = False Then
            cell.Value = UCase(cell.Value)
        End If
    Next cell
End Sub

To use: press Alt+F11 to open the VBA editor, Insert > Module, paste the code, close the editor, select your cells, then press Alt+F8 to run “CapitalizeSelection”. The If cell.HasFormula = False line prevents overwriting formulas—a safety measure.

How to Choose: Formula vs. Flash Fill vs. Macro

  • UPPER function—use when you want a live link to the original data (changing A2 updates B2). Good for dashboards or when you need both versions.
  • Flash Fill—use for a one-time cleanup where you want to replace the original values with uppercase. Fastest for small to medium datasets.
  • Word paste—use when you don’t want any formulas or macros and the result is static. Best for a single report.
  • VBA macro—use for very large datasets or if you repeat this task weekly. It modifies cells in place without extra columns.

If your data contains dates or numbers formatted as text, UPPER will not change their display format—only letters become uppercase.

Common Problems and Fixes

  • UPPER returns #VALUE!—the argument contains a cell reference to an error value (e.g., #N/A). Fix the source error first.
  • Flash Fill doesn’t trigger—ensure you’re typing in an adjacent column and that Excel’s Flash Fill is enabled (File > Options > Advanced > “Automatically Flash Fill”).
  • Uppercase breaks VLOOKUP—if your lookup table has mixed case, converting only the lookup value won’t help. Use =UPPER() on both the lookup value and the table’s key column, or use XLOOKUP with the match mode set to case-insensitive (Excel’s default is case-insensitive for text).
  • Accented characters—UPPER converts é to É, ü to Ü, etc. correctly in most locales.

Frequently Asked Questions

How do I capitalize only the first letter of each word?

Use the PROPER function: =PROPER(A1) capitalizes the first letter of each word and lowercases the rest. For example, “hello WORLD” becomes “Hello World”. It does not handle apostrophes well (e.g., “o’brien” becomes “O’Brien”—acceptable, but “d’angelo” becomes “D’Angelo” incorrectly).

Can I use a keyboard shortcut to uppercase in Excel?

No built-in shortcut exists. The closest is Flash Fill’s Ctrl+E, but that requires typing the first example manually. Word’s Shift+F3 does not work in Excel.

Does UPPER work on numbers or dates?

No. UPPER only affects letters. Numbers and dates remain unchanged. If you have text that looks like a number (e.g., “123abc”), UPPER will change only the letters: “123ABC”.

How do I remove the formula after converting to uppercase?

Select the column with formulas, copy (Ctrl+C), then right-click and choose Paste Special > Values. This replaces formulas with static uppercase text, so you can delete the original column.

Why does my UPPER function not update when I change the source cell?

Check that calculation mode is set to Automatic (Formulas > Calculation Options > Automatic). If it’s Manual, press F9 to recalculate. Also ensure the cell isn’t formatted as Text—if so, re-enter the formula after changing the format to General.

Can I capitalize in Excel for the web or Mac?

Yes. UPPER and Flash Fill work identically in Excel for the web and Mac. The shortcuts differ: Flash Fill is Ctrl+E on Windows, Cmd+E on Mac; on the web, Ctrl+E works in most browsers. VBA is not available on Excel for the web.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

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

Spotted an error in this guide? Let us know.