How to filter or select cells by cell color in Excel?

Normally you can fill cells with different colors for any purposes in Excel. If you have a worksheet with using different colors to indicate different type of contents and you want to filter or select those cells by the cell color, you may get it done as follows:

Filter rows by cell color with Filter command

Select cells by cell color with Find command

Select cells by cell color with Kutools for Excel


Count and sum cells based on background color / font color / conditional formatting:

Kutools for Excel’s Count by Color can quickly count and sum cells based on background color, font color. With it, you can count and sum by conditional formatting color as well.

doc-filter-color-12

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Filter rows by cell color with Filter command


You can filter rows by cell color with following steps:

1. Select the column that you want to filter by cell color, and click Data > Filter, see screenshot:

doc filter by color 1

2. Then the filter arrow button will be appeared besides the title of selected column.

3. Click the button, and move mouse over the Filter by Color item, and select one color to filter.

doc filter by color 2

4. Then it shows the rows whose cells are filled by selected color, and hide other rows quickly. See screenshot:

doc filter by color 3


Select cells by cell color with Find command

You may want to select cells by cell color, the Find command can help you quickly select the same color of the cells. And you can do it with following steps:

1. Select the range that you want to select the cells by specific color.

2. Press the Ctrl + F shortcuts to open the Find and Replace dialog box. And click Find tab.

3. Then click the Format button, and click Choose Format From Cell… item to select a cell with the specific color you want to select by.

doc filter by color 4

Note: If there is no Format button in the dialog box, please click the Options button to get it.

4. Click the Find All button in the Find and Replace dialog box. And it will filter all cells which have the same color as the selected cell. And then press Ctrl + A to select all cells.

doc filter by color 5

5. Then close the dialog box, and all cells meet the criteria are selected, then you can copy and paste them to a blank range as you want.

doc filter by color 6


Select cells by cell color with Kutools for Excel

If you have installed Kutools for Excel, you can use its Select Cells with Format tool to select the rows that contains cells meeting criteria no matter the cells in which column.

Kutools for Excel : with more than 120 handy Excel add-ins, free to try with no limitation in 60 days. 

1. Click Kutools > Select > Select Cells with Format…, see screenshot:

doc filter by color 7

2. In the Select Cells with Format dialog box, please do as follows:

(1.) Click  111 button to select the data range that you want to select the same color rows;

(2.) Then click Choose Format From Cell button to specify a cell that you want to select other same color rows based on.

(3.) And all the attributes of that specified cell have been listed into the below list box, then just check Fill checkbox in the dialog box.

doc filter by color 8

3. And then click OK, a prompt box will appear to tell you how many cells are matched with the specific cell.

doc filter by color 9

If you click Yes, all cells with the same color as the base cell have been selected. (If you click No, you can search again.) Then you can copy and paste them to a blank range as you want. See screenshot:

doc filter by color 10

Download and free trial Kutools for Excel Now !


Demo: Select cells by cell color with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Related articles:

How to select cells based on color or formatting of another cell in Excel?


Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1200 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Comments  

Permalink +5 Billy
THANKS, That was very helpful for me. Best Regards!
2014-02-14 11:48 Reply Reply with quote Quote
Permalink +11 RobertTK
What do we do to filter cells based on their colour if the 'Filter by Colour' option does not appear, even when some cells are coloured in?
2014-05-30 13:28 Reply Reply with quote Quote
Permalink +1 Ashish Singh
Hi sir.

Thanks.......That was very helpful for all.
2015-03-14 21:11 Reply Reply with quote Quote
Permalink 0 Yuszhang
Hi, i want to sort color by rows. Example. I have 2 color in excell by random, white and red. And i want to sort all the red cell colour go to left. How can i do that? Help please if u know. Thank you.
2015-06-11 18:03 Reply Reply with quote Quote
Permalink +1 jjjhhhh
Hi how do I do this if there are no colours?
2016-02-27 10:57 Reply Reply with quote Quote
Permalink +1 DavidB
This page was VERY helpful. I took the time to add a comment because I wanted to thank whomever that had this web page. Thank-you!
2016-09-01 20:24 Reply Reply with quote Quote
Permalink 0 Penny
I am trying to select all cells of a specified colour where the colour has been applied as a result of conditional formatting. It does not work with Find All.
2017-06-28 09:37 Reply Reply with quote Quote

Add comment


Security code
Refresh