Excel Keyboard Shortcut to Highlight a Cell with Color

How-to basics · Updated November 19, 2026

In Excel for Microsoft 365 on Windows, select the cell or range and press Alt, H, H to open the Fill Color palette; use the arrow keys to choose a color and press Enter. This applies a background fill—it is different from the outline Excel uses to show which cell is currently selected.

The Windows shortcut and what it does

The key sequence Alt+H,H is a ribbon access-key sequence, not a single key combination. Press and release Alt, press H to open the Home tab’s access keys, then press H again for Fill Color. The palette appears, and you can use the arrow keys to move among its color choices. Press Enter to apply the focused color. You can also use the mouse to choose a swatch.

First select the target cell or cells. For a single cell, click it or move to it with the arrow keys. For a range, drag across the cells or hold Shift while using the arrow keys. Then invoke the shortcut. Excel applies the chosen fill to the whole selection, so check that the intended cells are selected before choosing a color.

  • Alt, H, H: open the Fill Color palette.
  • Arrow keys: move through available colors.
  • Enter: apply the focused color.
  • Esc: close the palette without choosing a new color.

Access keys can depend on the active ribbon context and Excel’s interface language. If the sequence does not behave as expected, press Alt and look at the letters displayed on your screen; follow those prompts rather than assuming that every installation shows the same letters.

Select the cell or range first

A fill-color command formats the current selection; it does not search for a particular value or automatically decide which cell deserves emphasis. Before applying a color, confirm the selection in the worksheet. The active cell is the one with the stronger border inside a selected range, while the range as a whole may be shaded to indicate selection. That selection shading is temporary interface feedback, not cell formatting.

For a precise selection on Windows, press Ctrl+G to open Go To, enter a reference such as D7 or B2:B12, and press Enter. This is useful in a large sheet where scrolling to the right row or column is difficult. You can also click the Name Box to the left of the formula bar, type a cell or range reference, and press Enter. Once Excel selects the target, use Alt, H, H to format it.

For example, to color cells C4:C9, select that range, open the Fill Color palette, choose a light fill, and press Enter. Every cell in the range receives the fill. If you meant to color only C4, select just C4 before opening the palette.

Choose and change the fill color

The Fill Color palette includes theme colors and standard colors, and its choices can reflect the workbook’s theme. A theme color can be useful when you want coordinated formatting across sheets; a standard color can help distinguish a special case. The exact appearance of a shade may vary with the workbook theme and display settings.

To change an existing fill, select the formatted cells and open the palette again, then choose a different shade. To remove the fill, choose No Fill in the palette. This removes the cell background color; it does not erase the cell’s value, formula, borders, font color, or other formatting.

If you need a particular shade, open the Fill Color menu from the Home tab and look for the option to access additional colors, where available in your Excel version. The keyboard sequence gets you to the palette, but selecting a precise custom color may require using the on-screen controls. For repeated, consistent formatting, reuse a theme shade or copy formatting from a correctly formatted cell.

Highlighting is not the same as selecting

People use “highlight” to mean two different things in Excel. One is selecting a cell so it has a visible active-cell border while you work. The other is applying a fill color that remains part of the workbook’s formatting. Alt, H, H is for the second meaning. It does not make the active-cell border brighter or change how Excel indicates the current selection.

Excel shows the active cell and selection as part of its interface. A different user may see a different active cell when opening the workbook, and the selection indicator is not a dependable way to mark information for printing or sharing. If readers need to recognize an important input or result, use a fill, a border, a clear label, or another persistent formatting choice instead.

Color alone can be hard to interpret, particularly in printed copies or for readers with color-vision differences. Pair a fill with meaningful text such as “Review” or “Input,” or use a border or icon where appropriate. That way, the information does not depend only on recognizing a particular shade.

Use manual fill or conditional formatting?

Manual fill is appropriate when you are marking a fixed set of cells—for instance, shading the heading row or identifying a few cells that need review. The color stays until someone changes or removes it. This is simple and predictable, but it will not automatically adjust when the underlying values change.

For a rule-driven highlight, use Home > Conditional Formatting. For example, select a range and choose Home > Conditional Formatting > Highlight Cells Rules, then choose a rule such as Greater Than and set its value and format. Excel applies formatting to cells that meet the rule. If their values later change, the displayed formatting can update with the rule.

Conditional formatting is often a better fit for changing data, such as flagging scores below a threshold or identifying duplicate entries. A manual fill is usually better for a one-time visual label that is not based on a value. Be aware that conditional formatting can affect the visible color: if a cell does not display the manual fill you expect, a conditional-formatting rule may be controlling its appearance.

Common shortcut problems

  • The palette does not open: Press Alt first, then follow the access-key letters Excel displays. Make sure Excel, rather than another application or a dialog box, has focus.
  • The wrong cells change: Check the selection before applying the fill. If you formatted a whole range by mistake, use Ctrl+Z immediately to undo the last action, then select the intended cells.
  • The color looks unchanged: The chosen shade may be similar to the existing fill, or conditional formatting may be affecting the visible result. Reopen the palette and inspect the selection, then check Conditional Formatting rules if needed.
  • You want to remove the color: Open Fill Color and choose No Fill. Do not use Delete for this purpose; Delete removes cell contents rather than serving as the fill-removal command.
  • The letters differ: Access-key letters can differ in localized versions of Office. Use the letters shown on the ribbon after pressing Alt.

If a formatting action was applied to the wrong cells, Ctrl+Z is the most direct remedy as long as you have not performed later actions you need to keep. For a workbook that has already been saved or shared, select the affected cells and deliberately restore the correct fill or choose No Fill. Avoid selecting an entire worksheet to fix one cell unless you intend to change the whole sheet.

Excel on Mac and Excel for the web

Alt, H, H is the Windows ribbon sequence; it is not the standard equivalent for Excel on a Mac. On Mac, use the Home tab’s Fill Color control and choose a shade from its menu. Mac keyboard behavior and ribbon navigation can differ by Excel release and macOS settings, so do not assume that the Windows access-key sequence will work unchanged. If you need a keyboard-only method, use the key-navigation cues available in your Mac version to reach the ribbon control.

Excel for the web also has a Home tab and a Fill Color control, but browser shortcuts and ribbon access can interact with the browser or differ from the desktop app. If a Windows access-key sequence is intercepted or does not open the palette in the browser, use the visible ribbon control. In either version, select the cell or range first and verify the fill after applying it.

Frequently Asked Questions

What is the shortcut to highlight a cell in Excel?
On Windows, press Alt, H, H to open the Fill Color palette, select a color with the arrow keys, and press Enter. Select the cell first. This applies a background fill rather than changing the active-cell outline.

How do I highlight a cell without a mouse?
Move to the cell with the arrow keys, or select a range with Shift and the arrow keys. Press Alt, H, H, navigate to a color with the arrow keys, and press Enter. You can use Ctrl+G on Windows to go to a known cell reference first.

How do I remove highlighting from a cell?
Select the cell, open the Fill Color palette with Alt, H, H, and choose No Fill. This removes the background fill while leaving the cell’s contents intact.

Can Excel automatically highlight cells?
Yes. Use Conditional Formatting when the fill should depend on a value or rule. For a fixed, manual highlight, use Fill Color instead; a manually selected shade does not update itself when data changes.

Does Alt+H,H work in Excel for Mac?
That is the Windows access-key sequence, not a dependable Mac shortcut. On Mac, use Home > Fill Color and select the desired shade; keyboard navigation differs by version and system configuration.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.