How to Filter by List of Values in Excel
Filtering by a list of values in Excel allows you to display only the rows that meet specific criteria. You can use the built-in filter functionality in Excel to achieve this. Here's how to filter by a list of values in Excel:
- Open the Excel worksheet containing the data you want to filter.
- Click on a cell within the data range you want to filter. Make sure the data range has headers.
- Go to the "Data" tab on the Excel ribbon.
- Click on the "Filter" button. Small drop-down arrows will appear in the headers of each column.
- Click the drop-down arrow in the header of the column you want to filter by the list of values.
- In the drop-down menu, uncheck "Select All" to deselect all the values.
- Check the boxes next to the values you want to filter by. You can select multiple values.
- Click "OK" to apply the filter. Excel will now display only the rows that contain the selected values in the specified column.
Example
Suppose you have a list of sales data, and you want to filter the data to display only the rows with specific product names.
- Click on a cell within the data range.
- Go to the "Data" tab and click on the "Filter" button.
- Click the drop-down arrow in the header of the "Product Name" column.
- Uncheck "Select All" to deselect all the values.
- Check the boxes next to the product names you want to filter by, for example, "Product A" and "Product B".
- Click "OK" to apply the filter.
Now, the Excel worksheet will display only the rows with the selected product names (Product A and Product B) in the "Product Name" column.
Did you find this useful?