# Learn How to Count Matches Between Two Columns in Microsoft Excel

Written by | 0 Comments | 454 Views

In this article, you will learn how to COUNT various things in Microsoft Excel using a single or combination of functions and its purpose in Microsoft Excel. You will also get to know how to Count Matches Between Two Columns & generic formula

Count Matches Between Two Columns in Microsoft Excel

The main purpose of this formula is to compare two columns and count matches in corresponding rows. Here we will learn how to count matches between two columns in Microsoft Excel. That implies, with the help of a formula based on the SUMPRODUCT function you can able to compare two columns and count matches in corresponding rows. So, with the help of this formula, you can able to count matches between two columns.

General Formula to Count Matches Between Two Columns

=SUMPRODUCT(--(B5:B11=C5:C11))

The Explanation for the Count Matches Between Two Columns

So we know that with the help of the given formula above you can able to count matches in corresponding rows. Here we will learn how to count matches between two columns in Microsoft Excel. As we know that, the SUMPRODUCT function is a versatile function and efficiently functions on arrays natively without any special array syntax. The working algorithm is very simple. it multiplies, then sums the product of arrays. In our example, the expression B5:B11 = C5:C11 will generate an array that contains TRUE and FALSE values. So, with the help of this formula, you can able to count matches between two columns.