ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Text
  3. Capitalize Only the First Letter in Excel (Sentence Case)

Capitalize Only the First Letter in Excel (Sentence Case)

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

To capitalize only the first letter in Excel, use =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))). LEFT takes the first character and UPPER makes it a capital; MID takes the rest and LOWER makes it small. To keep the rest exactly as typed, drop LOWER: =UPPER(LEFT(A2,1))&MID(A2,2,LEN(A2)). Excel has no built-in sentence case function.

Key takeaways

  • Sentence case is UPPER on the first character plus LOWER on the rest: =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))).
  • Drop LOWER to capitalize the first letter but leave words like NYC or iPhone untouched.
  • PROPER capitalizes every word, which is title case, not sentence case.
  • Wrap the cell in TRIM first if the text might start with a space.
  • Formulas go in a helper column; paste the results as values to replace the original text.
On this page+
  1. The sentence case formula
  2. How to use it on a whole column
  3. How to capitalize the first letter but keep the rest
  4. Sentence case vs PROPER
  5. Fix spaces before you capitalize
  6. Capitalize and join in one formula
  7. Flash Fill: the no-formula option
  8. Common mistakes
  9. Practise it

To capitalize the first letter in Excel and make the rest small, combine four functions: =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))). This is called sentence case, like "Order shipped today". Excel has no button or single function for it, so this formula is the standard fix. This guide explains each part, shows a version that leaves the rest of the text alone, and covers the spaces and other traps that stop it from working.

The sentence case formula#

The formula splits the text into the first character and everything after it, changes the case of each part, and joins them again.

Excel formula
=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)))
PartWhat it doesFor "oRDER SHIPPED today"
LEFT(A2,1)Takes the first charactero
UPPER(...)Makes it a capitalO
MID(A2,2,LEN(A2))Takes everything from character 2 onwardRDER SHIPPED today
LOWER(...)Makes it smallrder shipped today
&Joins the two partsOrder shipped today

LEN(A2) counts the characters in the cell. MID asks for that many characters starting at position 2, which is always enough to reach the end. Asking MID for more characters than exist is fine; it simply stops at the end of the text. The LEFT function guide, MID function guide and LEN function guide cover each function, and the article on LEFT, RIGHT and MID shows more ways to cut text apart.

How to use it on a whole column#

You can't change text in place with a formula, so work in a helper column and then replace the original.

  1. In B2, type =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))) and press Enter.
  2. Fill it down: double-click the fill handle, or select the range and press Ctrl+D (Mac: ⌘D).
  3. Copy column B, then paste it over column A as values (Windows: Ctrl+Alt+V, then V, then Enter; Mac: ⌃⌘V, then choose Values).
  4. Delete the helper column.
A (before)B (formula result)
2oRDER SHIPPED todayOrder shipped today
3LATE PAYMENT RECEIVEDLate payment received
4call back on mondayCall back on monday

Notice row 4: "monday" stays small. The formula only knows about the first letter of the cell, not about names or days. Fix those by hand or with SUBSTITUTE.

How to capitalize the first letter but keep the rest#

Sometimes the rest of the text is already correct and contains capitals you want to keep, like NYC, iPhone or a product code. Leave out LOWER:

Excel formula
=UPPER(LEFT(A2,1))&MID(A2,2,LEN(A2))

For "the NYC office is open", this returns The NYC office is open. The sentence case formula would return "The nyc office is open", which is wrong.

A shorter alternative uses REPLACE to swap only the first character:

Excel formula
=REPLACE(A2,1,1,UPPER(LEFT(A2,1)))

REPLACE starts at character 1, removes 1 character and puts the capital in its place. Use =REPLACE(LOWER(A2),1,1,UPPER(LEFT(A2,1))) for full sentence case.

Sentence case vs PROPER#

PROPER is the built-in function people try first, but it does something different. It capitalizes the first letter of every word.

TextPROPERSentence case formula
order shipped todayOrder Shipped TodayOrder shipped today
mcdonaldMcdonaldMcdonald
it's readyIt'S ReadyIt's ready

Use PROPER for names and titles, and the sentence case formula for descriptions, notes and status messages. The guide to changing case with UPPER, LOWER and PROPER covers PROPER's quirks, such as the capital after an apostrophe.

Fix spaces before you capitalize#

If the text starts with a space, the formula capitalizes the space, and the first letter stays small. Data copied from emails, forms and web pages often has these hidden spaces. Wrap every A2 in TRIM:

Excel formula
=UPPER(LEFT(TRIM(A2),1))&LOWER(MID(TRIM(A2),2,LEN(TRIM(A2))))

For " late payment received ", the result is Late payment received, with the extra spaces gone. TRIM removes spaces at both ends and turns double spaces inside the text into single ones. The guide to cleaning messy data covers other invisible characters, and you can practise cleaning text in a live spreadsheet.

In Microsoft 365, the LET function can store TRIM(A2) once so you don't repeat it. The formula above works in every version.

Capitalize and join in one formula#

Because the result is just text, you can join it with other pieces using &. A common task is a display name such as "Priya S." from a first and last name typed in lower case:

Excel formula
=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)))&" "&UPPER(LEFT(B2,1))&"."

With priya in A2 and sharma in B2, the result is Priya S.. The first part is the sentence case formula, then a space, then the first letter of the last name as a capital, then a full stop. The guide to getting initials from a name builds on the same LEFT trick, and how to combine text in Excel covers &, CONCAT and TEXTJOIN. Practise joining text to get quick with &.

Flash Fill: the no-formula option#

Flash Fill copies a pattern you type. In the column next to your text, type the first result the way you want it, such as "Order shipped today". Then press Ctrl+E on Windows, or use Data > Flash Fill on a Mac. Excel fills the rest of the column.

Flash Fill is fast for a one-time clean-up, but the results don't update if the original text changes, and it can guess the pattern wrong. Check a few rows. A formula is safer when the data will change or when a test asks for one.

Common mistakes#

These cause most sentence case problems:

  1. Leading spaces. The first "character" is a space. Use TRIM.
  2. Starting MID at 1. MID(A2,1,LEN(A2)) repeats the first letter: "Oorder shipped today". Start at 2.
  3. Using PROPER. It gives title case, not sentence case.
  4. Expecting more than one sentence to be fixed. The formula only capitalizes the first letter of the cell. A second sentence after a full stop stays small.
  5. Checking case with =. In Excel, ="abc"="ABC" returns TRUE, because the equals sign ignores case. Use EXACT to check that the case really changed.

Practise it#

Sentence case uses four basic text functions at once, which makes it a great test of your text skills. Practise LEFT, RIGHT, MID and LEN in a live spreadsheet, then practise cleaning text: you type each formula and ExcelReady checks it instantly. Start with the display-name exercise on this page.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Build a display name like Priya S. from the lower-case names. Click C2 and capitalize the first name in A2 with UPPER, LEFT, LOWER, MID and LEN, then add a space, the capital first letter of B2 and a full stop.

fx
ABCD
1
First
Last
Display name
2
priya
sharma
3
jONAS
berg
4
ana
LOPEZ
5
6
7

Tip: Sentence case for A2 is UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))). Then join " ", UPPER(LEFT(B2,1)) and "." with &.

Practise this in a lesson

LessonCleaning messy textFix stray spaces, random capitals and inconsistent separators in imported data with TRIM, PROPER, UPPER, LOWER and SUBSTITUTE.LessonLEFT, RIGHT, MID and LENSplit product codes and IDs into their parts by taking characters from the start, end or middle of the text.LessonJoining text: &, CONCAT and TEXTJOINBuild full names, addresses and tag lists by joining text with &, CONCAT and TEXTJOIN.Function guideLEFTPull the first characters from a cell with Excel's LEFT: prefixes, initials and first names. Examples, pitfalls and live practice.Function guideMIDPull characters from any position with Excel's MID. Extract IDs, email domains and text between brackets with FIND. Examples and live practice.Function guideLENCount characters with Excel's LEN: check length limits, find stray spaces and count commas with SUBSTITUTE. Examples and a live exercise.

Frequently asked questions

How do I capitalize only the first letter in Excel?

+

Use =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))). It makes the first character a capital and every other letter small, which is sentence case.

How do I capitalize the first letter without changing the rest?

+

Leave out LOWER: =UPPER(LEFT(A2,1))&MID(A2,2,LEN(A2)). The first letter becomes a capital and everything after it stays exactly as it was typed.

Is there a sentence case function in Excel?

+

No. Excel has UPPER, LOWER and PROPER, but no sentence case function. You build sentence case from UPPER, LEFT, LOWER, MID and LEN, or use Flash Fill.

Why doesn't PROPER give sentence case?

+

PROPER capitalizes the first letter of every word, so "order shipped today" becomes "Order Shipped Today". For only the first letter, use the UPPER and LEFT formula instead.

Why is the first letter still small after my formula?

+

The cell probably starts with a space, so UPPER capitalizes the space. Wrap the cell in TRIM: =UPPER(LEFT(TRIM(A2),1))&LOWER(MID(TRIM(A2),2,LEN(TRIM(A2)))).

Sources

  • LEFT, LEFTB functions - Microsoft Support
  • MID, MIDB functions - Microsoft Support
  • LEN, LENB functions - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. The sentence case formula
  2. How to use it on a whole column
  3. How to capitalize the first letter but keep the rest
  4. Sentence case vs PROPER
  5. Fix spaces before you capitalize
  6. Capitalize and join in one formula
  7. Flash Fill: the no-formula option
  8. Common mistakes
  9. Practise it

Keep reading

Text· 5 min read

Change Case in Excel: UPPER, LOWER and PROPER

Excel has no Change Case button, so you use a formula in a helper column: =UPPER(A2) for capitals, =LOWER(A2) for small letters, and =PROPER(A2) to capitalise each word. Then copy the results and paste them back as values to replace the original text. Flash Fill is a quick alternative for simple lists.

Text· 7 min read

Get Initials From a Name in Excel

To get initials from a name in Excel, take the first letter of the first name and the first letter after the space: =LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1) turns Maria Lopez into ML. In Microsoft 365 or Excel 2024, =CONCAT(LEFT(TEXTSPLIT(A2," "))) returns the initials of every word, including middle names.

Text· 6 min read

LEFT, RIGHT and MID in Excel: Pull Out Part of a Cell

LEFT, RIGHT and MID pull part of the text out of a cell. LEFT(text, num_chars) takes characters from the start, RIGHT(text, num_chars) takes them from the end, and MID(text, start_num, num_chars) takes them from any position. For TX-ELC-40512, LEFT(A2,2) gives TX, MID(A2,4,3) gives ELC and RIGHT(A2,5) gives 40512.

More on text

  • Clean Messy Data in Excel With TRIM, CLEAN and PROPER
  • Combine a Date With Text in Excel (Without Numbers)
  • How to Combine Text in Excel (&, CONCAT, TEXTJOIN)
  • Compare Two Cells in Excel (Exact, Ignoring Case or Spaces)
  • Concatenate With a Space, Comma or Dash in Excel
  • Count Characters and Words in a Cell in Excel
All text articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free