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

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.

RowA: NameB: EmailC: Note
2ana ruizANA@EXAMPLE.COMCALLED ABOUT RENEWAL
3BEN COLEben@example.comsent quote
4Ana Ruizana@example.comWants a demo
5cara  diaz (two spaces)Cara.Diaz@Example.comNEEDS FOLLOW-UP
6mary-jane leemj.lee@example.comleft voicemail. call back friday
7dev o'neilDev@Example.com(blank)
8ben coleBen@Example.comSENT INVOICE
9fay mcleodfay@example.compaid
10DeShawn Pricedeshawn@example.comnew lead
11eli mossELI@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.

RowD: =PROPER(TRIM(A2))E: =LOWER(TRIM(B2))F: Sentence case
2Ana Ruizana@example.comCalled about renewal
3Ben Coleben@example.comSent quote
4Ana Ruizana@example.comWants a demo
5Cara Diazcara.diaz@example.comNeeds follow-up
6Mary-Jane Leemj.lee@example.comLeft voicemail. call back friday
7Dev O'Neildev@example.com(blank)
8Ben Coleben@example.comSent invoice
9Fay Mcleodfay@example.comPaid
10Deshawn Pricedeshawn@example.comNew lead
11Eli Mosseli@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:

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:

  1. Right-click the sheet tab and choose Duplicate, so you have a copy to go back to.
  2. Select D2:D11 and copy it.
  3. Click A2 and choose Edit › Paste special › Values only.
  4. 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:

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

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.

Fix the case of a whole column without helper columns? SheetDupes (disclosure: we make it) is a Google Sheets add-on for duplicate rows and messy contact data. Select any cell in the column and choose Extensions › SheetDupes › Standardize, then Proper Case names, UPPERCASE, lowercase, Lowercase emails or Trim extra spaces. It rewrites that column in place after copying a backup tab. Proper Case names is gentler than PROPER: it trims and collapses spaces, capitalizes after spaces, hyphens and apostrophes, writes Mc names as McLeod, and leaves names that already look deliberately cased, such as DeShawn Price, unchanged. On the example above it gives Fay McLeod and DeShawn Price where PROPER gives Fay Mcleod and Deshawn Price. Lowercase emails trims, drops a leading mailto: and only changes values that look like an email address; Trim extra spaces also replaces non-breaking spaces, which TRIM leaves alone. Standardize refuses a sheet that contains formulas, so run it on the raw data, not next to helper columns. Its duplicate matching ignores letter case in text columns unless you tick Match case, and always ignores it in email columns. Preview and Highlight are free on any size sheet; there is a 14-day free trial with no credit card, and writes remain free after the trial on sheets with up to 2,000 data rows during launch (through Jan 31, 2027; 500 after that). It only reads and writes the spreadsheet you have open, and your data is not sent to Loomwise. It is live on the Google Workspace Marketplace.
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