How to Change Text Case in Excel: All Methods Explained with Formulas, Flash Fill & Power Query

Pair of high-rise bootcut jeans worn by a woman.

Changing text case in Excel is a common task when working with names, addresses, product titles, email lists, customer records, reports, and imported data. Sometimes text appears in all capital letters, sometimes everything is lowercase, and sometimes names or titles need proper capitalization before the spreadsheet is ready to use.

Excel does not have a simple built-in “Change Case” button like Microsoft Word, but it still provides several reliable ways to change text case. You can use formulas such as UPPER, LOWER, and PROPER, or you can use tools like Flash Fill and Power Query for faster bulk formatting.

If you need a quick online option outside Excel, you can use our free Text Case Converter to change text into uppercase, lowercase, title case, sentence case, and other formats instantly.

Quick Answer: How Do You Change Text Case in Excel?

The easiest way to change text case in Excel is by using one of three text functions:

  • =UPPER(A2) changes text to uppercase.
  • =LOWER(A2) changes text to lowercase.
  • =PROPER(A2) capitalizes the first letter of each word.

For example, if cell A2 contains the text “john smith,” the formula =PROPER(A2) returns “John Smith.”

Why Text Case Matters in Excel

Clean and consistent text formatting makes spreadsheets easier to read, sort, filter, search, and share. When text case is inconsistent, your data may look unprofessional and become harder to manage.

For example, a customer list may contain names written like this:

  • JOHN SMITH
  • john smith
  • John smith
  • jOhN SmItH

Even though these entries may refer to similar text patterns, they look inconsistent. Standardizing case improves presentation and reduces confusion when preparing reports, emails, labels, invoices, directories, or exported files.

Common Uses for Changing Text Case

  • Formatting customer names.
  • Cleaning imported CSV data.
  • Standardizing product titles.
  • Fixing email lists.
  • Preparing reports for clients or managers.
  • Cleaning addresses and location names.
  • Formatting employee records.
  • Correcting copied text from websites or PDFs.

Method 1: Change Text to Uppercase with UPPER

The UPPER function changes all letters in a text string to capital letters. It is useful when you need codes, headings, IDs, labels, or names in all caps.

UPPER Formula

=UPPER(text)

If your text is in cell A2, use:

=UPPER(A2)

Example

Original TextFormulaResult
john smith=UPPER(A2)JOHN SMITH
sales report=UPPER(A3)SALES REPORT
product code a15=UPPER(A4)PRODUCT CODE A15

When to Use Uppercase

Uppercase is useful for short labels, product codes, department names, form headings, or data that must stand out clearly. However, avoid using uppercase for long paragraphs because it can be harder to read.

Method 2: Change Text to Lowercase with LOWER

The LOWER function changes all letters in a text string to lowercase. This is helpful when cleaning email addresses, usernames, tags, URLs, and imported text where capitalization should be consistent.

LOWER Formula

=LOWER(text)

If your text is in cell A2, use:

=LOWER(A2)

Example

Original TextFormulaResult
JOHN@EXAMPLE.COM=LOWER(A2)john@example.com
PRODUCT TITLE=LOWER(A3)product title
NEW YORK CITY=LOWER(A4)new york city

When to Use Lowercase

Lowercase is useful when formatting email addresses, website URLs, technical fields, usernames, file names, and tags. It creates consistency and can prevent errors in systems where uppercase and lowercase may be treated differently.

Method 3: Capitalize Words with PROPER

The PROPER function capitalizes the first letter of each word and changes the remaining letters to lowercase. It is commonly used for names, city names, product titles, and short labels.

PROPER Formula

=PROPER(text)

If your text is in cell A2, use:

=PROPER(A2)

Example

Original TextFormulaResult
john smith=PROPER(A2)John Smith
NEW YORK=PROPER(A3)New York
monthly sales report=PROPER(A4)Monthly Sales Report

Important Limitation of PROPER

PROPER is helpful, but it is not perfect. It capitalizes every word, which can create incorrect results for some names, brands, abbreviations, and titles.

Examples:

  • mcdonald may become Mcdonald instead of McDonald.
  • USA may become Usa.
  • iPhone may become Iphone.
  • john o’connor may need manual checking.

Because of this, always review important data after applying PROPER, especially when working with names or branded terms.

How to Apply Text Case Formulas to a Full Column

If you have many rows of data, you do not need to write the formula manually for each cell. Excel allows you to apply the formula to an entire column quickly.

Step-by-Step Method

  1. Place your original text in column A.
  2. In cell B2, enter the formula you need, such as =PROPER(A2).
  3. Press Enter.
  4. Click the small square at the bottom-right corner of cell B2.
  5. Drag it down to copy the formula to other rows.

Excel will apply the formula to each row and return the changed text case in the new column.

How to Replace Original Text with Changed Case

After using a formula, the changed text appears in a new column. If you want to replace the original text, you need to copy the results and paste them as values.

Steps to Paste as Values

  1. Select the cells containing the formula results.
  2. Press Ctrl + C to copy.
  3. Select the original text cells or a new final column.
  4. Right-click and choose Paste Values.
  5. Delete the formula column if it is no longer needed.

This keeps the changed text while removing the formula dependency.

If you only need to change a small block of text quickly, our free Text Case Converter can convert your text instantly without creating formulas in Excel.

Method 4: Change Text Case Using Flash Fill

Flash Fill is one of Excel’s most useful productivity features. Instead of writing formulas, Flash Fill recognizes patterns in your data and automatically completes the remaining cells. It works especially well when changing the capitalization of names, addresses, product titles, and similar text.

How to Use Flash Fill

  1. Suppose column A contains text in the wrong case.
  2. In column B, manually type the correctly formatted version of the first value.
  3. Select the next empty cell in column B.
  4. Press Ctrl + E or go to Data → Flash Fill.
  5. Excel automatically fills the remaining cells using the same pattern.

Example

Original TextType ManuallyFlash Fill Result
john smithJohn SmithJohn Smith
mary jonesMary Jones
alex johnsonAlex Johnson

Flash Fill is fast and requires no formulas, making it ideal for one-time formatting tasks.

Method 5: Change Text Case Using Power Query

If you regularly clean imported spreadsheets, Power Query offers a more powerful solution. It allows you to transform text automatically whenever the data is refreshed.

Steps to Change Case in Power Query

  1. Select your data table.
  2. Choose Data → From Table/Range.
  3. Open the Power Query Editor.
  4. Select the text column.
  5. Go to Transform → Format.
  6. Choose one of the available options:
    • UPPERCASE
    • lowercase
    • Capitalize Each Word
  7. Click Close & Load.

This method is especially useful for reports that receive new imported data every day or every week.

Method 6: Use a VBA Macro

If you frequently perform the same text formatting task, you can automate it using a VBA macro. VBA is useful for repetitive workflows and large datasets.

Example VBA Macro

 Sub UpperCaseText() Dim cell As Range For Each cell In Selection If Not cell.HasFormula Then cell.Value = UCase(cell.Value) End If Next cell End Sub 

This macro converts every selected cell to uppercase.

You can modify the code by replacing UCase with:

  • LCase for lowercase.
  • StrConv(text, vbProperCase) for Proper Case.

Can You Change Text Case Without Formulas?

Yes. Although formulas are the most common approach, Excel also offers several alternatives.

MethodUses Formula?Best For
UPPERYesUppercase conversion
LOWERYesLowercase conversion
PROPERYesNames and titles
Flash FillNoQuick one-time edits
Power QueryNoImported datasets
VBANoAutomation

Common Mistakes When Changing Text Case

Overwriting Original Data

Keep a copy of your original data until you confirm the new formatting is correct.

Using PROPER for Brand Names

PROPER does not recognize special brand capitalization.

Examples:

  • iPhone → Iphone
  • eBay → Ebay
  • YouTube → Youtube
  • McDonald’s → Mcdonald’S

Review these entries manually after conversion.

Ignoring Hidden Spaces

Extra spaces can affect text formatting. Consider using the TRIM() function before changing case.

Example:

=TRIM(A2)

Not Using Paste Values

Remember that formula results are still formulas. If you want permanent text, copy the results and use Paste Special → Values.

Keyboard Shortcuts That Save Time

ShortcutPurpose
Ctrl + CCopy
Ctrl + VPaste
Ctrl + EFlash Fill
Ctrl + ZUndo
Ctrl + YRedo

When Should You Use Each Method?

SituationRecommended Method
Small spreadsheetUPPER, LOWER, PROPER
One-time formattingFlash Fill
Imported CSV filesPower Query
Repeated office workflowVBA Macro
Quick online conversionText Case Converter

Related Text and Excel Tools

If you regularly clean spreadsheet data or edit text, these free tools can simplify your workflow.

Frequently Asked Questions

How do I change text to uppercase in Excel?

Use the formula =UPPER(A2). Replace A2 with the cell containing your text.

How do I convert text to lowercase?

Use =LOWER(A2) to convert every letter to lowercase.

How do I capitalize the first letter of each word?

Use the =PROPER(A2) function. It converts text into Proper Case.

Does Excel have a Change Case button like Word?

No. Excel does not include a built-in Change Case button. Instead, you can use formulas, Flash Fill, Power Query, or VBA.

Can I change text case without formulas?

Yes. Flash Fill, Power Query, and VBA macros all allow you to change text case without using worksheet formulas.

Conclusion

Changing text case in Excel is simple once you understand the available methods. Functions like UPPER(), LOWER(), and PROPER() are ideal for everyday spreadsheet work, while Flash Fill, Power Query, and VBA provide faster solutions for larger datasets and automated workflows.

The best method depends on your task. Formulas are excellent for dynamic spreadsheets, Flash Fill is perfect for quick formatting, and Power Query or VBA work well for recurring data-cleaning projects.

If you need an instant solution outside Excel, use our free Text Case Converter. You can also explore the Remove Duplicate Lines, Word Counter, and Line Break Remover to clean and format text more efficiently.

Share this article:

On This Page

Subscribe to our newsletter

Read the latest articles from our experts

Related Posts

CSS Beautify Tool Guide Format CSS Online Easily

CSS Beautify Tool Guide Format CSS Online Easily

Learn how to use a css beautify tool to format css online easily This guide explains css beautifier benefits, code formatting techniques, and how to improve readability and maintain clean structured css using simple methods and free tools for developers and beginners

How to Calculate the Difference Between Two Dates in Excel: Complete Guide

How to Calculate the Difference Between Two Dates in Excel: Complete Guide

Master Excel date difference calculations with this complete guide. Learn to use DATEDIF, DAYS, NETWORKDAYS, and simple subtraction to find days, months, years, and working days between dates. Includes practical examples and a free online calculator for quick verification.

Tools & Resources

Explore our collection of professional tools designed to streamline your workflow

Report a Bug