ExcelFormulas logoExcelFormulas.
Chiedi all'IA
Statistical & AnalysisVerificato da QA

CONTA.PIÙ.SE (COUNTIFS).

Conta il numero di celle in più intervalli che soddisfano diversi criteri.

Statistical & Analysis
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Come funziona nel dettaglio.

CONTA.PIÙ.SE è una funzione fondamentale di Excel. Conta il numero di celle in più intervalli che soddisfano diversi criteri. Consente di velocizzare la gestione dei fogli di calcolo, ridurre gli errori e creare report automatizzati professionali.

💡 In parole semplici.

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

Analogia di tutti i giorni

"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)."

Sintassi.

Notazione Ufficiale Excel
=CONTA.PIÙ.SE(intervallo_criteri1; criteri1; [intervallo_criteri2; criteri2]; ...)
Consiglio: Gli argomenti tra parentesi quadre [come_questo] sono facoltativi; tutti gli altri sono obbligatori.

Argomenti.

Di seguito l'elenco dettagliato di tutti i parametri accettati da questa funzione.

criteria_range1Obbligatorio

The first range to apply the first condition against.

Valore d'esempio: A2:A6
criteria1Obbligatorio

The condition to check in criteria_range1.

Valore d'esempio: "Pending"
criteria_range2Facoltativo

The second range to evaluate.

Valore d'esempio: B2:B6
criteria2Facoltativo

The condition to check in criteria_range2.

Valore d'esempio: ">100"

Esempio pratico.

Scenario di utilizzo

Filtered Survey Counts

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

CustomerPurchase SizeFeedback Yes/NoMin PurchaseQualified Count
John120Yes>=100—
Sarah45Yes——
Mike250No——
Formula applicata
=COUNTIFS(B2:B6, ">=100", C2:C6, "Yes")
Risultato atteso::Calculated output

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

Generatore di formula.

Apri Procedura Guidata Completa

Compila i campi qui sotto per creare una formula personalizzata pronta da incollare nel tuo foglio di calcolo.

Generated FormulaPronta da copiare

Caratteristiche del risultato.

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

Esempio di output::Calculated output
Tipo di dato restituito::Text

Migliori Pratiche

  • 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 "<>".

Errori Più Frequenti

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

Compatibilità per programma e versione.

Verifica tecnica eseguita sui motori di calcolo ufficiali di Microsoft Excel e Google Fogli.

Excel✓
Supportato
Excel 365✓
Supportato
Excel 2021✓
Supportato
Excel 2019✓
Supportato
Google Sheets✓
Supportato
Disponibilità e versioni di 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.

Note su Google Fogli

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

Domande frequenti.

Domande Tecniche
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.