How to Filter Excel Data Using Multiple Drop-Down Selections
Question details
The user wants to extract specific financial data based on multiple selected reporting periods and transaction types from drop-down menus using a simple formula.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Extracting and filtering financial data by month and transaction type based on single or multiple user selections from drop-down menus.
- Observed behavior
- Seeking a cleaner, more efficient formula alternative to long, complex nested IF statements to dynamically filter and display financial data.
Ensure your financial data is formatted as a continuous table or data range without blank rows, and that your drop-down menus are correctly linked to specific cells for the formula to reference.
Use the FILTER Function with ISNUMBER and MATCH
Replace complex nested IF statements with the dynamic FILTER function to extract data based on multiple criteria.
The FILTER function allows you to return an array of values that meet specific criteria. When dealing with multiple drop-down selections (like different months or transaction types), combining it with ISNUMBER and MATCH ensures the formula checks if the period in your data matches any of the selected periods.
Identify or create the cells where your drop-down selections are made. For example, cells H2:H4 could contain the selected reporting months.
Select the top-left cell where you want the extracted data to appear. Type the formula =FILTER(A2:E100, ISNUMBER(MATCH(B2:B100, H2:H4, 0))) where A2:E100 is your source data, and B2:B100 is the column containing the months.
Press Enter. The formula will automatically spill the filtered financial rows that match any of the selected periods into the adjacent cells.

Use the Advanced Filter Tool for Static Extraction
If you are using a version of the software that does not support dynamic array functions like FILTER, the Advanced Filter tool is an excellent alternative for extracting complex data sets.
Easily Filter and Analyze Financial Data with WPS Spreadsheet
WPS Spreadsheet fully supports modern dynamic array functions like FILTER, making it effortless to extract data based on multiple drop-down selections without relying on complicated nested IF formulas.
- 1. Open your workbook: Launch WPS Spreadsheet and open your financial workbook.
- 2. Create drop-down lists: Go to 'Data' > 'Validation' to create drop-down lists for your reporting periods.
- 3. Apply the formula: Select a blank cell and enter your =FILTER(...) formula to match your data against the drop-down cells.
- 4. View dynamic results: Press Enter to dynamically extract your financial records. The data will update instantly as you change drop-down values.

Frequently Asked Questions
Why does the FILTER function return a #CALC! error?
This error occurs when the FILTER function finds no matching records for your selected drop-down criteria. You can prevent this by adding the optional [if_empty] argument, like =FILTER(A2:B10, A2:A10=E2, "No results found").
Can I filter by both month and transaction type simultaneously?
Yes, you can combine multiple conditions by multiplying them within the FILTER formula. For example: =FILTER(A2:C100, (MonthRange=SelectedMonth)*(TypeRange=SelectedType)). This acts as an 'AND' logic statement.
How do I create the drop-down list to use with my filter?
Select the cell where you want the drop-down to appear, navigate to the Data tab, click 'Data Validation', choose 'List' from the Allow menu, and select the range containing your months or transaction types.




