Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Clear Formatting Shortcut: How to Use It

· 5 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The keyboard shortcut to clear formatting in Excel is Alt + H + E + F on Windows, and Control + Option + Command + E on Mac (in some Mac layouts the last key is F instead of E). This removes bold, italics, font colors, fills, borders, number formats and alignment from the selected cells, returning them to the workbook's default style. You do not need to install anything, but you do need a cell or range selected first. The exact key sequence can vary slightly by Excel version, keyboard layout and region, so if the sequence below does not work, use the menu path Home > Clear > Clear Formats instead.

What You'll Need

  • Excel for Windows or Excel for Mac (desktop app). The shortcut does not work in Excel for the web.
  • A worksheet that is open and editable (not protected).
  • The cell, range, row or column you want to reset selected before you press the keys.

Step-by-Step

  1. Select the cells. Click the first cell, then drag to the last cell, or hold Shift and click the last cell. To clear an entire sheet, click the square at the top-left corner of the grid (the Select All box). To clear a whole column or row, click the column letter or row number.
  2. Make sure you are on the Home tab. The shortcut is a ribbon key sequence, so it starts from the Home tab. If another tab is active, press Alt once to show the key tips, then press H for Home.
  3. Press Alt, then H, then E, then F in sequence. Do not hold them all down at once. Press and release Alt, then H, then E, then F. On Windows this opens the Clear menu and applies Clear Formats. On Mac, press Control + Option + Command + E (or F if your layout uses that).
  4. Check the result. The selected cells should lose bold, italics, underline, font color, fill color, borders, number formatting (for example currency symbols or percentages) and alignment. The cell contents remain; only the formatting is removed.
  5. If the shortcut does not respond, use the menu. Go to Home > Clear > Clear Formats. This is the same command and works in every desktop version. The labels can differ slightly by version, device or region, but the Clear button sits in the Editing group on the Home tab.
  6. Undo if needed. Press Ctrl + Z (Windows) or Command + Z (Mac) to restore the formatting. Clear Formats is a single undoable action, so one undo brings everything back.

Common Mistakes

  • Pressing the keys too fast or all at once. The sequence is designed to be pressed one key at a time. Holding Alt and tapping H, E, F quickly often works, but pressing them simultaneously can trigger a different command or nothing at all.
  • Using the shortcut on a protected sheet. If the sheet is protected, Excel will refuse to change formatting. You will need the password to unprotect it via Review > Unprotect Sheet.
  • Expecting it to delete content. Clear Formats only removes styling. To remove the values too, use Home > Clear > Clear Contents or press Delete.
  • Clearing formats on merged cells. Merged cells can behave unpredictably. Unmerge first (Home > Merge & Center) if the result looks wrong.
  • Assuming it works in Excel for the web. The web version has a Clear Formats option in the Home tab, but the keyboard sequence is not the same as the desktop app.

Tips

  • To clear formats across an entire sheet quickly, click the Select All box, then run the shortcut once.
  • If you clear formats often, add the Clear Formats command to the Quick Access Toolbar: right-click the command in the Home tab and choose Add to Quick Access Toolbar. It then gets its own shortcut (Alt + a number).
  • Clear Formats is ideal before pasting data from another source, because it removes inherited fonts and fills that make a sheet look inconsistent.
  • If you only want to remove a fill color, use the Fill Color dropdown and choose No Fill instead of clearing everything.
  • Remember that number formats are formatting. Clearing formats on a date column can turn dates into plain serial numbers; reformat the column afterward if needed.

Troubleshooting

If the shortcut does nothing, first click directly on a cell to make sure the worksheet has focus and the ribbon is not waiting for input. Press Esc to cancel any pending key sequence, then try again one key at a time. If you are on a laptop with a compact keyboard, the function keys may be mapped to media controls; the Alt sequence should still work because it does not use function keys. If the Clear menu opens but Clear Formats is greyed out, the sheet is protected or the workbook is read-only; check the title bar for Read-Only and unprotect the sheet if you have the password. If you are on Mac and the sequence does not respond, open Excel > Preferences > Ribbon & Toolbar and confirm the Home tab is enabled, then use the menu path instead. As a last resort, close and reopen Excel; a hung ribbon or an add-in can block key tips, and restarting clears that state without losing your file.

Frequently Asked Questions

What is the shortcut key to clear formatting in Excel?

On Windows it is Alt + H + E + F, pressed one key at a time. On Mac it is Control + Option + Command + E (or F on some layouts). The menu equivalent is Home > Clear > Clear Formats.

Does Clear Formats delete the cell contents?

No. It removes bold, colors, borders, number formats and alignment but leaves the values and formulas in place. Use Clear Contents or the Delete key to remove data.

Why is Clear Formats greyed out?

The most common reasons are a protected worksheet or a read-only workbook. Unprotect the sheet under Review, or save a copy to edit.

Can I clear formatting for the whole worksheet at once?

Yes. Click the Select All box at the top-left corner of the grid, then run the shortcut. This clears formatting for every cell on that sheet.

Does the shortcut work in Excel for the web?

No. The web version offers Clear Formats from the Home tab menu, but the desktop keyboard sequence does not apply there.

Can I undo a Clear Formats action?

Yes. Press Ctrl + Z on Windows or Command + Z on Mac immediately after the action. It is treated as a single undo step.