Function Problems

How to Create an Excel Report from Multiple Worksheets with FILTER and LET

Emma BrownEmma Brown Nov 10, 2026 868 views

Question details

The user needs to build a dynamic Excel report that consolidates review records from multiple worksheet tables based on a selected representative, date range, and specific performance criteria (e.g., 'Not Met' or 'Exceeded').

How to Create a Dynamic Excel Report from Multiple Worksheets using FILTER and LET
Product
Excel
Device & OS
not provided
Scenario
Consolidating specific data categories across multiple tabs into a master report, but encountering issues where the formula copies as plain text or pulls incorrect blank rows.
Observed behavior
When pasting the complex formula into the master workbook, it displays as plain text instead of calculating. Additionally, empty arrays or unmatched criteria can cause unwanted data to spill into the report.
Before you start

Ensure all source data ranges are formatted as Tables (Ctrl+T) and note down their exact table names and column headers, as dynamic array formulas rely on precise referencing to combine data accurately.

Solution 1Recommended

Build the Dynamic Report Using LET, VSTACK, and FILTER

Use advanced array functions to automatically stack and filter data from multiple tables into a single report.

By combining LET (to declare variables) with VSTACK (to append data vertically) and FILTER (to extract specific criteria), you can create a seamless dynamic report without VBA.

To ensure blank matches do not break the layout, wrap each table's filter logic in an IF statement that checks for your target conditions.

1
Prepare the Master Report Tab

Create a new worksheet (e.g., 'Results'). Dedicate specific cells for your variables, such as A2 for the Representative Name, B2 for the Start Date, and C2 for the End Date.

2
Construct the LET and VSTACK Formula

Select the cell where you want your report to begin. Enter your combined formula starting with =LET(total, IFERROR(VSTACK(...), ""). Use VSTACK to combine the headers and the filtered results of each table sequentially.

3
Apply FILTER Logic for Each Table

Inside the VSTACK, use the FILTER function for each source table to match the Representative Name, check if the Date falls between B2 and C2, and ensure the performance metric matches your target strings (like 'Not Met' or 'Exceeded').

4
Execute the Array Formula

Press Enter to execute. The formula will automatically 'spill' the results down and across the neighboring cells, creating your categorized report dynamically.

Build the Dynamic Report Using LET, VSTACK, and FILTER
Spill Range Requirement: Make sure there are no typed values or formatting directly below your formula cell. If the path is blocked, you will receive a #SPILL! error until the cells are cleared.
WPS Spreadsheet

Build Dynamic Reports Easily in WPS Spreadsheet

WPS Spreadsheet fully supports advanced dynamic array formulas including LET, FILTER, VSTACK, and LAMBDA. You can consolidate large datasets and run complex reports without compatibility issues.

  1. 1. Open Your Multi-Sheet Workbook: Launch WPS Spreadsheet and open the file containing your source tables.
  2. 2. Create Your Reporting Dashboard: Designate a summary tab and set up your dropdowns or cells for dates, reps, and conditions.
  3. 3. Apply Array Formulas: Type or paste your LET and VSTACK formulas just as you would in standard spreadsheet software to automatically generate the combined report.
100% compatibility with advanced Microsoft Excel functions and array formulasFast processing engine designed to handle nested formulas and large table arraysFree and lightweight alternative for powerful daily data analysis
microsoft office alternative - wps office

Frequently Asked Questions

Why is my FILTER formula returning a #CALC! error?

A #CALC! error generally occurs when the FILTER function finds no matching records based on your criteria. You can fix this by adding an 'if_empty' argument to your FILTER function, for example: =FILTER(A1:C10, B1:B10="Criteria", "No results found").

Can I use LET and VSTACK functions in WPS Spreadsheet?

Yes, modern versions of WPS Spreadsheet fully support standard dynamic array functions like LET, VSTACK, FILTER, SORT, and UNIQUE, allowing you to build identical reports to those created in other advanced spreadsheet software.

How do I prevent zero values from showing when filtering empty cells?

If your source table has empty cells, the array formula might output them as 0. You can prevent this by formatting the report cells to hide zeros (Custom Format: 0;-0;;@) or by wrapping the result in an IF statement that checks for blanks and outputs an empty string ("").