Not All Rows are Filtered

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


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, 2021, and Excel in Microsoft 365.

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

Modifying the Backup Copy File Name

Backup files, created automatically by Word, have the filename extension WBK and start with the words "Backup of." If you ...

Discover More

Highlighting Values in a Cell

There are many ways that Excel allows you to highlight information in a cell. This tip examines a way to highlight values ...

Discover More

Passing Custom Caption Labels from a Template to a Document Based on the Template

Caption labels can be useful when you are adding document elements such as tables and figures. Word allows you to create ...

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (ribbon)

Deriving a List of Albums by a Music Artist

You can use Excel to keep what is essentially a small, simple database of information. Getting information from the ...

Discover More

Copying Comments when Filtering

The filtering feature in Excel allows you to quickly copy unique information from one data list to another. If you want ...

Discover More

Copying the Results of Filtering

Filtering is a great asset when you need to get a handle on a subset of your data. Excel even makes it easy to copy the ...

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 seven 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.