Function Problems

Capitalize the First Word in Each Excel Cell

Huma Ashraf ChHuma Ashraf Ch Nov 18, 2026 869 views

Question details

Uppercase the first word in each cell without changing the rest of the text.

Capitalize the First Word in Each Excel Cell
Product
Microsoft Excel
Device & OS
not provided
Scenario
A column contains names or other text strings of varying lengths, and only the first word should be capitalized.
Observed behavior
The desired result is an uppercase first word with subsequent words and their existing capitalization unchanged.
Before you start

Identify the column containing the text and choose an empty adjacent column for the results. The formulas below assume the text starts with a word and uses a regular space to separate words.

Solution 1Recommended

Use a Formula That Works in Older and Newer Excel Versions

Use this formula to uppercase the first word, including when a cell contains only one word.

1
Select an empty cell

Click B2 if the first text value is in A2.

2
Enter the formula

Type =UPPER(LEFT(A2,FIND(" ",A2&" ")-1))&MID(A2,FIND(" ",A2&" "),LEN(A2)) and press Enter.

3
Fill the column

Drag the fill handle at the bottom-right corner of B2 down to apply the formula to the other rows.

Use a Formula That Works in Older and Newer Excel Versions
How the result looks: For example, “jane van Dyke” becomes “JANE van Dyke.” The formula preserves the text and spaces after the first word.
Work with names in WPS Spreadsheets

Uppercase the First Word in WPS Spreadsheets

Use a formula in WPS Spreadsheets to uppercase the first word while keeping the rest of each cell unchanged.

  1. 1. Open your spreadsheet: Open WPS Spreadsheets and select the workbook containing your text.
  2. 2. Select a result cell: Click B2 next to the first value in A2.
  3. 3. Enter the formula: Enter =UPPER(LEFT(A2,FIND(" ",A2&" ")-1))&MID(A2,FIND(" ",A2&" "),LEN(A2)) and press Enter.
  4. 4. Fill down: Drag the fill handle from B2 down to calculate results for the remaining rows.
Uppercase first names without changing surnamesHandle single-word entries and different text lengthsOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interface for free
microsoft office alternative - wps office

Frequently Asked Questions

What happens if a cell contains only one word?

Both formulas uppercase the whole word. For example, “jane” becomes “JANE.”

How can I capitalize only the first letter instead of the whole first word?

In B2, enter =UPPER(LEFT(A2,1))&MID(A2,2,LEN(A2)). This changes the first character and leaves every other character as it was.

Can I replace the original text with the formula results?

Copy the results column, select the original cells, and use Paste Special > Values to replace the original text with the calculated values.

Why does the formula not change a cell that starts with a space?

The formulas treat the first space as the end of the first word. Remove leading spaces before applying the formula if the first word should be capitalized.