Excel Formula to Award Points for Correct Race Predictions
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.

- 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.
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.
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.
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.
Select the score cell next to the prediction in B6 and enter =XLOOKUP(B6,$B$16:$B$18,$C$16:$C$18,0).
Press Enter, then drag the fill handle from the score cell down or across the adjacent scoring cells for the remaining members or races.

Sum points when one cell contains multiple comma-separated predictions
Use this method when a member enters several predicted names in one cell, separated by commas.
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. Open the race scoring workbook: Launch WPS Spreadsheets and open the Excel workbook, or select New to create a blank spreadsheet.
- 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. 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. Apply the formula to all members: Press Enter, then drag the fill handle down the score column to calculate points for each prediction.

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.




