COUNTIFS function - The function performs counting the number of cells in a data table that satisfy many conditions in Excel

COUNTIFS function: The function performs counting the number of cells in a data table that satisfy many conditions. Syntax: COUNTIFS (criteria_range1, criteria1, [criteria_range2, criteria2], ...)

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 1COUNTIFS 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 2COUNTIFS 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 3COUNTIFS 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 4COUNTIFS 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 5COUNTIFS 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 6COUNTIFS 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 7COUNTIFS 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 8COUNTIFS 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!

5 ★ | 1 Vote