Consider the following data as a product price list. We have added a filter to the data. The drop-down icons at the right-bottom corners of the column headers signal that the Filter command is added to this range. We can filter by values inside each column.
Why Add a Filter in Excel?
Adding filters in Excel can be beneficial to:
- Manage large datasets;
- Visualize specific data segments;
- Identify and address data inconsistencies;
- Avoid duplicate entries;
- Easy data extraction.
4 Methods to Add Filter in Excel
Method 1 – Adding a Filter from the Data Tab
- Select any cell within the range.
- Go to the Data tab, choose the Sort & Filter group, and click on Filter.
- You will see that arrow icons are shown beside the column headers.
- Click the drop-down icon.
- Select Number Filters and pick Between. The selected column contains numbers. So, the Number Filters option is visible here.
- The Custom Autofilter dialog box will appear.
- Type the filter criteria and select OK. We filtered the values from 10-30 in the Quantity column.
- You will see that the Quantity values are shown for only the given range. Here, you will notice that the rows are hidden.
Method 2 – Adding a Filter from the Home Tab
- Select any cell within the range.
- Go to the Home tab, choose Sort & Filter, and select Filter.
- Click on the drop-down icon of your preferred column. We have selected the Category column to apply filters.
- Select the item based on which you want to filter the data. You can select multiple items as well.
- Click the OK button.
- The data is filtered based on the selected criteria.
Method 3 – Adding a Filter from the Context Menu
- Select any cell within the range and right-click on it.
- Go to Filter and select Filter by Selected Cell’s Value.
- Click on the Filter icon.
- Select the item based on which you want to apply the filter. We selected the item Pasta from the Category column.
- Click on OK.
- You will see only the products under the Pasta category.
Method 4 – Using a Keyboard Shortcut
- Select any cell within the range.
- Press Ctrl + Shift + L and the Filter option will be added to your data.
Download the Practice Workbook
Frequently Asked Questions
How to filter multiple columns in Excel?
To filter multiple columns in Excel, click on the filter arrow for each column you want to filter, then choose your filtering criteria for each column.
How to remove filter in Excel?
To remove a filter in Excel:
- Select any cell within the range.
- Go to the Data tab > Sort & Filter group > Filter.
How to filter blank cells in Excel?
To filter blank cells in Excel:
- Click on any cell within the range.
- Go to the Data tab > Sort & Filter group > Filter.
This will add filter arrows to the headers of your data columns. - Click on the filter arrow in the header of the column you want to filter.
- In the filter drop-down menu, uncheck the Select All option.
- Scroll down and check the box next to Blanks.
<< Go Back to Filter in Excel | Learn Excel
Get FREE Advanced Excel Exercises with Solutions!