To capitalize text in Excel, use the UPPER function: type =UPPER(A1) in an empty cell to convert the text in A1 to all uppercase. For proper case (first letter of each word capitalized), use =PROPER(A1). For sentence case (first letter of each sentence capitalized), use =UPPER(LEFT(A1,1))&LOWER(MID(A1,2,LEN(A1)-1)). These formulas work in all modern versions of Excel, including Excel for Microsoft 365, Excel 2019, 2021, and Excel for Mac. The steps below show how to apply them, copy the results, and avoid common pitfalls.
What You'll Need
- A computer with Excel installed (Windows or Mac). The steps apply to Excel 2016 and later, including Microsoft 365. Menu labels may differ slightly by version and region.
- Text data in a worksheet that you want to capitalize.
- An empty column or cell to hold the formula results (you can delete it later).
Step-by-Step
- Open your workbook and locate the column containing the text you want to capitalize. For example, suppose names are in column A, starting at A2.
- Click an empty cell in the same row, such as B2, where you want the capitalized result to appear.
- Type the formula for the capitalization style you want:
- All uppercase:
=UPPER(A2) - First letter of each word capitalized (proper case):
=PROPER(A2) - First letter of the first word only (sentence case):
=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)-1))
- All uppercase:
- Press Enter. The cell now shows the capitalized version of A2.
- Copy the formula down to the rest of your rows: click the small square at the bottom-right corner of the cell (the fill handle) and drag it down, or double-click the fill handle to auto-fill to the last adjacent row. Alternatively, copy the cell (Ctrl+C), select the range below, and paste (Ctrl+V).
- Convert formulas to values (optional but recommended). Select the cells with the formulas, press Ctrl+C, then right-click and choose Paste Special > Values. This replaces the formulas with plain text so you can delete the original column without breaking the results. On Mac, use Command+C and then Paste Special from the Edit menu.
- Replace the original data if desired. Copy the new values, paste them over the original column using Paste Special > Values, then delete the helper column. Always keep a backup copy of your sheet before overwriting data.
Common Mistakes
- Typing the formula as text. If you see the formula itself instead of the result, the cell is formatted as Text. Change the format to General (Home tab > Number Format dropdown) and re-enter the formula.
- Forgetting to anchor references when copying across columns. If you copy a formula sideways, relative references shift. Use absolute references like
$A2if needed. - Using PROPER on text with apostrophes or hyphens. PROPER capitalizes letters after apostrophes and hyphens (e.g., "O'neil" becomes "O'Neil"), which may not match your intended style. Check results and correct manually if necessary.
- Overwriting original data without a backup. Once you paste values over the source column, the original casing is lost. Save a copy first.
- Expecting formulas to update automatically after pasting values. Once converted to values, the text no longer changes if the source changes. That is normal.
Tips
- To capitalize only the first letter of a cell and keep the rest as-is, use
=UPPER(LEFT(A2,1))&MID(A2,2,LEN(A2)-1). - Use Flash Fill for quick one-off conversions: type the capitalized version in the first cell of a new column, then press Ctrl+E (Windows) or Command+E (Mac) and Excel fills the rest based on your pattern. Flash Fill works well for consistent data but can be unreliable with mixed formats; always verify the results.
- If you need to capitalize text inside a formula without a helper column, nest the function directly, e.g.,
=UPPER(CONCAT(A2," ",B2)). - For large datasets, consider using Power Query to transform text columns (Transform > Format > UPPERCASE/lowercase/ Capitalize Each Word). This keeps the original data intact and is repeatable.
- Remember that Excel functions do not change the underlying data unless you paste values; they only display a converted version.
Troubleshooting
- Formula returns #NAME? Check that you typed the function name correctly (UPPER, PROPER, LOWER). Ensure the cell references are valid.
- Formula returns #VALUE! The referenced cell may contain an error or a non-text value that cannot be converted. Check the source cell.
- Results look correct but sorting/filtering behaves oddly. Formulas recalculate based on row position; if you sort, references may shift. Convert to values before sorting.
- Flash Fill does not work. Flash Fill requires a clear pattern and works best when the first few rows are filled manually. If it fails, use the formula method instead.
- Text appears in all caps but you wanted proper case. You likely used UPPER instead of PROPER. Replace the formula.
- Mac users: Keyboard shortcuts differ; use Command instead of Ctrl for copy/paste, and find Paste Special under the Edit menu or right-click context menu.
Frequently Asked Questions
Can I capitalize text without a formula?
Yes, you can use Flash Fill (Ctrl+E) after typing an example, or use Power Query to transform the column. Both are built-in features and do not require formulas.
Does Excel have a "Change Case" button like Word?
No, Excel does not have a direct Change Case button. You must use functions (UPPER, LOWER, PROPER) or Flash Fill.
How do I capitalize only the first letter of each word but keep the rest lowercase?
Use the PROPER function: =PROPER(A2). Note that it capitalizes letters after apostrophes and hyphens as well.
Will the UPPER function change numbers or symbols?
No, UPPER only affects letters. Numbers, punctuation, and symbols remain unchanged.
Can I apply capitalization to an entire column at once?
You cannot apply a function to a whole column without a helper column, but you can enter the formula in the first cell and fill down. Alternatively, use Power Query to transform the entire column in one step.
What if my text is in a merged cell?
Formulas work with merged cells, but filling down may be tricky. It is often easier to unmerge, apply the formula, and remerge if needed. Be aware that merged cells can complicate sorting and filtering.