Function Problems

Excel Formula to Award Points for Correct Race Predictions

Algirdas JasaitisAlgirdas Jasaitis Nov 12, 2026 869 views

Question details

Create a formula that compares each member's race prediction with the first-, second-, and third-place results and returns the matching point value or zero.

Excel Formula to Award Points for Correct Race Predictions
Product
Microsoft Excel
Device & OS
not provided
Scenario
A race-results table contains finishing names and their point values, while a separate table contains members' predictions that need to be scored.
Observed behavior
Each single prediction should return the points assigned to its matching result; a prediction that does not match a listed result should return 0.
Before you start

Place the official first-, second-, and third-place names in one results column and the corresponding point values in the next column. Ensure names use consistent spelling and do not contain unintended leading or trailing spaces.

Solution 1Recommended

Use XLOOKUP to score one race prediction per cell

Use this method when each prediction cell contains one driver, team, or racer name.

XLOOKUP searches the race-results list for the prediction and returns its matching point value. The final 0 makes unmatched predictions return zero instead of an error.

1
Set up the results table

Enter the finishing names in B16:B18 and enter their point values in C16:C18. For example, B16:B18 can contain the first-, second-, and third-place names.

2
Enter the scoring formula

Select the score cell next to the prediction in B6 and enter =XLOOKUP(B6,$B$16:$B$18,$C$16:$C$18,0).

3
Fill the formula to other predictions

Press Enter, then drag the fill handle from the score cell down or across the adjacent scoring cells for the remaining members or races.

Use XLOOKUP to score one race prediction per cell
Unmatched predictions score zero: If the name in B6 is not found in B16:B18, the formula returns 0.
WPS Spreadsheets

Score race predictions quickly in WPS Spreadsheets

WPS Spreadsheets lets you build the same race-prediction scoring table with XLOOKUP, fixed result ranges, and automatic fill-down. Enter the results once, then calculate points for every member in a few steps.

  1. 1. Open the race scoring workbook: Launch WPS Spreadsheets and open the Excel workbook, or select New to create a blank spreadsheet.
  2. 2. Create the results and points table: Enter the official finishing names in one column and their assigned point values in the adjacent column.
  3. 3. Add an XLOOKUP score formula: Select the score cell beside the first prediction and enter =XLOOKUP(B6,$B$16:$B$18,$C$16:$C$18,0), adjusting the ranges to match your sheet.
  4. 4. Apply the formula to all members: Press Enter, then drag the fill handle down the score column to calculate points for each prediction.
Use XLOOKUP to return race-result points or zero for unmatched predictions.Use SUMPRODUCT to total points from comma-separated race predictions.Open and edit Microsoft Excel .xlsx and .xls race-scoring workbooks.Use a familiar spreadsheet interface for formulas, tables, and fill handles.
microsoft office alternative - wps office

Frequently Asked Questions

Why does XLOOKUP return 0 for a correct-looking race prediction?

Check that the prediction and the result name match exactly. Remove extra spaces with TRIM, verify spelling, and make sure the lookup range contains the official result name.

Can I assign different points for first, second, and third place?

Yes. Enter the place-specific values in the return range, such as C16:C18, and use =XLOOKUP(B6,$B$16:$B$18,$C$16:$C$18,0). The formula returns the points beside the matched name.

How do I copy the race scoring formula without changing the results range?

Use dollar signs to lock the results table, for example $B$16:$B$18 and $C$16:$C$18. Then drag the formula down from the first scoring cell.

Can one prediction cell contain several racer names?

Yes. Separate the names with commas and use a SUMPRODUCT formula that checks each listed result name, such as =SUMPRODUCT(--ISNUMBER(SEARCH(","&SUBSTITUTE($B$16:$B$18," ","")&",",","&SUBSTITUTE(B6," ","")&",")),$C$16:$C$18).

Does this formula work in WPS Spreadsheets?

WPS Spreadsheets can open Excel .xlsx and .xls files and supports common lookup and calculation workflows. Enter the formula in the score cell and adjust the cell references to your worksheet layout.