Skip to main content
Bob Umlas/4 min read

Filtering Data in Excel

Common Excel Functions

SUMIFS / COUNTIFS

Conditional sums and counts — multiple criteria.

INDEX/MATCH

More flexible than VLOOKUP — works any column direction.

IFERROR

Wrap formulas to suppress error displays.

TEXT

Format numbers as strings — TEXT(B1, "$#,##0.00") for currency.

Master Excel at Noble Desktop

Noble Desktop's Excel Bootcamp covers formulas, pivot tables, data analysis, and VBA.

Discover the various ways to filter data in Excel and utilize this feature to efficiently organize and analyze your datasets.

Filtering data means to show a list of data but only those rows which has information you’re interested in seeing. The other rows are hidden, or, more accurately, filtered. A simple example. Suppose you have this short list:

Short list

And you’re only interested in seeing the rows for Dairy. There are several ways to do this. First, let’s look at the result of that filtering:Filtering in Filtering Data In ExcelThere are several things to notice:

The row numbers have turned blue

Rows 3-4 are not visible (they’re filtered)

There are icons in cells A1:C1

The icon in cell A1 has a filter icon, meaning this column contains the instructions for filtering that column’s data.

Let’s look at the many ways this can be done, then we’ll expand the scope of what filtering can do.

In the Data tab of the ribbon, the Sort & Filter group, you’ll see the Filter icon. You can click this or, as the tip says, press CTRL+Shift+L. This is a toggle to enter filter mode or exit it. The effect of soing this is that you’ll see the filter icons in every column, top row, of the region surrounding the active cell.

Screenshot from Microsoft Excel’s Data tab, showing the 'Filter' button tooltip, which reads: ‘Filter (CTRL+Shift+L). Turn on filtering for the selected cells. Then, click the arrow in the column header to narrow down the data.’

Right-click on the cell you want to filter by, and select Filter/Filter by Selected Cell’s Value:

Filtering Data In Excel example showing cell you want to filter by, and select filter/filter by sele

This will not only put you in filter mode, it will also do the filtering – in this case, filter by Produce.

When the filter icons are present, clicking on the arrow (Produce, in this example) will show this:

Show this

Notice there are several other features here, including Sorting in the top half. At the bottom is an option to select which item(s) you want to see. If there were many, then you can select (or deselect) the ones you want to see (or not want to see!)There’s also a Search box, in which you can enter something to search for. Here’s an example with a new dataset:

Screenshot of an Excel filter menu with a search box and checkboxes for various fruits (Apple, Banana, Grape, Honeydew Melon, Orange, Persimmon, Pineapple, Plum, Watermelon), all selected alongside a 'Select All' option.

If I type Apple in the search box:

Search box

Notice Pineapple is also selected! There’s also a checkbox, “Add current selection to filter”. If I had previously filtered by Banana, for example, then clicked that checkbox above, I’d see:


Id 20see

There’s also a field called Text filters:

Text fillers

As you can see, there are many other features here. Instead of showing each one, since they’re fairly self-explanatory, I’ll show one, “Begins with…”:

Begins with

This choice would show:

Would show

If the field is not text, you would see a different choice besides Text Filters:

1. Number filters

Number filters

2. Date filters (Pretty massive choices here!)

Data filters

Converting to a Table (covered in a separate article) will also put the filter icons at the top of each column and has many added features. It pretty much looks the same (going back to the original list) aside from applying some Table formatting:

Table formatting

You can filter more than one field. Assume you have chosen just Product, you can then filter that choice by another column. For example, I can pick a particular salesperson:

Salesperson in Filtering Data In Excel

Which produces:

Which produces

Then, further, I can pick items under,000 in sales:


5000 in Filtering Data In Excel

5001 in Filtering Data In Excel

5002 in Filtering Data In Excel

By the way, when you filter, you get a notification of the results at the bottom left of your screen:

Left in Filtering Data In Excel

The quickest way to show all records yet remain in filter mode is to press CTRL/Shift/L twice!

Near the beginning of this article, using the right-click and selecting Filter, there were several other options, repeated here:

Repeated here

Without demoing each, here’s what they do:

Filter by Selected Cell’s Color is the color of the cell, not the font color. If your list is multi-colored, you can filter by a particular color!

Filter by Selected Cell’s Font Color is the font color of the cell, not the color.

Filter by Selected Cell’s Icon is used if you chose icons from the conditional formatting feature:

Screenshot of Microsoft Excel’s Conditional Formatting dropdown menu displaying options like Highlight Cells Rules, Top/Bottom Rules, Data Bars, Color Scales, and Icon Sets (including directional arrows and shapes). This can show the data like this!

Data like this

Then if I filter by right-clicking the $4,448, and select Filter by Selected Cell’s Icon, I’d see:

Filtering Data In Excel example showing right-clicking the $4,448, and select filter by selected cel

There’s much more to filtering. In another article we’ll cover Advanced Filtering, as well as review the new Dynamic Array function, =FILTER(…)