How to Capitalize Each Letter in Excel: Step-by-Step
In this article
To capitalize each letter in Excel, use the UPPER function: in a blank cell, type =UPPER(A1) where A1 holds your text, then press Enter. That returns the entire string in capitals. To apply it to a whole column, put the formula in the first row, drag the fill handle down, then copy the results and use Paste Special > Values to replace the originals if you want static text.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (the UPPER function works in all versions).
- Your text in a column, with one value per cell.
- A blank column next to your data for the formula results.
- Optional: a helper column if you want to keep the original text intact.
Step-by-Step
- Open your workbook and locate the column that contains the text you want to capitalize. For this example, assume the text is in column A, starting at A2.
- Click the first empty cell in the column immediately to the right (for example, B2).
- Type
=UPPER(A2)and press Enter. The cell now shows the text from A2 in all capital letters. - Select cell B2 again. Hover over the small square at the bottom-right corner of the cell (the fill handle) until the cursor becomes a thin cross.
- Double-click the fill handle to copy the formula down to the last row of your data, or drag it down manually. Every row now has its capitalized version.
- If you want to replace the original text with the capitalized version, select the new column, press Ctrl+C (Cmd+C on Mac), then right-click the original column and choose Paste Special > Values. This overwrites the original text with the static capitalized results.
- Delete the helper column if you used one. Save your workbook.
Note: Menu labels can differ slightly by Excel version, device, or region. The UPPER function itself is consistent across all versions.
Common Mistakes
- Forgetting to convert formulas to values. If you delete the original column before pasting as values, the formulas will show #REF! errors. Always paste as values first.
- Using the wrong cell reference. Make sure the formula points to the correct cell. If you type
=UPPER(A1)but your data starts in A2, you will capitalize the header instead. - Expecting UPPER to change the original cell. UPPER only returns a new value; it does not modify the source cell. You must copy and paste the result back if you want to replace the original.
- Applying UPPER to numbers or dates. UPPER works on text. Numbers and dates are unaffected, but if a cell contains a mix of text and numbers, the text portion will be capitalized.
- Dragging the formula without anchoring. If you copy the formula to another sheet or location, relative references may shift. Use absolute references (e.g.,
=UPPER($A$2)) if needed.
Tips
- To capitalize only the first letter of each word (proper case), use the PROPER function:
=PROPER(A2). For sentence case (first letter of the first word only), use=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)-1)). - You can combine UPPER with other functions. For example,
=UPPER(TRIM(A2))removes extra spaces before capitalizing. - If you need to capitalize text in multiple columns, apply the formula to each column or use a single formula with concatenation.
- Use Excel's Flash Fill (Ctrl+E) as a quick alternative: type the capitalized version of the first entry in the adjacent column, then press Ctrl+E and Excel will attempt to fill the rest. Always verify the results, as Flash Fill can be inconsistent.
- For large datasets, consider using Power Query to transform text to uppercase without formulas. Select your data, go to Data > From Table/Range, then use Transform > Format > UPPERCASE.
Troubleshooting
- The formula returns #NAME? This means Excel does not recognize UPPER. Check for typos or ensure you are using a standard Excel version (not a limited viewer).
- The formula shows the formula text instead of the result. The cell may be formatted as Text. Change the format to General, then re-enter the formula.
- Results are correct but you cannot paste as values. Make sure you copied the cells, not just selected them. Then use Paste Special > Values. On Mac, use Edit > Paste Special > Values.
- Some cells remain unchanged. Check if those cells contain leading spaces or non-printing characters. Use TRIM or CLEAN to remove them before applying UPPER.
- You accidentally overwrote original data. Immediately press Ctrl+Z (Cmd+Z on Mac) to undo. If you saved and closed the file, you may need to restore from a backup or previous version.
Frequently Asked Questions
Can I capitalize all letters without a formula?
Yes, you can use Flash Fill: type the capitalized version of the first entry in the adjacent column, then press Ctrl+E and Excel will fill the rest. However, Flash Fill may not work perfectly for all data, so verify the results.
Does UPPER work on text in multiple cells at once?
UPPER works on one cell at a time. To apply it to a range, enter the formula in the first cell and drag it down or across. Alternatively, use an array formula (Ctrl+Shift+Enter) in older Excel versions, or just rely on dynamic arrays in Excel 365.
What is the difference between UPPER and PROPER?
UPPER converts all letters to uppercase. PROPER capitalizes the first letter of each word and converts the rest to lowercase. Use PROPER for names or titles.
Can I capitalize text in Excel Online?
Yes, Excel for the web supports the UPPER function and Flash Fill. The steps are the same as in the desktop version.
How do I capitalize only the first letter of a cell?
Use the formula =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)-1)). This converts the first character to uppercase and the rest to lowercase.
Will UPPER change the original data?
No, UPPER returns a new value in the cell where you enter the formula. To replace the original data, copy the results and paste them as values over the original cells.