Yes, Clear Only Formatting in Excel removes all visual styling—fonts, colors, borders, number formats, and conditional formatting—from a selected cell or range, while leaving the values, formulas, and cell comments completely intact. It is found under Home > Clear > Clear Formats (or Clear > Clear Formats on the right-click menu), and the keyboard shortcut is Alt > H > E > F on Windows or Cmd+Shift+Z on Mac (Excel 365).
What Exactly Gets Removed
When you use Clear Formats, Excel strips away everything that changes how the cell looks but not what it contains. Specifically, it removes:
- Font type, size, bold, italic, underline, and font color
- Fill (background) color and pattern
- Borders (all sides, including custom line styles)
- Number formats (e.g., currency, percentage, date, custom formats like “0000”)
- Alignment settings (horizontal/vertical position, wrap text, indent, orientation)
- Conditional formatting rules applied to the cell
- Cell protection lock status (if the sheet is protected, it reverts to the default)
It does not remove the cell’s value, formula, or hyperlink (though the hyperlink’s blue underline and color are removed, the link itself stays). It also leaves data validation and cell comments untouched.
How to Clear Only Formatting (Step by Step)
Here are the three fastest ways to do it in Excel for Microsoft 365 on Windows:
- Select the cell or range.
- Go to Home > Clear (the eraser icon in the Editing group).
- Choose Clear Formats from the dropdown.
Alternatively, right-click the selection, choose Clear Contents? No—right-click and choose Clear > Clear Formats (note: the right-click menu shows “Clear Contents” and “Clear Formats” as separate options). The keyboard shortcut is Alt+H, E, F (press keys sequentially, not simultaneously). On Mac, the shortcut is Cmd+Shift+Z (in Excel 365; older versions may use Cmd+Delete after selecting formats). On Excel for the web, you must use the ribbon: Home > Clear > Clear Formats—there is no keyboard shortcut.
Why Use Clear Formats Instead of Delete or Paste Special
The most common mistake is pressing Delete or Backspace to “clean up” a cell—that only removes the value, leaving the formatting behind. Clear Formats is the precise tool when you want to keep the data but reset the appearance. For example, if you copy a table from a website and paste it into Excel, the pasted cells often carry unwanted borders and fills. Instead of manually re-formatting each cell, select the pasted range and apply Clear Formats. The values remain, and the cells revert to the default “General” format (no borders, black text on white).
Another scenario: you have a column with dates stored as text (e.g., “2024-01-15” as a string). If you apply Clear Formats, the text stays text—it does not convert to a date. To convert, you would need to change the number format or use Text to Columns. Clear Formats is purely cosmetic.
What Clear Formats Does NOT Do (Common Misconceptions)
Many users think Clear Formats also resets column width, row height, or cell size—it does not. It also does not remove cell comments, data validation, or hyperlinks (the link still works, just without the blue underline). Conditional formatting rules are removed, but only for the selected cells; if the rule applies to a larger range, the rule remains for the other cells. Also, Clear Formats does not delete the cell’s protection lock status if the worksheet is protected—but it does remove the “Locked” checkbox setting for the selected cells, which can affect future protection. If you want to completely reset a cell to its default state (including removing comments and validation), use Home > Clear > Clear All, but that also deletes the value.
How to Clear Formatting from an Entire Sheet or Workbook
To strip formatting from a whole worksheet, click the triangle at the intersection of the row numbers and column letters (top-left corner) to select all cells, then apply Clear Formats. This is useful when you receive a messy workbook and want to start fresh while keeping all data. For multiple sheets, select the sheet tabs (hold Ctrl to pick several), then follow the same steps. Note that this will remove all number formats, so dates will display as serial numbers (e.g., 45000) until you re-apply a date format. To clear formatting from an entire workbook without VBA, you must do it sheet by sheet.
Using Clear Formats with Conditional Formatting and Tables
If a cell has conditional formatting (e.g., a color scale or icon set), Clear Formats removes those rules for the selected cells. However, if the conditional formatting rule is applied to a whole column via a table (ListObject), clearing formats on one cell will not delete the rule—it will just remove the visual result for that cell until you re-apply the rule. For Excel tables (Insert > Table), Clear Formats will remove the table’s banded rows and borders, but the table structure (filter buttons, structured references) remains. To remove a table entirely, use Table Design > Convert to Range first, then clear formats.
Frequently Asked Questions
Does Clear Formats delete the data in the cell?
No. It only removes formatting. The value, formula, and hyperlink remain. If you accidentally use Clear All instead, you lose the data—use Undo (Ctrl+Z) immediately.
Why does my date turn into a number after clearing formats?
Because Excel stores dates as serial numbers. When you remove the date number format, the underlying number (e.g., 45292) is displayed. Re-apply a date format from Home > Number Format dropdown.
Is there a way to clear formatting without losing my number format?
No, Clear Formats removes all formats, including number formats. If you only want to remove colors and borders, use the eraser tool’s “Clear Formats” but then manually re-apply the number format, or use Paint Format to copy a “clean” format from another cell.
What is the difference between Clear Formats and Clear Contents?
Clear Contents (or pressing Delete) removes the cell’s value and formula but leaves formatting. Clear Formats does the opposite. To remove both, use Clear All.
Can I undo Clear Formats?
Yes, immediately after applying it, press Ctrl+Z (Windows) or Cmd+Z (Mac) to undo. If you perform other actions after clearing, you may lose the ability to undo.
Does Clear Formats work on merged cells?
Yes, but it will remove the formatting from the entire merged range. It does not unmerge the cells—that requires the “Unmerge Cells” button on the Home tab.
Alternatives and Related Tools
If you want more control over what formatting is removed, consider using Paste Special > Values (Ctrl+Shift+V) to paste only the values into a new area, leaving all formatting behind. Or use the Format Painter to copy a “clean” format from a blank cell onto the formatted range—this is quicker for small ranges. For advanced users, a tiny VBA macro can clear formats while preserving number formats, but that requires coding. The built-in Clear Formats is the safest and fastest method for most tasks.
Related
- What Are Shortcut Keys? Full Guide
- Random Number Generator: How It Works & Uses
- Google Sheets XLOOKUP Multiple Matches: How To
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Retired Budget Spreadsheet: Plan Income and ExpensesA retired budget spreadsheet is a worksheet for comparing retirement income with day-to-day and occasional expenses. In Excel…
- Excel Number Format Shortcut: Quick Keys and ExamplesIn Excel for Microsoft 365 on Windows, select the cells and press Ctrl+Shift+! to apply the Number format,…
- How to Paste Data Horizontally in Excel Using TransposeTo paste a vertical list across a row in Excel, select and copy the list, click the first…
- How to Find a Table in Excel: Search and NavigationTo find a table in Excel, search for a word or value you expect it to contain, then…
- How to Name the Inventory Range in Excel (Step-by-Step)To name an inventory range in Excel for Microsoft 365 on Windows, select the cells you want to…
- Password Protect a Tab in Excel: What Actually WorksYes. In Excel for Microsoft 365 on Windows, select the worksheet tab, go to Review > Protect Sheet,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.