Format Highlighted Cells in Excel: Quick Steps

How-to basics · Updated November 23, 2026

To format highlighted cells in Excel, first select the cells you want to format (or use Find & Select to highlight them), then apply formatting from the Home tab—such as font color, fill color, borders, or number formats—or use the Format Cells dialog (Ctrl+1). If you mean formatting cells that are already highlighted by conditional formatting, you modify the rule itself rather than the cell’s static format.

Why “Highlighted” Can Mean Two Different Things

The word “highlighted” in Excel usually refers to one of two situations, and the fix differs depending on which one you mean:

  • Manually highlighted cells – You or someone else selected cells and applied a fill color (the paint bucket icon) or a font color. These are static formats stored directly on the cell.
  • Conditionally formatted cells – Cells appear highlighted because a rule (like “greater than 100” or “contains ‘urgent’”) dynamically applies a format. The highlight is not a fixed property; it changes as data changes.

Knowing which type you have is the first step, because the method to format them further is completely different.

How to Format Manually Highlighted Cells

If the highlight is a static fill color, you can change or enhance it in a few ways:

  1. Select the highlighted cells (click and drag, or hold Ctrl and click individual cells).
  2. On the Home tab, in the Font group, click the Fill Color drop-down arrow (paint bucket icon) to change the background color.
  3. Use the Font Color button (the “A” with a color bar) to change the text color.
  4. For borders, click the Borders drop-down (next to the gridlines icon) and choose a border style.
  5. For number formats (currency, percentage, date), use the Number Format drop-down in the Number group.

For more control, press Ctrl+1 (or Cmd+1 on Mac) to open the Format Cells dialog. There you can set number, alignment, font, border, and fill options all in one place. On Excel for the web, the same options are available on the Home tab, but the dialog is simpler (no full Format Cells dialog).

How to Format Cells Highlighted by Conditional Formatting

When a cell is highlighted because of a conditional formatting rule, you don’t format the cell directly—you edit the rule. Here’s how:

  1. Select the cells that have the conditional formatting.
  2. Go to Home > Conditional Formatting > Manage Rules.
  3. In the Conditional Formatting Rules Manager dialog, select the rule you want to change and click Edit Rule.
  4. In the Edit Formatting Rule dialog, click the Format button to change the fill, font, borders, or number format.
  5. Click OK twice to apply.

If you want to remove the conditional formatting entirely (so the highlight disappears), select the cells, go to Conditional Formatting > Clear Rules > Clear Rules from Selected Cells.

Using Find & Select to Highlight Specific Cells First

Sometimes you need to highlight cells that meet certain criteria (like all cells with a specific value or font color) before formatting them. Excel’s Find & Select tool can do this:

  1. Press Ctrl+F (or Cmd+F on Mac) to open Find and Replace.
  2. Type the value you want to find, or click Options > Format to search by format (e.g., a specific fill color).
  3. Click Find All. A list of matches appears at the bottom.
  4. Press Ctrl+A (or Cmd+A) to select all found cells.
  5. Close the dialog, then apply your formatting to the selected cells.

This is handy when you want to format all cells that already have a certain highlight color, or all cells containing a particular word.

Common Problems and How to Fix Them

Here are a few issues people run into when formatting highlighted cells:

  • Fill color not changing – If you select cells and change the fill but nothing happens, the cells might have conditional formatting overriding your manual fill. Check Manage Rules as described above.
  • Highlight disappears after saving – This usually happens if the conditional formatting rule uses a formula that references other cells, and those cells change. The highlight is dynamic by design.
  • Can’t select only highlighted cells – Use Find & Select > Go To Special > Conditional formats to select all cells with conditional formatting, or use the Find by Format method to select by fill color.
  • Formatting applies to wrong range – When editing a conditional formatting rule, double-check the “Applies to” box in the Rules Manager. If it’s wrong, change the range there.

Formatting Highlighted Cells with a Macro (VBA)

If you need to format many highlighted cells repeatedly, a simple macro can automate it. For example, to change the fill color of all cells that currently have a yellow highlight (RGB 255,255,0) to green:

Sub ChangeYellowToGreen()
    Dim cell As Range
    ' Loop through each cell in the used range
    For Each cell In ActiveSheet.UsedRange
        ' Check if the cell's interior color is yellow
        If cell.Interior.Color = RGB(255, 255, 0) Then
            ' Change to green
            cell.Interior.Color = RGB(0, 255, 0)
        End If
    Next cell
End Sub

To use this: press Alt+F11 to open the VBA editor, insert a new module, paste the code, and run it. Important: Save a copy of your workbook before running any macro, because macros cannot be undone with Ctrl+Z. Macros are not available in Excel for the web.

Frequently Asked Questions

How do I format only the highlighted cells in a column?
Select the column, then use Find & Select > Go To Special > Conditional formats (if the highlight is from conditional formatting) or use Find by Format to select cells with a specific fill color. Then apply your formatting.

Can I change the color of all highlighted cells at once?
Yes. If they are manually highlighted, select all of them (Ctrl+Click or use Find by Format) and change the fill color. If they are conditionally formatted, edit the rule’s format for all cells at once.

Why does my conditional formatting not show when I print?
By default, Excel prints cell colors and conditional formatting. If they don’t print, check Page Layout > Sheet Options > Print > ensure “Print” is checked under Gridlines or that the printer settings aren’t set to “Draft” or “Black and white.”

How do I remove formatting but keep the values?
Select the cells, go to Home > Clear > Clear Formats. This removes all formatting (including highlight) but leaves the data intact. For conditional formatting, use Clear Rules instead.

Does formatting highlighted cells affect formulas?
No. Formatting changes only the appearance, not the underlying values or formulas. You can safely change colors, fonts, and borders without altering calculations.

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.