How to Format Text Case Using the LOWER, UPPER, and PROPER Functions in Excel

When you import raw data from a poorly formatted external database or a sloppy web form, text casing is often a disaster. You might see a name formatted as “jOhN sMiTh” or a company listed in aggressive all-caps like “MICROSOFT CORPORATION”. Fixing this formatting manually across thousands of rows is impossible. To instantly sanitize and standardize text formatting, you must use Microsoft Excel’s trifecta of casing functions: LOWER, UPPER, and PROPER.

Converting Text to Lowercase

The LOWER function aggressively forces every single alphabetical character inside a cell into lowercase letters. It is highly useful for generating email addresses out of names, as email systems generally prefer lowercase formatting.

The syntax is incredibly simple: =LOWER(text)

If cell A2 contains the messy text [email protected], click into cell B2 and type:

=LOWER(A2)

Excel instantly sanitizes the string and outputs the clean result: [email protected]. Numbers and punctuation marks are completely ignored and remain perfectly intact.

Converting Text to Uppercase

The UPPER function does the exact opposite, aggressively forcing every alphabetical character into capital letters. This is frequently used in financial databases for standardizing stock ticker symbols or international country codes.

If cell A2 contains the text aapl, click into cell B2 and type:

=UPPER(A2)

The formula instantly converts the text into the standardized corporate format: AAPL.

Capitalizing Names with the PROPER Function

While LOWER and UPPER are blunt instruments, the PROPER function acts as a smart editor. It scans a cell, capitalizes the very first letter of every single word, and forces the rest of the letters into lowercase. This is the absolute best tool for cleaning up human names and street addresses.

If cell A2 contains the text jOhN fItZgErAlD sMiTh, click into cell B2 and type:

=PROPER(A2)

Excel parses the string, identifies the beginning of the three distinct words, and perfectly formats the output as a professional name: John Fitzgerald Smith.

How to Overwrite the Raw Data

It is important to remember that these formulas calculate their results in a new column (e.g., Column B), while your messy raw data remains untouched in Column A. You cannot simply delete Column A, because Column B relies on it for the calculation.

To permanently replace the messy data with the clean data:

  1. Highlight your clean Column B.
  2. Press Ctrl + C to copy the entire column.
  3. Right-click on the top cell of the messy Column A.
  4. Under the “Paste Options” menu, select Paste Values (the icon with the clipboard and the 123 numbers).

This strips away the background formula and pastes the hardcoded, clean text directly over the messy data, allowing you to safely delete Column B entirely.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.