Function Problems

How to Use the Excel LARGE Formula to Return Top Values for a Matching Date in WPS Spreadsheets

Jason MillerJason Miller Nov 13, 2026 869 views

Question details

The user needs an Excel-compatible formula in WPS Spreadsheets to return the first, second, or third largest value when a date header matches a selected date.

How to Use the Excel LARGE Formula to Return Top Values for a Matching Date in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A workbook contains a table with dates as column headers and numeric values in rows beneath each date. The user wants to pull ranked top values for a selected date into a summary sheet.
Observed behavior
The user is looking for a reliable formula combination such as LARGE plus FILTER to extract the top 1, 2, or 3 values for a matching date, and optionally return the corresponding item description.
Before you start

Confirm that your data uses date values in one header row and numeric values in the rows below, and that the selected date is entered in a separate cell for the formula to reference.

Solution 1Recommended

Use LARGE with FILTER to Return the Nth Largest Value for a Selected Date

Best when your WPS Spreadsheets version supports the FILTER function and you need a dynamic formula that automatically updates when the selected date changes.

The FILTER function returns only the columns whose date header equals the selected date. LARGE then ranks those filtered numbers without a helper column.

1
Enter the selected date in a reference cell

Type the target date in a summary cell, for example Resumo!B5, so the formula can compare every date header against it.

2
Click the result cell

Open the WPS Spreadsheets workbook and select the cell where the first largest value should appear.

3
Enter the LARGE and FILTER formula

Type =LARGE(FILTER(Folha4!$B$3:$M$106,Folha4!$B$1:$M$1=Resumo!B5),1) and press Enter.

4
Reuse the formula for the second and third values

Copy the formula and change the last argument from 1 to 2, 3, and so on for subsequent rankings.

Use LARGE with FILTER to Return the Nth Largest Value for a Selected Date
Formula result updates automatically: When you change the date in Resumo!B5, FILTER re-evaluates the matching columns and LARGE returns the new ranked value.
Solve it in WPS Spreadsheets

Return Top Values by Matching Date in WPS Spreadsheets

Open your Excel workbook in WPS Spreadsheets, enter the LARGE and FILTER formula, and rank values for the selected date without switching tools. WPS Spreadsheets uses Excel-compatible formulas and saves .xlsx files natively.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office and open the .xlsx file that contains the date headers and numeric value rows.
  2. 2. Enter the selected date: Type the target date in a summary cell such as Resumo!B5.
  3. 3. Enter the LARGE and FILTER formula: In the result cell, type =LARGE(FILTER(Folha4!$B$3:$M$106,Folha4!$B$1:$M$1=Resumo!B5),1) and press Enter.
  4. 4. Add ranks 2 and 3: Copy the formula down or across and change the rank number to 2, 3, and so on.
  5. 5. Save the workbook: Save the file as .xlsx to keep working in WPS Spreadsheets or Excel.
Use LARGE, FILTER, and XLOOKUP formulas just like in ExcelOpens and saves Microsoft Excel .xlsx workbooks with full format compatibilityFree, lightweight spreadsheet app with a familiar ribbon interfaceDynamic formula results update when the selected date changesNo helper columns required for matching-date top value lookups
microsoft office alternative - wps office

Frequently Asked Questions

Why does my LARGE(FILTER(...)) formula return #CALC! in WPS Spreadsheets?

This usually means FILTER found no columns matching the selected date. Check that the date cell and the header dates are real dates, not text, and that the selected date exists in the date header range.

Can I use this LARGE and FILTER formula in WPS Office for a .xlsx file?

Yes. WPS Spreadsheets supports Excel .xlsx workbooks and many modern lookup functions, including FILTER and XLOOKUP in current versions. Open your .xlsx workbook and enter the formula as you would in Excel.

How do I return the item description for the second largest value for a matching date?

First use LARGE(FILTER(...),2) to get the second largest value. Then use XLOOKUP with two conditions: one that matches the date header and one that matches the ranked value, for example =XLOOKUP(1,(date_range=selected_date)*(value_range=ranked_value),description_range,"Not found").

What if my WPS Spreadsheets version does not have FILTER?

Use the array formula =LARGE(IF(date_header_range=selected_date,value_range),1) and press Ctrl+Shift+Enter. If you still get #NAME?, update WPS Office to a version that includes modern dynamic array functions.

Does the date row have to be in a specific position for this formula to work?

The formula expects one date header row and one or more value rows. You can adjust the ranges to match your layout; just keep the date header range and value range the same number of columns.