How to Create an Excel Formula That Stops at the First Passing Score
Question details
The user needs an Excel formula for a scorecard that evaluates up to three attempts and returns the first score that reaches 80 or higher, automatically ignoring any later attempts.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking multiple assessment attempts where scores are recorded in non-adjacent columns, and the final score must lock in as soon as the passing threshold is met.
- Observed behavior
- Using a simple MAX function evaluates all attempts regardless of order, returning the absolute highest score even if it occurred after the user had already passed.
Ensure you know the exact cell references for the first, second, and third attempts, as well as the exact numerical passing threshold.
Use a Nested IF Formula with a MAX Fallback
By nesting IF statements, Excel evaluates conditions chronologically. It will stop at the first attempt that meets the passing score criteria.
Instead of calculating the maximum value of all attempts, a nested IF formula evaluates the scores sequentially. If the first attempt is a passing score, it stops and returns that value. If it isn't, it checks the second attempt. This works perfectly even if the columns are non-adjacent.
Click on the cell where you want the final scorecard result to be displayed.
Type =IF(J6>=80, J6, to check if the first attempt (e.g., cell J6) meets or exceeds the passing score of 80.
For the 'value_if_false' parameter, add another IF statement for the second attempt: IF(Z6>=80, Z6,
If none of the attempts pass, you can return the highest failed score by using the MAX function. Complete the formula by typing MAX(J6,Z6,AD6))) and press Enter. The complete formula is: =IF(J6>=80,J6,IF(Z6>=80,Z6,MAX(J6,Z6,AD6)))

Easily Build Advanced Formulas in WPS Spreadsheet
WPS Office offers a robust Spreadsheet application that fully supports nested IF and MAX formulas, allowing you to seamlessly track scores and create logic-based data sheets.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your scorecard spreadsheet.
- 2. Input your Nested Formula: Select the target cell and paste the nested IF formula to check your attempts chronologically.
- 3. Drag to fill: Click the small square at the bottom-right corner of the cell and drag it down to apply the formula to all students.

Frequently Asked Questions
Why shouldn't I just use the MAX function for a scorecard?
The MAX function simply returns the highest value from all selected cells without respecting chronological order. If a user passes on the first attempt with an 85, but scores a 95 on a later attempt, the MAX function will return 95, which violates the rule of stopping at the first passing score.
Does this formula work if the score columns are not next to each other?
Yes. By manually clicking or typing specific cell references (like J6, Z6, and AD6) in the nested IF formula, it perfectly handles non-adjacent columns without accidentally including data from the columns in between.
How do I add a fourth attempt to this formula?
You can continue nesting by adding another IF statement before the final MAX function. For example: =IF(J6>=80, J6, IF(Z6>=80, Z6, IF(AD6>=80, AD6, MAX(J6,Z6,AD6,AH6))))
What happens if a cell is left blank?
Excel and WPS Spreadsheet treat blank cells as a zero value in mathematical comparisons. A zero is below 80, so the formula will correctly evaluate it as a failed attempt and move on to check the next specified cell.




