How to Change Text Case in Google Sheets: UPPERCASE, lowercase, Proper Case Names, Sentence Case and Duplicates That Differ Only in Case (2026)
Lists that come from forms, exports and many hands end up in every letter case: “ana ruiz”, “BEN COLE”, “Cara.Diaz@Example.com”. Google Sheets has three functions for this, UPPER, LOWER and PROPER, and with LEFT and MID you can build sentence case too. This guide converts a name, email and note column with built-in formulas, shows where PROPER gets names wrong, pastes the clean text back over the original, and explains what letter case does and doesn’t change when you look for duplicates.
The short answer
- UPPERCASE:
=UPPER(A2)(UPPER) - lowercase:
=LOWER(A2)(LOWER) - Capitalize Each Word:
=PROPER(A2)(PROPER) - Sentence case:
=IF(C2="", "", UPPER(LEFT(C2))&LOWER(MID(C2, 2, LEN(C2)))) - Make it permanent: copy the helper column and use Edit › Paste special › Values only over the original.
Wrap the cell in TRIM, as in =PROPER(TRIM(A2)), to remove stray spaces at the same time.
The example
A contact list with ten rows. Names and notes were typed in every case, two people appear twice (rows 2 and 4, rows 3 and 8) with their email written in different letter case, row 5 has two spaces between first and last name, and a few names have capitals or punctuation that need care.
| Row | A: Name | B: Email | C: Note |
|---|---|---|---|
| 2 | ana ruiz | ANA@EXAMPLE.COM | CALLED ABOUT RENEWAL |
| 3 | BEN COLE | ben@example.com | sent quote |
| 4 | Ana Ruiz | ana@example.com | Wants a demo |
| 5 | cara diaz (two spaces) | Cara.Diaz@Example.com | NEEDS FOLLOW-UP |
| 6 | mary-jane lee | mj.lee@example.com | left voicemail. call back friday |
| 7 | dev o'neil | Dev@Example.com | (blank) |
| 8 | ben cole | Ben@Example.com | SENT INVOICE |
| 9 | fay mcleod | fay@example.com | paid |
| 10 | DeShawn Price | deshawn@example.com | new lead |
| 11 | eli moss | ELI@example.com | (blank) |
The plan is three helper columns: D for the names, E for the emails and F for the notes. You can delete them once the clean text is pasted back.
Step 1: Proper Case names with PROPER
Put this in D2 and fill it down to D11:
=PROPER(TRIM(A2))
Google’s PROPER help page describes the result as the text “with the first letter of each word in uppercase and all other letters in lowercase”, so “ana ruiz” and “BEN COLE” become “Ana Ruiz” and “Ben Cole”. TRIM runs first and removes leading, trailing and repeated spaces, which fixes the double space in row 5.
| Row | D: =PROPER(TRIM(A2)) | E: =LOWER(TRIM(B2)) | F: Sentence case |
|---|---|---|---|
| 2 | Ana Ruiz | ana@example.com | Called about renewal |
| 3 | Ben Cole | ben@example.com | Sent quote |
| 4 | Ana Ruiz | ana@example.com | Wants a demo |
| 5 | Cara Diaz | cara.diaz@example.com | Needs follow-up |
| 6 | Mary-Jane Lee | mj.lee@example.com | Left voicemail. call back friday |
| 7 | Dev O'Neil | dev@example.com | (blank) |
| 8 | Ben Cole | ben@example.com | Sent invoice |
| 9 | Fay Mcleod | fay@example.com | Paid |
| 10 | Deshawn Price | deshawn@example.com | New lead |
| 11 | Eli Moss | eli@example.com | (blank) |
Where PROPER gets names wrong
The same help page warns that PROPER converts all characters not at the beginning of words to lowercase, and gives the example that PROPER("mcLeod") returns “Mcleod”. Row 9 shows exactly that, and row 10 shows the other side of it: “DeShawn Price” was already right and comes back as “Deshawn Price”. Two ways to handle it:
- After you paste the values back (Step 4), fix the few names with an inner capital by hand.
- Or only convert rows that are clearly wrong, such as all lowercase or all uppercase, and leave mixed-case names as they were typed.
Rows 6 and 7 show how PROPER treats a hyphen and an apostrophe: “mary-jane lee” becomes “Mary-Jane Lee” and “dev o'neil” becomes “Dev O'Neil”. PROPER is meant for names and places; Google notes that it capitalizes each word rather than the beginning of each sentence, so it is the wrong tool for notes or descriptions (see Step 3).
Step 2: lowercase emails, UPPERCASE codes
Email addresses are easiest to read, sort and compare in lowercase. Put this in E2 and fill down:
=LOWER(TRIM(B2))
“ANA@EXAMPLE.COM” and “Cara.Diaz@Example.com” become “ana@example.com” and “cara.diaz@example.com”. For columns that should be all capitals, such as state codes, SKUs or reference numbers, use UPPER the same way; on a name it gives “ANA RUIZ”:
=UPPER(TRIM(A2))
Step 3: sentence case for notes
Google Sheets has no sentence-case function, but you can build one: uppercase the first character and lowercase the rest. Put this in F2 and fill down:
=IF(C2="", "", UPPER(LEFT(C2))&LOWER(MID(C2, 2, LEN(C2))))
LEFT returns one character when you leave out the length, and MID starting at character 2 with LEN(C2) as the length returns the rest of the text, because MID simply stops at the end of the string. The IF(C2="", "", …) part keeps blank notes blank. “CALLED ABOUT RENEWAL” becomes “Called about renewal”. It only capitalizes the start of the cell: row 6 comes out as “Left voicemail. call back friday”, so a cell with several sentences still needs a manual touch.
Convert a whole column with one formula
Instead of filling a formula down, you can put one formula in the first cell of an empty column. ARRAYFORMULA lets functions such as PROPER and TRIM work on a whole range:
=ARRAYFORMULA(IF(A2:A="", "", PROPER(TRIM(A2:A))))
Blank names stay blank, and new rows added to column A are converted automatically. Swap PROPER for UPPER or LOWER for the other cases. The column below the formula must be empty, or the formula shows an error instead of filling it.
Step 4: replace the original text
The helper columns are formulas that read from A, B and C, so deleting the originals would break them. To make the change permanent:
- Right-click the sheet tab and choose Duplicate, so you have a copy to go back to.
- Select D2:D11 and copy it.
- Click A2 and choose Edit › Paste special › Values only.
- Do the same for E2:E11 into B2 and F2:F11 into C2, then delete columns D to F.
Now fix the exceptions from Step 1 (Fay McLeod, DeShawn Price) by hand.
Letter case and duplicates
Rows 2 and 4 are the same person, and so are rows 3 and 8, but their emails are written in different case. You might expect that to hide them from a duplicate check. It doesn’t, for Google Sheets’ own tools:
- Google’s COUNTIF help page says COUNTIF is not case sensitive. On the original column B,
=COUNTIF($B$2:$B$11, B2)already returns 2 for rows 2, 3, 4 and 8. - The Remove duplicates help page says cells with identical values but different letter cases are considered duplicates.
- A plain comparison ignores case too:
=A2=A4returns TRUE for “ana ruiz” and “Ana Ruiz”. Only EXACT compares case:=EXACT(A2, A4)returns FALSE, because EXACT requires the same characters, including identical case and identical spaces or hidden characters.
So converting case is mostly about how the list looks and how it exports, not about finding repeats. Extra spaces are a different matter, which is why the formulas above use TRIM, and Data › Data cleanup › Trim whitespace does the same for a selected range in place. Note that both leave non-breaking spaces alone: Google’s TRIM and Trim whitespace pages say non-breaking spaces are not trimmed.
Flag and highlight the repeats
With clean emails in column E, put this in G2 and fill down:
=IF(E2="", "", IF(COUNTIF($E$2:$E$11, E2)>1, "Duplicate email", ""))
Rows 2, 3, 4 and 8 are marked “Duplicate email”. To color those rows instead, select A2:F11, choose Format › Conditional formatting, pick Custom formula is under “Format cells if” (as described on Google’s conditional formatting help page) and enter:
=AND($E2<>"", COUNTIF($E$2:$E$11, $E2)>1)
To delete the extra rows, first paste the values back as in Step 4, then select the table and choose Data › Data cleanup › Remove duplicates, tick “Data has header row” and only the Email column. It removes 2 rows (rows 4 and 8) and keeps the first row of each pair. If the two copies hold different details, merge the rows instead.
When case should matter
Because Remove duplicates ignores case, it would treat product codes like “ab-12” and “AB-12” as the same value and delete one of them. If letter case means something in your data, don’t use Remove duplicates on that column; compare with EXACT instead, and see UNIQUE vs Remove duplicates for the difference between the two tools.
Common problems
- The helper column turned into errors after I deleted the original. It still pointed at the original cells. Undo, paste the helper column as values first (Step 4), then delete.
- Names like McLeod, DeShawn or MacDonald look wrong. PROPER lowercases every letter that isn’t at the start of a word. Fix those by hand after pasting values.
- Spaces are still there after TRIM. They are probably non-breaking spaces, which TRIM does not remove.
- The ARRAYFORMULA shows an error. Something is typed in the column below it. Clear those cells so the results can fill the column.
- Sentence case only fixed the first sentence. The formula only capitalizes the first character of the cell.
FAQ
How do I change text to uppercase or lowercase in Google Sheets?
Use a helper column with =UPPER(A2) for UPPERCASE or =LOWER(A2) for lowercase, fill it down, then copy the results and use Edit › Paste special › Values only over the original column. Wrap the cell in TRIM, as in =LOWER(TRIM(B2)), to remove extra spaces at the same time.
How do I capitalize the first letter of each word in Google Sheets?
Use =PROPER(A2). It returns the text with the first letter of each word in uppercase and all other letters in lowercase, so "ana ruiz" and "BEN COLE" become "Ana Ruiz" and "Ben Cole". Use =PROPER(TRIM(A2)) to also remove leading, trailing and repeated spaces.
Why does PROPER turn McLeod into Mcleod?
PROPER converts every letter that is not at the beginning of a word to lowercase, so names with a capital letter in the middle, such as McLeod or DeShawn, come out as Mcleod and Deshawn. Fix those few cells by hand after pasting the values back, or run PROPER only on the rows that are all lowercase or all uppercase.
How do I make sentence case in Google Sheets (only the first letter capitalized)?
There is no SENTENCE function, but =IF(C2="", "", UPPER(LEFT(C2))&LOWER(MID(C2, 2, LEN(C2)))) uppercases the first character of the cell and lowercases the rest. It only capitalizes the start of the cell, not each sentence inside it.
Does letter case matter when finding duplicates in Google Sheets?
Not for the built-in tools: COUNTIF is not case sensitive, and Data › Data cleanup › Remove duplicates treats cells with identical values but different letter cases as duplicates. So ana@example.com and ANA@EXAMPLE.COM count as the same value. Use EXACT when you need a case-sensitive comparison.
How do I change the case of a whole column with one formula?
Put =ARRAYFORMULA(IF(A2:A="", "", PROPER(TRIM(A2:A)))) in the first cell of an empty column. It fills the whole column and leaves blank rows blank. Swap PROPER for UPPER or LOWER as needed.
Install free from Google Workspace MarketplaceSee SheetDupes
Want to test it first? Try it on sample data (makes a copy of a 12-row example sheet in your Drive).
Related guides
- Duplicates That Don’t Match Exactly in Google Sheets: Case, Extra Spaces, Gmail Dots, Phone Formats and Typos (2026)
- How to Format Phone Numbers in Google Sheets: Strip Dashes and Spaces, Show (555) 010-1234, Handle +1 and Extensions, Then Find Duplicate Contacts (2026)
- UNIQUE vs Remove Duplicates in Google Sheets: Live or Static, Letter Case, Spaces, Columns and Headers (2026)
- How to Find and Remove Duplicates in Google Sheets: Highlight, Count, Delete and Keep the Original (2026)
- How to Highlight Duplicates in Google Sheets: Conditional Formatting Formulas for One Column, Whole Rows, Repeats Only and Two Sheets (2026)
- How to Compare Two Columns or Two Sheets in Google Sheets to Find Matches and Duplicates (2026)
- How to Remove Duplicates in Google Sheets but Keep the Latest, First or Highest Row per Key (2026)
- How to Prevent Duplicate Entries in Google Sheets: Data Validation Rules, Warnings and a Small Script (2026)
- How to Count Duplicates in Google Sheets: per Value, Extra Rows, Unique Counts and Why the Numbers Disagree (2026)
- How to Combine Two Lists or Several Tabs in Google Sheets Without Duplicates: VSTACK, UNIQUE, One Row per Key and Other Files (2026)
- How to Merge Duplicate Rows in Google Sheets: Sum the Numbers, Join the Notes and Fill the Blanks (2026)
- How to Remove Duplicates Within a Cell in Google Sheets: Comma-Separated Lists, Tags, Line Breaks and Letter Case (2026)
- How to Show Only the Duplicates in Google Sheets: Filter Duplicate Rows, List Repeated Values and Find Rows That Appear Once (2026)
- How to Find Duplicates Across Multiple Columns in Google Sheets: Rows That Match on Two or More Columns, and Values Repeated Anywhere in a Range (2026)
- How to Remove Duplicates Automatically in Google Sheets: Apps Script on a Daily Timer, on Form Submit or From a Menu (2026)
- How to Find Duplicate Transactions in Google Sheets: Double-Imported Rows, Invoices Paid Twice and Same-Amount Charges Within a Few Days (2026)
- How to Find Duplicates in Google Sheets but Ignore Blank Cells: Highlight, Count, List and Remove Without Empty Rows Getting in the Way (2026)