Sobre este ejercicio
Un conjunto de datos de 60 filas en una hoja, una celda de respuesta, unos 4 minutos. Se corrige en tu navegador: el valor y la fórmula que lo produce, con comentarios que te dicen qué arreglar.
Cómo resolverlo
- E2
=IF(D2>=60,"Pass","Fail")
IF evaluates a test and returns one of two values: =IF(D2>=60,"Pass","Fail") asks "is the score at least 60?" and answers Pass when it is and Fail when it is not. The test uses >= (greater than or equal) because the pass mark itself passes. Because the formula points at D2 rather than containing the score, filling it down gives every row its own verdict, and correcting a score updates the result immediately.
Pitfall 1: writing > instead of >= moves the boundary — the 3 students with exactly 60 points would be marked Fail, which is the kind of error nobody notices until a student complains. Pitfall 2: text results need quotes; =IF(D2>=60,Pass,Fail) returns #NAME? because Excel looks for named ranges called Pass and Fail. Pitfall 3: a blank score is treated as 0 and reads Fail — wrap the test in IF(D2="","",…) when the data can have gaps. Design: keep the pass mark in its own cell (for example G1) and reference it as $G$1, so a change by the exam board is one edit instead of 60 formula changes; that is exactly what the next exercises in this track practise. Alternatives: IFS(D2>=60,"Pass",TRUE,"Fail") reads the same in Excel 2019 and later; for more than two outcomes (Distinction / Pass / Fail) use IFS or a nested IF.
Otras formas válidas
- =IF(D2<60,"Fail","Pass") — the same test written the other way round
- =IFS(D2>=60,"Pass",TRUE,"Fail") — Excel 2019 and later; TRUE is the catch-all branch
- =IF(D2>=60,"Pass","Fail") with the pass mark moved to a cell: =IF(D2>=$G$1,"Pass","Fail")
Errores frecuentes
Testing D2>60 instead of D2>=60: the formula looks right on most rows, but every student with exactly 60 points is marked Fail — the grader names the first of those cells.
Cómo corregimos
Se acepta cualquier fórmula que produzca el resultado correcto, salvo que la tarea nombre una función: entonces otra función obtiene media puntuación. Comparamos los valores con una pequeña tolerancia y, en el texto, ignoramos mayúsculas y espacios. Un número correcto escrito a mano en lugar de una fórmula obtiene media puntuación. Las tareas de varias celdas obtienen la puntuación completa con el 100% de las celdas correctas y media puntuación desde el 50%. Cuando importa, también cambiamos una celda de entrada en una copia de tu hoja y comprobamos que tu fórmula se adapta.
Respuestas calculadas con las reglas de Excel 365 y comprobadas en nuestro corrector el 16 de noviembre de 2026. Autor: GridBelt team.