COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel
The following article introduces you to the COUNTIFS function - one of the functions in the statistical function group is very popular in Excel.
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 1
Description: The function to count the number of cells in a data table satisfies many conditions.
Syntax: COUNTIFS (criteria_range1, criteria1, [criteria_range2, criteria2], .)
Inside:
- criteria_range1: The first range of condition 1, is the required parameter.
- criteria1: The condition that identifies a cell or reference to be counted, which is a required parameter.
- criteria_range2, criteria2: The second data range you want to count corresponding to the second condition ( criteria2). Are optional values containing up to 127 pairs of ranges and conditions.
Attention:
- If the criteria condition refers to an empty cell -> the function considers that cell to be 0.
- Use the characters?, * To combine in counting conditions.
For example:
Calculate the total number of items described in the table below:
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 2
1. Calculating the total number of apple products with unit prices greater than 25000.
- In the cell to calculate, enter the formula : = COUNTIFS (C6: C10, "Apple *", D6: D10, "> 25000")
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 3
Press Enter -> the total number of apple items with unit price greater than 25000 is:
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 4
2. Calculate the total number of Thai products with unit prices greater than 25,000.
- In the cell to calculate enter the formula: = COUNTIFS (C6: C10, "* Thailand", D6: D10, "> 25000")
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 5
- Press Enter -> Total items of Thailand with unit price greater than 25000 are:
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 6
3. Calculate the total number of Thai products that have a unit price between 35,000 and 70000.
- In the cell to calculate enter the formula: = COUNTIFS (C6: C10, "* Thailand", D6: D10, "> 35000", D6: D10, "<70000")
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 7
- Press Enter -> The total number of Thailand products with the unit price range from 35,000 to 70000 is:
COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel Picture 8
Above are instructions and some specific examples when using the COUNTIFS function in Excel.
Good luck!
You should read it
- COUNTIF function - Function that counts the number of cells in a data table that meet certain conditions in Excel
- COUNTIFS function in Excel
- The COUNTIFS function, how to use the cell count function according to multiple events in Excel
- Cell counting function with data in Excel - Enclose example
- COUNTA function - The function performs counting non-blank cells in the list of arguments in Excel
- COUNTBLANK function - The function performs counting empty cells in the list of arguments in Excel
- How to use Hlookup function on Excel
- Conditional counting function in Excel
- How to use COUNTIF function on Excel
- SUMIFS function in Excel
- How to use the DAVERAGE function in Excel
- COUNT function - Function that counts cells containing numbers in the list of arguments in Excel
May be interested
DEVSQ function - The function returns the sum of squares of deviations of data points from the sample mean in Excel
The EXPON.DIST function - The function returns the exponential distribution in Excel
F.DIST - The function returns the probability distribution F in Excel
F.DIST.RT function - The function returns the right probability distribution F for 2 data sets in Excel
F.INV function - The function returns the inverse of the probability distribution F in Excel
F.INV.RT function - The function returns the right-inverse head value of the probability distribution F in Excel