Skip to main content

‘Countifs’ formula in excel and how to use it

Now you might be already aware of the countif function that most people use for their reports and excel sums. Again as I have explained in my previous blog about sumifs function,  the ‘countif’ function can fetch data using one exception whereas ‘countifs’ can match up to 29 criteria. 

Here, i will demonstrate you this function with the simple example:

Example1.

Below is the table we will be working on in this tutorial:

As you see in the above table, we have Year, Product, country, and total Sales. From this data table, we want to get our total sales using different criteria available in this table. 

In the above table, we need count of Red trolley Bags in the year 2019

Here is the formula syntax: COUNTIFS (criteria_range1, criteria1, [criteria_range2, criteria2, criteria_range3, criteria3, … criteria_range_n, criteria_n] )”

In the above example, since we are looking for count of product Red trolley bags in 2019. Next, we have the first criteria range which year (2019) for us in this example, so we can select year range from A2:A37 (in Blue color) and you need to specify which criteria so we have selected F6 number raw which is 2019 for us in this example. Now next is the second criteria range which is a product name for us, so we have selected B2:B37 (In purple Color) and then criteria itself G6 which is product Red trolley Bags in this case.

Once we are done with the formula, we will get the value as desired (Refer to the below screenshot)

As we were looking for how many times Red Trolley bags comes in 2019 from our entire table and we got the expected value in one go with this ‘countifs’ function

Here is the image to verify if the resulted count is accurate or not.

And yes, wo got the correct count value with this function as highlighted in the above screenshot.

Now since we mentioned earlier you can use as much as 29 criteria to fetch data using this ‘countifs’ function. We will show you one more example.

Example 2.

Please see the below image where we used 3 criteria to get count from the same table used in earlier example. What we need is count of Green trolley Bags for 2019 in UK.

And we got the results here

That’s all. I hope you like this tutorial and find it easy to follow.

keep learning, keep improving. 

Comments

Popular posts from this blog

Beauty Insides- Temu- DNM Matte Long Lasting Canster Lipstick- Reviews

When it comes to enhancing our lips, the possibilities are seemingly limitless: lipstick, lip gloss, lip stain. However, in the realm of cosmetics, often the little things have the biggest effects. Now for the little capsules lip colors on Temu—the unsung heroes of the cosmetics industry. What exactly is so great about these tiny lip colors, you ask? Let's explore the wonders of these small yet powerful devices that can drastically alter your appearance. A Shade for Every Mood There are eighteen different colors in a single packet, which makes them handy in a variety of occasions. These are an extensive range of tints and finishes available in little lip colors to suit any mood or occasion. There's a tiny lip color out there waiting to match your style and express your mood, whether you want a sheer, glossy, or matte appearance. Its you who will decide how want to carry one. Affordable Luxury When comparing the pricing of these small lip colors to their full-sized equivalents, ...

Unveiling the Future: Exciting New Discoveries in the Realm of Information Technology

Information Technology (IT) continues to reshape our world at an astonishing pace, and recent advancements have unveiled groundbreaking discoveries that promise to revolutionize our digital landscape. From cutting-edge hardware innovations to groundbreaking software breakthroughs, the realm of IT is witnessing an era of unprecedented progress. In this article, we will explore some of the most intriguing new discoveries that are reshaping the way we interact with technology and opening up new possibilities for the future. Quantum Computing: A Paradigm Shift Quantum computing, long regarded as the holy grail of computational power, has made remarkable strides in recent years. Researchers have made significant breakthroughs in overcoming the limitations of qubits, the fundamental units of quantum information. These advancements have led to the development of more stable and scalable quantum systems, making quantum computing a tangible reality. With their unparalleled processing power, qua...

These are the top 5 factors to consider before purchasing a new phone.

New generation phones are being used for a variety of purposes, including communication, entertainment, work, education, and more. Smartphones can be used for making calls and sending texts, surfing the web, streaming music and videos, playing games, managing finances, tracking fitness goals, and much more. Additionally, many newer phones are equipped with artificial intelligence (AI) capabilities, which allow users to access a variety of AI-powered applications and services. 1.  Cost is an important factor when buying a new phone. You should consider your budget and decide how much you can spend on a phone. 2. Operating System: Most phones run on either Android or iOS, so you should decide which operating system you prefer before making a purchase. 3. Battery life: Battery life is important when it comes to smartphones, as you don't want to be constantly searching for a place to plug in your device. Look for phones that have long-lasting batteries and good power management feature...