ExcelFormulas logoExcelFormulas.
Preguntar a IA
Statistical & AnalysisVerificado por QA

CONTAR.SI.CONJUNTO (COUNTIFS).

Cuenta el número de celdas dentro de múltiples rangos que cumplen múltiples criterios.

Statistical & Analysis
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Cómo funciona.

CONTAR.SI.CONJUNTO es una función fundamental de Excel. Cuenta el número de celdas dentro de múltiples rangos que cumplen múltiples criterios. Permite automatizar hojas de cálculo, simplificar fórmulas complejas y analizar datos con total precisión en Microsoft Excel y Google Sheets.

💡 En palabras sencillas.

Counts how many cells in one or more ranges meet specific conditions.

Analogía Cotidiana

"Think of this like counting toys. It counts only the toys that match your description (like counting only red blocks, ignoring blue cars and red balls)."

Sintaxis.

Notación Estándar de Excel
=CONTAR.SI.CONJUNTO(rango_criterios1; criterios1; [rango_criterios2; criterios2]; ...)
Consejo: Los argumentos entre corchetes [como_este] son opcionales; todos los demás son obligatorios.

Argumentos.

A continuación se detallan todos los parámetros aceptados por esta función.

criteria_range1Obligatorio

The first range to apply the first condition against.

Ejemplo: A2:A6
criteria1Obligatorio

The condition to check in criteria_range1.

Ejemplo: "Pending"
criteria_range2Opcional

The second range to evaluate.

Ejemplo: B2:B6
criteria2Opcional

The condition to check in criteria_range2.

Ejemplo: ">100"

Ejemplo práctico.

Caso de Uso Paso a Paso

Filtered Survey Counts

Count how many high-spending customers gave a positive response.

CustomerPurchase SizeFeedback Yes/NoMin PurchaseQualified Count
John120Yes>=100—
Sarah45Yes——
Mike250No——
Fórmula Aplicada
=COUNTIFS(B2:B6, ">=100", C2:C6, "Yes")
Resultado Esperado::Calculated output

Evaluates COUNTIFS over the sample table cells, placing the verified output in cell E2.

Generador de fórmula.

Abrir Asistente Completo

Personaliza los campos de argumento a continuación para generar una fórmula lista para copiar y pegar en tu hoja de cálculo.

Generated FormulaLista para copiar

Comportamiento del resultado.

Returns "Calculated output" based on sample evaluation criteria and active cell references.

Resultado de Muestra::Calculated output
Tipo de Salida::Text

Buenas Prácticas

  • Use wildcards like "?" (matches single char) and "*" (matches any sequence) to count partial text matches.
  • Use COUNTIFS to count blanks using double quotes: "" or non-blanks using "<>".

Errores Frecuentes

  • Just like SUMIFS, all criteria ranges must be the exact same height and width, or the function fails with a #VALUE! error.
Base de Compatibilidad

Compatibilidad de plataforma y versiones.

Matriz verificada con base en los motores de cálculo oficiales de Microsoft Excel y Google Sheets.

Excel✓
Compatible
Excel 365✓
Compatible
Excel 2021✓
Compatible
Excel 2019✓
Compatible
Google Sheets✓
Compatible
Disponibilidad y Versiones de Microsoft Excel

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Notas sobre Compatibilidad con Google Sheets

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Preguntas frecuentes.

Dudas Técnicas
Can I use COUNTIFS across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =COUNTIFS(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in COUNTIFS?↓

Just like SUMIFS, all criteria ranges must be the exact same height and width, or the function fails with a #VALUE! error.

Does COUNTIFS work identically in Google Sheets?↓

Yes, COUNTIFS is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.