Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
dela_dela pe Simpatie.ro
Femeie
24 ani
Bucuresti
cauta Barbat
24 - 48 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Match values in 2 columns then COUNT

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TonyTzu
Moderator
Postari: 252
Source:
https://exceljet.net/formula/count-if-t ... eria-match

Count if two criteria match

Generic formula:
=COUNTIFS(range1;critera1;range2;critera2)

Example (see link above):
=COUNTIFS(B4:B11;"blue";C4:C11;">15")

**********************

SUMPRODUCT alternative

You can also use the SUMPRODUCT function to count rows that match multiple conditions. the equivalent formula is:
=SUMPRODUCT((B4:B11="Blue")*(C4:C11>15))

SUMPRODUCT is more powerful and flexible than COUNTIFS, and it works with all Excel versions, but it is not as fast with larger sets of data.

**********************

Pivot table alternative

If you need to summarize  number of criteria combinations in a larger data set, you should consider pivot tables. Pivot tables are a fast and flexible reporting tool that can summarize data in many different ways. For a direct comparison of SUMIF and Pivot tables, see this video: https://exceljet.net/plc/why-pivot-tables


 
   
Pagini: 1  
Mergi la