Excel usually lets you filter a column by cell color, font color, or icon from its filter drop-down: choose Filter by Color and select the color to keep. If that option is missing or does nothing, check that filtering is turned on for the correct data range and that the cells in that column actually have the formatting you expect.
How filtering by color works
A color filter hides rows that do not match a selected formatting choice; it does not change the cell contents or remove data. In Excel for Microsoft 365 on Windows, open the arrow in a column header, point to Filter by Color, then choose a cell color, font color, or cell icon when those choices are available. The options depend on the formatting present in that column.
For example, imagine a task list with a Status column whose cells are filled green for complete and yellow for in progress. Filtering the Status column by the green fill displays the green rows and hides the others. You can then filter another column as well. Filters on different columns work together, so a second filter narrows the already-filtered results.
Color is a display property, not a value such as Complete or In progress. Excel does not infer what a color means; it simply uses the formatting as a criterion. That distinction matters if colors are inconsistent or if other people need to understand and maintain the workbook.
Check the range and turn on filter arrows
The filter arrow must belong to the column containing the colored cells. If the arrows are missing, click inside the data and choose Data > Filter. On Windows, Ctrl+Shift+L toggles AutoFilter on or off for the selected range. If your range is not detected correctly, select the full rectangular block—including its header row—before turning on Filter.
Check the layout before trying the color command:
- Use one header row, followed by the records. Avoid merged cells in the header or data area.
- Keep the records in a continuous block. Completely blank rows or columns can cause Excel to treat part of the data as a separate range.
- Open the arrow above the column whose cells have the color. A color in one column cannot be selected from another column’s menu.
- Confirm that the filter is applied to the full list, not just a smaller section that leaves out the colored rows.
For a more durable setup, convert the list to an Excel table: select a cell in the data and choose Insert > Table, then confirm whether the range has headers. Tables normally provide filter arrows in the header row and expand as records are added. If a table’s arrows are not visible, check that its Header Row option is enabled under Table Design.
Apply the color filter step by step
- Click the filter arrow in the header of the column you want to filter.
- Point to Filter by Color. Do not choose the ordinary checkbox list unless you want to filter by cell values.
- Under the relevant category, choose the displayed cell color, font color, or icon. Excel then hides the rows that do not match.
- To remove the restriction, open that column’s arrow and choose Clear Filter From followed by the column name, or use Data > Clear to clear filters across the range.
Menus can look slightly different across Excel updates and operating systems. In Excel for Mac, use the filter arrow and its color-filter menu; if you do not know the shortcut for your version, the ribbon route is safer. Excel for the web also has a different interface, so look in the column’s filter menu or open the file in the desktop app if the option is not shown there.
Why Filter by Color may be missing
The most common reason is that Excel has no applicable formatting color to offer for that column. A color used elsewhere in the worksheet does not make it available in every filter menu. Open the arrow for the specific colored column, and inspect the cells inside the active filter range. If the formatting was removed, or the colored cells are outside the range, the expected option may not appear.
Other causes are less obvious:
- Filtering is off: Without AutoFilter arrows, there is no column menu from which to choose a color.
- The wrong range is active: A blank row, blank column, or an incomplete selection may have split the list or excluded the target cells.
- The sheet is protected: Protection settings can restrict sorting and filtering. If you have permission, review Review > Unprotect Sheet or ask the workbook owner to allow filtering.
- The workbook is in an unusual state: A shared editing situation, a restricted file, or a version-specific interface can affect which controls are available. Check whether the same workbook behaves differently in the desktop app.
- You are opening the wrong menu: The color command is inside the column’s filter arrow, not in the Home tab’s fill-color control.
Also distinguish a missing command from a command that is simply lower in the menu. Depending on the data and interface, Filter by Color may appear below the value checklist or in a submenu. Scroll or point to the menu item rather than assuming the command is unavailable.
Conditional formatting and displayed colors
Cells may look colored because of a regular fill applied with the Home tab, or because a conditional-formatting rule changes their appearance. Excel can offer colors used by conditional formatting in the filter menu, but the color is the visible result of a rule, not a permanent cell value. If the rule’s result changes when values recalculate or the data changes, the set of rows matching that displayed color can change too.
When a conditional-formatting color is not offered or the result seems unexpected, inspect the rule and the range it covers. Choose Home > Conditional Formatting > Manage Rules to review rules, their “Applies to” ranges, and their order. Verify that the rule really formats the column you are filtering, and that the cells in the current data range satisfy the rule. A fill color that is manually applied can also cover up the visual cue you expected from a rule, making the sheet harder to interpret.
For icon sets, use the icon option in Filter by Color if it is available. For font colors, select the font-color category rather than cell color. These are separate formatting properties: a cell with a green font on a white background is not the same filter choice as a green-filled cell.
When the filter appears to do nothing
First check the status bar and the visible rows: filtering hides rows rather than deleting them, and row numbers may skip. If every row remains visible, confirm that you chose a color actually present in the filtered column and that the selected range includes those records. If no rows remain, the chosen color may not match the cells in that range, even if a similar shade appears elsewhere in the workbook.
Clear existing filters and try again when the result is confusing. A value filter on another column may already be excluding the records you expect to see. Since separate column filters combine, a green row will stay hidden if it fails a second column’s criteria. Use Data > Clear, then apply the color filter by itself to isolate the issue.
Finally, check whether the color is applied to the cell you think it is. Sometimes a colored shape, a nearby cell, or conditional formatting makes a row look colored even though the target cell has no matching fill. Click the target cell and inspect the fill or font control, as well as any applicable conditional-formatting rules.
Filter by color versus sort by color
Filtering and sorting are different operations. A color filter shows only records with the selected formatting and hides the rest. Sorting by color rearranges records so cells of a selected color appear together, while keeping the other records in the range. If you need to review every row but group the highlighted ones, sorting may be the better choice.
In a filter menu, use the sorting commands when you want to reorder the list; use Filter by Color when you want to temporarily limit what is shown. Both operations can be undone by clearing the filter or restoring the desired sort order, but a sort changes row order. Make sure you sort the whole list, not just one column, so values in each record remain together.
More reliable alternatives when color is inconsistent
If color represents a category, put the category in a column and filter by its value—for example, use Complete rather than relying only on green fill. This is easier to search, review, share, and maintain. You can still use conditional formatting to color the category cells automatically, while the written status remains the actual criterion.
For an existing workbook where colors are the only indicator, standard worksheet formulas do not directly return a cell’s fill color. A formula-based helper column therefore needs a real data rule to test, such as whether the Status cell contains Complete, rather than trying to read its appearance. If formatting is the only source of truth, filter by color or use a carefully designed automation solution; macros require extra care, are not available in every Excel environment, and should be tested on a copy.
Before changing a workbook, consider why the colors were assigned. A manual fill may be an informal annotation, while conditional formatting may reflect a rule that can be expressed as data. Replacing the color-only system with a labeled status field reduces ambiguity, especially when several shades, themes, or contributors are involved.
Frequently Asked Questions
Can Excel filter by conditional formatting color?
Yes, Excel can filter by colors displayed through conditional formatting when those colors are available in the column’s Filter by Color menu. Check the rule’s range and result if the expected color is missing or the matching rows change.
Why can I see a color but not select it in the filter menu?
The visible color may be outside the filtered range, in a different column, or produced by an object rather than the cell. Check the exact column arrow, the active range, and the cell’s fill, font, or conditional-formatting rule.
Does filtering by color delete the other rows?
No. It hides rows that do not match. Clear the filter to show them again. Avoid deleting visible rows unless that is specifically what you intend.
Can I filter by more than one color?
A color filter selects a color criterion for a column. To show multiple categories, use the ordinary value checklist when the categories are stored as values, or add a clear helper field that identifies the desired groups. The exact color choices depend on the formatting available in the column.
Can a formula filter cells by fill color?
Standard worksheet formulas do not directly read a cell’s fill color. If color represents a value, filter a status or category column instead; that approach is generally clearer and less fragile.
Related
- Excel Modify Drop-Down Lists: Steps, Tips and Fixes
- Large Excel File Won’t Open? Causes and Practical Fixes
- Excel Mode With Text: Find the Most Frequent Text Value
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- Excel Date Plus 1 Day: Formula, Examples, and FixesTo add one day to an Excel date, add 1 to the date cell. If the date is…
- Excel INDEX MATCH Examples and How to Use ThemIn Excel, INDEX MATCH looks up a value by finding its position with MATCH and returning the value…
- Excel Goal Seek Formula Alternatives That WorkExcel does not have a worksheet function called GOALSEEK; Goal Seek is a What-If Analysis command. The formula…
- XLOOKUP Function Examples: Exact, Approximate, and MoreXLOOKUP searches one range for a value and returns the corresponding value from another range. For example, with…
- Excel Sum Based on Filter: Formulas for Visible RowsTo sum only the rows currently visible after filtering in Excel, use SUBTOTAL. With values in B2:B100, enter…
- Excel Day Count Formula: Calculate Days Between DatesTo count calendar days between two dates in Excel, subtract the earlier date from the later one: with…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.