How to clear formatting in Excel

To clear formatting in Excel, select the cells you want to change, then go to the Home tab and click the dropdown arrow next to "Clear" in the Editing group. Choose "Clear Formats" to remove all formatting while keeping the data inside. If you want to remove everything — formatting and data together — choose "Clear All" instead.

The quickest keyboard shortcut on Windows is Ctrl+A to select all, then Alt+H, E, F to clear formats. On Mac, use Command+A, then Command+Shift+X. These shortcuts work in most versions of Excel from 2010 onward.

Key Takeaways

  • Select the cells you need to change, then use Home > Clear > Clear Formats to remove colors, fonts, borders, and number formatting while keeping your data.
  • The keyboard shortcut Ctrl+A followed by Alt+H, E, F (Windows) or Command+A then Command+Shift+X (Mac) clears formatting from selected cells in seconds.
  • Right-clicking and choosing "Format Cells" lets you remove specific formatting types one at a time if you only want to change some aspects of a cell's appearance.
  • Pasting as values using Paste Special (Ctrl+Shift+V) removes all formatting from copied data when you paste it into a new location.

Using the Clear menu in the ribbon

The Home tab contains the most direct path to clearing formatting. Click the Home tab at the top of the ribbon, then look for the "Clear" button in the Editing group on the far right side. The button shows an eraser icon.

Click the dropdown arrow next to Clear to see your options. "Clear Formats" removes colors, fonts, borders, number formats, and cell styles but leaves your numbers and text untouched. "Clear Contents" removes the data but leaves the formatting behind. "Clear All" removes both at once. Choose the one that matches what you need to do.

If you cannot find the Clear button, your ribbon may be in Compact mode. Click the arrow at the far right of the ribbon and select "Show Tabs and Commands" to expand it.

Selecting cells before you clear

You must select the cells you want to change before you clear anything. Click on a single cell to select just that one. Click and drag to select a range, or click the first cell, hold Shift, and click the last cell in the range you want.

To select an entire column, click the column letter at the top. To select an entire row, click the row number on the left. To select all cells in the sheet, press Ctrl+A (Windows) or Command+A (Mac), or click the box in the top-left corner where the row numbers and column letters meet.

You can also select non-adjacent cells by clicking one cell, holding Ctrl (Windows) or Command (Mac), and clicking other cells one at a time. This is useful when you want to clear formatting from scattered cells without affecting the ones in between.

Using Paste Special to remove formatting from copied data

When you copy data from another sheet or workbook, it often brings formatting with it. To paste only the values and remove all formatting, copy the cells you need, then right-click where you want to paste and choose "Paste Special."

In the Paste Special dialog, select "Values" and click OK. This pastes only the numbers and text, leaving behind colors, fonts, borders, and number formats. The keyboard shortcut is Ctrl+Shift+V (Windows) or Command+Shift+V (Mac) to open Paste Special directly.

Paste Special also lets you paste only formulas, only comments, or only formatting if you need to copy the look of one cell to another without changing the data.

Removing specific formatting types

If you only want to remove certain formatting — like just the background color or just the bold text — right-click the selected cells and choose "Format Cells." This opens the Format Cells dialog with tabs for Font, Fill, Border, Number, and Alignment.

Go to the tab for the formatting you want to remove. For example, to remove bold, click the Font tab and change the font style from Bold to Regular. To remove a background color, click the Fill tab and choose "No Color." To remove borders, click the Border tab and select "None."

This method takes longer than clearing all formats at once, but it gives you control over exactly what changes and what stays the same.

Clearing formatting from entire columns or rows

To clear formatting from a whole column, click the column letter at the top of the sheet. The entire column turns blue to show it is selected. Then go to Home > Clear > Clear Formats. All formatting in that column disappears, but your data remains.

The same process works for rows: click the row number on the left to select the entire row, then use Home > Clear > Clear Formats. Be careful with this approach on large sheets, because clearing formatting from many cells at once can take a few seconds.

If you want to clear formatting from multiple non-adjacent columns or rows, select the first one, hold Ctrl (Windows) or Command (Mac), and click the others. Then clear as usual.

Resetting number formats to default

Number formatting — like currency symbols, decimal places, or date formats — is part of what "Clear Formats" removes. After you clear, numbers appear in the General format, which shows them as you typed them without any special symbols or rounding.

If you only want to change the number format and keep other formatting like colors or fonts, right-click the cells and choose "Format Cells." Click the Number tab, then select "General" from the Category list and click OK. This resets just the number format without touching anything else.

Frequently Asked Questions

Does clearing formatting delete my data?

No. When you use Home > Clear > Clear Formats, your numbers and text stay in the cells. Only the colors, fonts, borders, and number formats are removed. If you want to delete the data too, use Clear All instead of Clear Formats.

Can I undo clearing formatting?

Yes. Press Ctrl+Z (Windows) or Command+Z (Mac) immediately after clearing to undo the action. Excel keeps an undo history, so you can undo multiple steps if needed. Once you close and reopen the file, the undo history is gone.

What is the difference between Clear Formats and Clear All?

Clear Formats removes colors, fonts, borders, and number formatting but leaves your data. Clear All removes both the formatting and the data, leaving empty cells behind. Choose Clear Formats if you want to keep what is in the cells.

How do I clear formatting from just the text in a cell, not the background color?

Right-click the cell and choose Format Cells. Click the Font tab to remove bold, italic, or underline. Click the Fill tab to remove the background color. This way you can change one type of formatting without affecting the others.

Why does my pasted data still have the old formatting?

When you paste normally, Excel copies the formatting along with the data. Use Paste Special (Ctrl+Shift+V) and choose Values to paste only the numbers and text without any formatting. This is the fastest way to strip formatting from copied data.