Not All Rows are Filtered

Written by Allen Wyatt (last updated October 14, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


Danita has a worksheet that contains 1,327 rows. She would like to be able to filter this data. When she clicks on the Filter tool (on the Data tab of the ribbon), filtering is applied, but it doesn't include all the rows. It stops at row 1,286, and the rows below that are not filtered and keep showing all information. Danita wonders why this happens and if there is a limit on how many rows can be filtered.

First, let's answer the simple question: There is no real practical limit on how many rows can be filtered. Microsoft states that any theoretical limit is based on the number of unique values in a column. That limit is around 10,000 unique values, which in most instances means there is no real limit on the number of rows.

Now, to the problem that Danita is experiencing. This typically occurs if there is a blank row in your data. The solution is to remove the filter, and then take a look at row 1,286-1,287. If you see a blank row there, just delete the row and reapply the filter.

This behavior (of stopping at blank rows) happens when you select a cell in the data and then apply the filter. It will not occur if, before applying the filter, you select all of the cells you want included in the filter. If you want to see which cells Excel thinks should be included in filtering, select a cell in your data and then press Ctrl+Shift+* (that's an asterisk). Do this before you apply the filter, and you can easily see if there are any problem areas with your data.

There is another scenario where you might see this type of behavior. If you apply a filter to your data and then start adding more data past the original rows, those won't be included in the filtered data. If you suspect this is the case, simply remove the filter and reapply it to have all of the data included.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (949) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Protecting Hidden Text

Formatting some of your text as hidden can be a great help when you need to keep some things from being viewed or ...

Discover More

Understanding Color and Conditional Formatting Codes

When you create custom cell formats, you can include codes that allow you to set the color of a cell and that specify the ...

Discover More

Repeating Rows at the Bottom of a Page

Excel allows you to repeat rows at the top of every page of a printout. If you want to repeat rows at the bottom of every ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Column Formatting Based On a Filter

When working with filtered data, you may want to specially format a column that has a filter applied to it. Here are a ...

Discover More

Filtering for Purchases within a Given Month

Filtering is a great tool when dealing with large data sets. Knowing how to apply a filter, though, can be a bit tricky ...

Discover More

Filtering to a Date Range in the Past

If you have a large number of data records, each with an associated date, you might want to filter that data so you see ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 1 + 1?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.