Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

The Countifs Function, How to Use the Cell Count Function

Get a clear overview of The Countifs Function, How to Use the Cell Count Function, why it matters, and what readers should know.

Table of Contents

This updated guide examines The Countifs Function, How to Use the Cell Count Function and organizes the essential facts, background, and practical takeaways in clear American English.

  • How to compare data on 2 Excel columns
  • Using the DSUM function to calculate the sum with complex conditions in Excel
  • How to use the SUMIF function for conditional summing in Excel
  • VLOOKUP function to use and specific examples

Instructions for using COUNTIFS function in Excel

COUNTIFS function syntax is = COUNTIFS (criteria_range1, criteria1, [criteria_range2, criteria2],.) .

Inside:

  • Criteria_range1 is the first selection that requires statistics and required values.
  • Criteria1 is a condition that applies to criteria_range1 selection, the required value can be cell, expression, text.
  • [criteria_range2, criteria2] are selections and additional conditions, which allow as many as 127 selection pairs and conditions.

Note when using the COUNTIFS function:

  • Additional selections need to have the same number of rows and columns with the criteria_range1 area, which can be separated.
  • If the selection condition refers to an empty cell, the COUNTIFS function automatically evaluates to 0.
  • Can the characters be used? To replace certain characters, the * symbol replaces an entire string. If you need to find the sign? or a true *, then type ~ in front of that character.

1. Data sheet No. 1

We have the data table below to make some requests for the table.

The Countifs Function, How to Use the Cell Count Function — contextual image 1

Example 1: Calculate the number of male employees with 25 working days.

In the field to enter the result, enter the formula = COUNTIFS (C2: C7, "Male", D2: D7,25) and press Enter.

Inside:

  • C2: C7 is the area of counting 1 required for gender of employees.
  • Male is the condition of the count area 1.
  • C2: C7 is the counting area 2 with the Employee's Day.
  • 25 is the condition of the count area 2.

The Countifs Function, How to Use the Cell Count Function — contextual image 2

As a result, we have 2 employees, Nam who has 25 man days.

The Countifs Function, How to Use the Cell Count Function — contextual image 3

Example 2: Calculate the number of male employees whose holidays are 0.

In the formula input box, enter = COUNTIFS (C2: C7, "Male", E2: E7,0) and press Enter.

The Countifs Function, How to Use the Cell Count Function — contextual image 4

Results show 1 male employee has 0 holidays.

The Countifs Function, How to Use the Cell Count Function — contextual image 5

Example 3: Calculating the number of male employees with a 25-day workday and having less than or equal to 2 days of leave.

We enter the formula = COUNTIFS (C2: C7, "Male", D2: D7,25, E2: E7, "<= 2") and press Enter.

The Countifs Function, How to Use the Cell Count Function — contextual image 6

The result is that 2 male employees who meet the requirements have a holiday of less than or equal to 2 days.

The Countifs Function, How to Use the Cell Count Function — contextual image 7

2. Data sheet no.2

Example 1: Calculate the total of Taiwanese goods with a selling price under 200,000 VND.

In the input box, enter the formula = COUNTIFS (B2: B7, "* Taiwan", C2: C7, "<200,000") and press Enter.

The Countifs Function, How to Use the Cell Count Function — contextual image 8

The result is 2 Taiwanese products in accordance with the requirements.

The Countifs Function, How to Use the Cell Count Function — contextual image 9

Example 2: Calculate the total product of Taiwanese products with a unit price of between VND 100,000 and VND 150,000.

At the input box, enter the formula = COUNTIFS (B2: B7, "* Taiwan", C2: C7, "> 100000", C2: C7, "<150000") and then press Enter.

The Countifs Function, How to Use the Cell Count Function — contextual image 10

As a result, two Taiwanese products will be priced between VND 100,000 and VND 150,000.

The Countifs Function, How to Use the Cell Count Function — contextual image 11

Above are 2 data tables with usage for COUNTIFS function in Excel. The user must write the condition that comes with the conditional data area so that the COUNTIFS function determines correctly.

I wish you all success!

FAQ

What is The Countifs Function, How to Use the Cell Count Function about?

It provides a structured overview of COUNTIFS excel, explains the main context, and highlights practical takeaways for readers.

Why does this topic matter?

Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.

How should readers use this information?

Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.