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

Single-Use Drop-Down List

Want to create an easy drop-down list? You can do so by using the data validation features of Excel.

Discover More

Inserting Custom Properties with Fields

If you define a group of custom properties for a document, you may want a way to display the contents of those properties ...

Discover More

Hiding Excel in VBA

Want to have you macro completely hide the Excel interface? You can do so by using the Visible property for the Excel ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Finding Rows with Values in Two Columns

When you use Excel to input and store information, you need to be concerned with whether the information meets your ...

Discover More

Removing Filters and Unhiding Rows and Columns on Multiple Worksheets

Need to remove filters and display all rows and columns in all your worksheets? It is not easy to do manually, but with a ...

Discover More

Clearing Only Filtering Settings

When you filter data in a worksheet, Excel also allows you to apply sorting orders to that data. Here is a ...

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 five more than 3?

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.