Use and difference of countif function and countifs function

The most beautiful trace is called memory Ask questions at 21:52:30 on June 6, 2024
Recommended answer

Friends who often make tables often encounter the countif function and the countifs function. Some people are confused. What is the use of this function? Next, let's look at the use methods and differences of these two functions with our friends?
Countif (region, condition)
Countifs (Region 1, Condition 1, Region 2, Condition 2,...)
Because the countif function itself is used to calculate the number of qualified functions, the simple understanding of the two formulas is to set a condition and calculate the number of qualified functions in this area?

Operation method

The first step is of course the simplest. Right click - New - Excel file, and double click to open the file (ps: if you want to rename, just click the file name by left clicking or find the rename by right clicking the drop-down arrow)

After opening the file, in order to make it easy for everyone to understand, the young lady coded some words. Let's take these as examples

Next, let's move on to our example part. Let's first give an example of the countif function; Assume that the number of calculated amount is more than 70? Condition (amount>70) area is included in the required condition (B2: B13)

After understanding the countif function through the above explanation, the next step is to input the formula completely.=COUNTIF (B2: B13, ">70") When entering the formula conditions, the double quotation mark input must be in English, otherwise it cannot be calculated

Next, let's use the countifs function to calculate. Suppose the number of items with amount>70 and quantity>30 is calculated= Countifs (Area 1, Condition 1,...) Condition 1 (amount>70), Area 1 (B2: B13), Condition 2 (quantity>30), Area 2 (C2: C13) are the areas required by the condition. Remember to select correctly

When we input the formula in its entirety, it is=COUNTIFS (B2: B13, ">70", C2: C13, ">30"). Remember that the double quotation marks of conditions are entered in English

Through two examples, we can clearly see that the common points of the countif function and the countifs function are (region, condition), the region contains the selected conditions, the difference is that the countif function condition can only be one, and the simpler countifs function condition region can be multiple. When the number of conditions we require is not single, we can choose the countifs function

The most beautiful trace is called memory 2024-06-07 09:54:41

Related recommendations

Kia k2 automatic 1.4 real fuel consumption Released on June 26, 2024

The fuel consumption per 100 km of 1.4l automatic transmission model is 7.2 liters. The k2 is a small car owned by Kia. This car uses two engines, one is a 1.4-liter naturally aspirated engine, and the other is a 1.6-liter naturally aspirated engine. Kia k2 has a wheelbase of 2600mm, length, width and height of 4400mm, 1740mm and 1460mm respectively. The K2 1.4-liter naturally aspirated engine has 100 horsepower and 132.4 Nm of maximum torque
View full text>

Is Zotye T700 a Class B car Released on June 26, 2024

Zotye T700 is a medium and large SUV. Zotye T700 is a medium and large SUV launched by Zotye Auto, and the official guide price of this car is 1068-155800 yuan. Generally speaking, only cars can be classified into different grades. SUV models are generally classified according to the engine displacement and body size. Class B cars are what we usually call medium-sized cars. The wheelbase of this class of models is generally 2700-3000mm, and the car body length is
View full text>

Schematic diagram of modern runaway central control button, function description of key in runaway Released on June 26, 2024

Hyundai Escape Central Control Button Diagram and Interior Button Description (I) Central control button 1. The body electronic stability system (ESP) is turned on by default. Generally, it is not recommended that the owner turn it off manually. The system can effectively prevent the vehicle from losing control during extreme driving conditions. 2. The parking radar/image central control screen displays the image, and the radar will have an alarm tone. 3. Automatic start stop The engine will shut down during a short stop. Once the foot leaves the brake pedal, the engine will catch fire again. 4. Inner/outer circulation
View full text>

There is an abnormal noise when braking Released on June 26, 2024

There is an abnormal noise when braking, which is generally caused by the following two parts: the brake pad and brake disc, and the brake system. If it is the brake system, it is likely that there is a problem with the rubber ring in the brake pump. The rubber ring is not installed in place or the rubber ring makes abnormal noise due to aging. Solution: Replace the rubber ring or reinstall it. If it is the brake pad or brake disc, there are many reasons involved. For example, the abnormal noise caused by a newly replaced brake pad is normal. After running in
View full text>

What's the phone call for blocking the door Released on June 26, 2024

When the car blocks the door, first check whether there is the owner's phone on the car. If there is the owner's phone, call the owner's phone. If not, call 114. If not, call 122. Needless to say, it's the simplest and most direct way to call the owner of a car in traffic jam. Focus on the center console under the front windshield. If the car owner leaves a phone, it is usually at this position. If you can't find the owner's phone number, you can dial 114. 114 There is a service that calls
View full text>

Preferred recommendation

What engine does ff use

Fuel consumption of Buick Yinglang

Where is the Buick LaCrosse fog lamp switch