Saltar al contenido
GridBelt
  • Prueba de Excel
  • Práctica
  • Programas
  • Precios
Iniciar sesión
Empezar la prueba gratuita
  • Prueba de Excel
  • Práctica
  • Programas
  • Precios
Iniciar sesiónCrear cuenta
Empezar la prueba gratuita
GridBelt

Practica Excel en tu navegador.

Prueba de Excel

  • Nivel 1: Principiante
  • Nivel 2: Intermedio
  • Nivel 3: Experto
  • Prueba de Excel en 7 días
  • Clasificación
  • Prueba de Excel para entrevistas
  • Evaluación de Excel de Indeed

Práctica

  • Todos los ejercicios
  • Programas
  • Para principiantes

Guías

  • Fórmulas de Excel
  • Atajos de Excel

Empresa

  • Acerca de
  • Precios
  • Cómo corregimos

© GridBelt. Todos los derechos reservados.

  • Política de privacidad
  • Términos de uso
  • Política de reembolso

Excel es una marca comercial de Microsoft Corporation. Indeed, TestGorilla, SHL y otras marcas son propiedad de sus respectivos titulares. GridBelt es un sitio de práctica independiente y no está afiliado a Microsoft, TestGorilla, SHL ni Indeed, ni respaldado ni patrocinado por ellos.

  1. Práctica
  2. /
  3. SUM, AVERAGE and COUNT

COUNT, COUNTA and COUNTBLANK practice: count orders, names and blanks

  • Principiante
  • ~4 min
  • SUM, AVERAGE and COUNT

Enunciado en inglés

A CRM export lists 80 customers with their company, contact name, email, the number of orders placed in 2026 and the last order date. The export is not clean: some contact names are missing and a few order counts came through as the text "n/a". Sales operations wants three quick numbers for the Monday report: how many customers have a usable order count, how many contacts are on file, and how many contact names are missing.

Qué tienes que hacer

  1. 1Click I2 and write a COUNT formula over the Orders column E2:E81. COUNT only counts cells that hold numbers, so the "n/a" entries are skipped.
  2. 2Click I3 and write a COUNTA formula over the Contact name column C2:C81. COUNTA counts every non-empty cell, text included.
  3. 3Click I4 and write a COUNTBLANK formula over the same column C2:C81 to count the empty cells.
  4. 4Press Enter after each formula and check that I3 + I4 equals the number of customers.

Celdas de respuesta

Corrección

Escribe tu fórmula en la cuadrícula, presiona Enter y luego haz clic en Comprobar. Evaluamos el valor de cada celda de respuesta y la fórmula que lo produce.

Tareas

  1. Sin comprobarIn I2, use COUNT to count how many customers have a numeric value in Orders (2026) (E2:E81).
  2. Sin comprobarIn I3, use COUNTA to count how many contact names are on file (C2:C81).
  3. Sin comprobarIn I4, use COUNTBLANK to count how many contact names are missing (C2:C81).

Para las tareas de hoja de cálculo se recomienda una pantalla grande. La hoja se desplaza dentro de este recuadro.

StartInsertFormulasDataView
A1fxPreparando tu libro…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Escribe tu fórmula en la hoja y luego comprueba.

Sobre este ejercicio

Un conjunto de datos de 80 filas en una hoja, 3 celdas 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

  • I2=COUNT(E2:E81)
  • I3=COUNTA(C2:C81)
  • I4=COUNTBLANK(C2:C81)

The three functions differ only in what they count. COUNT looks at E2:E81 and counts the 75 cells that contain numbers, skipping the 5 cells with the text "n/a". COUNTA counts every cell in C2:C81 that is not empty (71), and COUNTBLANK counts the 9 empty ones, which is why I3 and I4 add up to 80.

Pitfall 1: COUNT ignores text that merely looks like a number ("12" stored as text), so a column imported from a CSV can return a smaller count than you expect; use VALUE or Paste Special → Multiply by 1 to convert first. Pitfall 2: a cell containing a formula that returns "" is counted by COUNTA and also by COUNTBLANK, so the two can add up to more than the row count after you add helper formulas. Alternatives: COUNTIF(E2:E81,"<>n/a") counts the numeric rows when you know the text marker; SUMPRODUCT(--ISNUMBER(E2:E81)) is the array-style equivalent of COUNT and survives being nested in bigger formulas. Performance: all three are O(n) and fine on hundreds of thousands of rows; never wrap them in volatile functions like INDIRECT when the ranges can be whole columns instead.

Otras formas válidas

  • =COUNTIF(E2:E81,"<>n/a") — same result as COUNT here because the only non-numbers are the "n/a" cells
  • =SUMPRODUCT(--ISNUMBER(E2:E81)) — array-style equivalent of COUNT
  • =ROWS(C2:C81)-COUNTA(C2:C81) — same as COUNTBLANK

Errores frecuentes

Writing =COUNT(C2:C81) for the contact names. Names are text, so COUNT returns 0 — the function for "how many cells are filled" is COUNTA.

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 15 de noviembre de 2026. Autor: GridBelt team.

En estos programas

  • Excel test in 7 days, Plan del nivel 1Día 4
  • Excel for Administrative AssistantsDía 2
  • Learn Excel From ScratchDía 4

Ejercicios relacionados

  • Total revenue with SUMPrincipiante, ~3 min
  • AVERAGE, MIN and MAX of exam scoresPrincipiante, ~4 min
  • Top 3 and bottom 3 reps with LARGE and SMALLPrincipiante, ~5 min
  • Filter one region and count visible rows with SUBTOTALPrincipiante, ~6 min

Referencia de la función

Documentación oficial

Siguiente ejercicio

Row totals with the fill handle