In this article, we will learn how to count rows that match specific criteria for each column.
If you want to count the rows that match specific criteria for each column, you can use SUMPRODUCT function to get the output.
SUMPRODUCT: Returns the sum of the products of corresponding ranges or arrays.
array1,array2,….. array255 are the ranges of cells or arrays that you want to multiply & then add them.
There can be maximum 255 arrays in Sumproduct function.Refer below shown screenshot
Let us take an example:
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.