How to Find the Highest and Lowest Recent Scores in WPS Office Spreadsheets
Question details
The user needs to calculate a golf handicap from scores stored in a row, using only the latest ten nonblank, nonzero score cells and returning the largest nine scores and lowest eight scores.
- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- A golf score tracker has one row per player across columns such as A:CP, and only recent positive scores should be included in the handicap calculation.
- Observed behavior
- The workbook needs to automatically identify the nine largest and eight lowest values from the recent scores while ignoring blanks and zero placeholders.
Before writing formulas, confirm the actual score range (for example A4:CP4), verify that blanks and zero values should both be ignored, and identify whether the latest ten scores are the last ten populated cells or a fixed set of recent score columns.
Use FILTER with LARGE and SMALL to Extract the Recent High and Low Scores
Best for modern WPS Spreadsheets and Excel versions that support dynamic array formulas; it directly filters out blanks and zeros before ranking.
The FILTER function creates a clean array containing only positive, nonblank scores from the selected row. LARGE and SMALL then read that array, so zeros and empty cells never appear in the results.
Use COLUMN(A1:I1) to request nine largest scores and COLUMN(A1:H1) for eight lowest scores. If the formula is entered in a dynamic array version, the results spill across the row automatically.
Click the cell where the first high score should appear in the row you are calculating.
Type =IFERROR(LARGE(FILTER(A4:CP4,(A4:CP4>0)*(A4:CP4<>"")),COLUMN(A1:I1)),"") and press Enter to return the nine largest positive, nonblank scores.
In the cell where the first low score should appear, type =IFERROR(SMALL(FILTER(A4:CP4,(A4:CP4>0)*(A4:CP4<>"")),COLUMN(A1:H1)),"") and press Enter to return the eight lowest scores.
If scores are entered left-to-right, replace A4:CP4 with the fixed range that contains only the latest ten score columns, such as the ten rightmost score columns in the row.

Use a Legacy IF Array Formula for Older Spreadsheet Versions
Use this fallback when FILTER is not available and you need a non-dynamic array formula for maximum compatibility.
Calculate Recent High and Low Golf Scores in WPS Office Spreadsheets
Open the workbook in WPS Office Spreadsheets and use the same Excel-compatible LARGE, SMALL, and FILTER functions to return the largest nine and lowest eight recent scores while ignoring blanks and zeros.
- 1. Open the golf score workbook: Launch WPS Office Spreadsheets, click Menu > Open, and select your .xlsx golf score workbook.
- 2. Select the high-score output cell: Click the first cell where the highest recent score should appear in the player's row.
- 3. Enter the LARGE/FILTER formula: Type =IFERROR(LARGE(FILTER(A4:CP4,(A4:CP4>0)*(A4:CP4<>"")),COLUMN(A1:I1)),"") and press Enter to return the nine largest nonblank, nonzero scores.
- 4. Enter the SMALL/FILTER formula: In the low-score output area, type =IFERROR(SMALL(FILTER(A4:CP4,(A4:CP4>0)*(A4:CP4<>"")),COLUMN(A1:H1)),"") and press Enter to return the eight lowest scores.
- 5. Save the workbook: Click Menu > Save As, choose Excel Workbook (.xlsx), and save the file to preserve your formulas and results.

Frequently Asked Questions
How do I change the formula to use only the last ten score columns?
Replace A4:CP4 in the FILTER or IF formula with the fixed range covering the latest ten score columns, such as the ten rightmost score columns in that row. Then adjust COLUMN(A1:I1) or COLUMN(A1:H1) only if the number of high or low scores changes.
Why does the formula ignore blanks and zeros?
The condition (A4:CP4>0)*(A4:CP4<>"") keeps only cells that are greater than zero and not blank. Blanks and zero placeholders are filtered out before LARGE or SMALL ranks the scores.
Does this work in WPS Office if the file was created in Microsoft Excel?
Yes. WPS Office Spreadsheets opens .xlsx files and supports LARGE, SMALL, FILTER, and IFERROR, so you can use the same formulas without changing the workbook format.
What can I do if the formula shows #CALC! or returns only one result?
If FILTER is not accepted or spilling is not supported, use the legacy IF array formula and press Ctrl+Shift+Enter, or select enough output cells before confirming the formula.
Can I show the results in a single cell separated by commas?
Yes. If your version supports TEXTJOIN, enter =TEXTJOIN(", ",TRUE,IFERROR(LARGE(FILTER(A4:CP4,(A4:CP4>0)*(A4:CP4<>"")),COLUMN(A1:I1)),"")) to combine the nine largest scores into one cell.




