In this article, we will learn to Find the count with multiple criteria with ISNA logic in Excel.
In simple words, while working with long unmannered data. We need to extract the count having multiple criteria with not logic or say values to exclude using the formula in Excel.
How to solve the problem?
For this article we will be needing to use the MATCH function & SUMPRODUCT function. Now we will make a formula out of the mentioned function. Here we will give a list of mixed values. We need to find the count of values satisfying conditions and using ISNA function to exclude values.
Use the formula:
|= SUMPRODUCT ( ( range = criteria ) * ( ISNA ( MATCH ( rng , cri_rng , 0 ) ) )|
range: first range to match first criteria
criteria : criteria to match with first range
rng : second range where criteria to exclude
cri_rng : values to exclude from second range
All of these might be confusing to understand. So, let's test this formula via running it on the example shown below.
Here we have a table and we need to count the values matching certain not logic conditions. Conditions are as following.
Now we will use the formula below to get the count of values in the table satisfying the mentioned criteria.
|= SUMPRODUCT ( ( Gender = H5 ) * ( ISNA ( MATCH ( Groups , I5:I6 , 0 ) ) )|
Here the array to the function is given as named ranges as mentioned in the yellow colored cells.
Named ranges used in formula:
Single argument value provided as cell reference. Press Enter to get the result.
As you can see in the above snapshot the count comes out to be 3. There are 3 employees which are female and don't belong either group A or group B.
Now we can check for the result via filtering contents see the below gif. Just filter the table array and count the number of matched values or can use the above-mentioned formula to get the count.
Here are all the observational notes regarding using the formula.
Hope this article about how to Find the count with multiple criteria with ISNA logic in Excel is explanatory. Find more articles on COUNTIF functions here. If you liked our blogs, share it with your fristarts on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at email@example.com
Find the last row of data with numbers in Excel : In a range of text values find the last of data in excel.
How to use the SUMPRODUCT function in Excel: Returns the SUM after multiplication of values in multiple arrays in excel.
COUNTIFS with Dynamic Criteria Range : Count cells depstartent on other cell values in Excel.
COUNTIFS Two Criteria Match : Count cells matching two different criteria on list in excel.
COUNTIFS With OR For Multiple Criteria : Count cells having multiple criteria match using the OR function.
The COUNTIFS Function in Excel : Count cells dependent on other cell values.
How to Use Countif in VBA in Microsoft Excel : Count cells using Visual Basic for Applications code.
How to use wildcards in excel : Count cells matching phrases using the wildcards in excel
50 Excel Shortcut to Increase Your Productivity : Get faster at your task. These 50 shortcuts will make you work even faster on Excel.
How to use the VLOOKUP Function in Excel : This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets.
How to use the COUNTIF function in Excel : Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.
How to Use SUMIF Function in Excel : This is another dashboard essential function. This helps you sum up values on specific conditions.
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.