How to Use The COUNTIFS Function in Excel

The COUNTIFS function can be input manually or using Excel’s Formulas menu. In either case, the eventual formula will look something like: =COUNTIFS(D4:D17,“Yes”,E4:E17,">=5") In this example, the COUNTIFS function searches through cells D4 to D17, looking for the text Yes and through cells E4-E17 for numbers that are equal to, or higher than five. In cases where it discovers both criteria are met, it notes down one instance and then totals them all up, outputting how many instances of both criteria being met there are in the data. Here’s how to use the Formula menu to complete this function. In this example, the above steps are repeated for people who said they didn’t love Lifewire, but had still visited five or more times. That ended up being a much lower count, as you might expect, but it’s still interesting data gleaned from the dataset. These results are a little obvious from a glance with such a limited data set, but the COUNTIFS function can be used on a near infinite amount of information. The larger the dataset is, the more useful COUNTIFS functions can be in analyzing it. If you don’t need multiple ranges and criteria, you can always use the COUNTIF function instead, which is limited to just one range and criteria.

What Is the COUNTIFS Function?

Excel can be incredibly versatile by itself with manual data entry and analysis, but it’s even more useful when you automate parts of it. That’s where functions come in. From using SUM to make various numerical calculations, to removing non-printable characters with CLEAN. COUNTIFS works in much the same way, but, like the COUNTIF function, COUNTIFS is useful for analyzing the data. Where COUNTIF looks at a single range of data and criteria, though, COUNTIFS looks at multiples of each. It takes these inputs and outputs a total based on what you’re looking for.