Capitalize the First Word in Each Excel Cell
Question details
Uppercase the first word in each cell without changing the rest of the text.

- 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.
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.
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.
Click B2 if the first text value is in A2.
Type =UPPER(LEFT(A2,FIND(" ",A2&" ")-1))&MID(A2,FIND(" ",A2&" "),LEN(A2)) and press Enter.
Drag the fill handle at the bottom-right corner of B2 down to apply the formula to the other rows.

Use TEXTBEFORE and TEXTAFTER in a Supported Excel Version
Use this shorter approach if your Excel version supports TEXTBEFORE and TEXTAFTER.
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. Open your spreadsheet: Open WPS Spreadsheets and select the workbook containing your text.
- 2. Select a result cell: Click B2 next to the first value in A2.
- 3. Enter the formula: Enter =UPPER(LEFT(A2,FIND(" ",A2&" ")-1))&MID(A2,FIND(" ",A2&" "),LEN(A2)) and press Enter.
- 4. Fill down: Drag the fill handle from B2 down to calculate results for the remaining rows.

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.




