How to Capitalize Multiple Cells in Excel
In this article
Excel has no single button that instantly capitalizes a whole range, but you can do it in a few clicks with a helper formula or with a quick macro. The formula method is the safest and works in every version: type =UPPER(A1) in an empty column, fill it down, then copy and paste the results back as values over the original text. For repeated jobs, a short VBA macro or the Flash Fill feature can save time.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (the formula method works in all of them; macros and Flash Fill are desktop-only).
- A spreadsheet with the text you want to uppercase.
- An empty column next to your data so you can hold the converted results without overwriting anything.
Step-by-Step
- Make a backup copy first. Save your workbook with a new name (File > Save As) before you change any text. Pasting values over the original data cannot be undone with Ctrl+Z once the file is closed, so a copy is your safety net.
- Pick an empty helper column. If your text is in column A starting at A1, click the first empty cell in column B (B1) or any column to the right that has nothing in it. Leave at least one blank column between your data and the helper column so you do not overwrite anything.
- Enter the UPPER formula. Type
=UPPER(A1)and press Enter. This returns the text from A1 in all capital letters. If A1 is a number or a date, UPPER leaves it unchanged, so the formula is safe to run across mixed columns. - Fill the formula down. Click the small square at the bottom-right corner of the cell with the formula and drag it down to the last row of your data. Alternatively, double-click that square and Excel fills down automatically as far as the adjacent column has data. You can also select the range and press Ctrl+D (Windows) or Command+D (Mac).
- Check the results. Scan the helper column. Blank source cells produce blank results, and text that is already uppercase stays the same. If you see errors such as #VALUE!, the source cell likely contains something Excel cannot treat as text, such as a formula error.
- Copy the helper column. Select the cells with the UPPER results and press Ctrl+C (Windows) or Command+C (Mac).
- Paste as values over the original. Select the first cell of your original data (A1 in this example), then use Paste Special. On Windows, right-click and choose Paste Special > Values, or press Ctrl+Alt+V and pick Values. On Mac, use Edit > Paste Special > Values. This replaces the original text with the capitalized text and removes the formulas.
- Delete the helper column. Select the column with the UPPER formulas and delete it (right-click the column header > Delete). Your original column now holds capital letters and the sheet is clean.
If you prefer not to use formulas, Flash Fill can capitalize a list in one go on desktop Excel. Type the capitalized version of the first entry in the cell next to it, press Enter, then start typing the second entry. Excel usually suggests the rest of the column; press Enter to accept. Flash Fill is not available in Excel for the web, and it can be inconsistent with names or mixed formats, so check the results before deleting the original column.
For a repeatable one-click job, a small macro works on desktop Excel. Press Alt+F11 (Windows) or Option+F11 (Mac) to open the editor, insert a module, and paste a short procedure that loops through the selected cells and applies UCase to each one. Macros must be saved in a macro-enabled workbook (.xlsm), and Excel may ask you to enable macros when you reopen the file. Only run macros you wrote or received from a trusted source.
Common Mistakes
- Overwriting the original before checking. Always review the helper column first. If a formula returns something unexpected, you still have the original text to fall back on.
- Pasting formulas instead of values. A normal paste puts
=UPPER(A1)into A1, which creates a circular reference. Use Paste Special > Values. - Forgetting that UPPER changes everything. It capitalizes every letter, so "McDonald" becomes "MCDONALD" and email addresses become unreadable. For those, use
=PROPER(A1)for title case instead, or leave the column alone. - Assuming formatting is the same as text. Changing a cell's font to All Caps in the Format Cells dialog only changes how it looks; the underlying text stays lowercase and will export or copy as lowercase. Use UPPER when the actual characters need to change.
- Running Flash Fill on inconsistent data. Flash Fill learns from your examples, so mixed formats can produce wrong results. Spot-check the column before you delete the source.
Tips
- To capitalize only the first letter of each word, use
=PROPER(A1). To capitalize just the first letter of a sentence, combine=UPPER(LEFT(A1,1))&LOWER(MID(A1,2,LEN(A1)-1)). - If your data is in a formatted Excel table, enter the formula in the first data row and it fills down automatically.
- Work on a copy of the sheet, not the live file, when you are converting a large list for the first time.
- Keep the helper column until you have confirmed the paste worked, then delete it.
Troubleshooting
The formula shows as text. The cell is probably formatted as Text. Select the column, open Format Cells (Ctrl+1), choose General, then re-enter the formula.
I see #VALUE! errors. The source cell contains an error or something Excel cannot convert. Fix or clear the source cell and the UPPER result will update.
Paste Special is greyed out. You may be in cell-edit mode. Press Enter or Esc to leave the cell, then copy again.
Flash Fill does nothing. It is not available in Excel for the web, and it needs at least one example in the adjacent column. Type the first result manually, then try again.
Macros are blocked. Check Excel's Trust Center settings and enable macros only for files you trust. If your organization blocks macros, use the formula method instead.
Frequently Asked Questions
Can I capitalize multiple cells at once without a formula?
On desktop Excel, Flash Fill can do it after you type one or two examples. Otherwise, the UPPER formula is the reliable method and works in every version, including Excel for the web.
Does UPPER change numbers or dates?
No. UPPER only affects letters. Numbers and dates pass through unchanged, so it is safe to apply to a mixed column.
What is the difference between UPPER and PROPER?
UPPER makes every letter a capital. PROPER capitalizes the first letter of each word and lowercases the rest, which suits names and titles but can mangle acronyms.
Will changing the font to All Caps change the actual text?
No. Font formatting only changes the display. The stored text stays as typed, so use a formula or macro when the characters themselves need to change.
Can I undo the paste if I make a mistake?
Yes, immediately after pasting, press Ctrl+Z (Windows) or Command+Z (Mac). Once the file is saved and closed, the change is permanent, which is why a backup copy matters.
Does this work in Google Sheets?
Yes. Google Sheets supports the same UPPER formula, and you can copy the results and use Paste special > Values only to replace the original text.