Count values that do not appear in range

Rhodes19

New Member
Joined
Apr 26, 2017
Messages
18
Office Version
  1. 365
Platform
  1. Windows
This seems like it should be simple, but I'm stumped. How would I count the number of values from column B that do not appear in column A? Looking for a formula that returns the total count. The actual data set is much more complex than this, so I'm ideally hoping to avoid adding extra columns with individual cell lookups.

Thanks for your help!
 

Attachments

  • MrExcel Question.JPG
    MrExcel Question.JPG
    14.2 KB · Views: 9

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
How about
Excel Formula:
=COUNT(FILTER(ROW(B2:B11),ISNA(MATCH(B2:B11,A2:A11,0))))
 
Upvote 0
Oh, this is my mistake--I should have noted that I can't use Excel 365 functions because this is a work project and my manager won't upgrade his Excel 2013. Believe me, it's not ideal...
 
Upvote 0
Here is another formula that should work...
Excel Formula:
=SUM(0+ISERROR(MATCH(B2:B9,A2:A9,0)))
 
Upvote 0
Oh, this is my mistake--I should have noted that I can't use Excel 365 functions because this is a work project and my manager won't upgrade his Excel 2013. Believe me, it's not ideal...
Give this formula a try (change the A and B column references as needed)...
Excel Formula:
=SUMPRODUCT(0+ISERROR(MATCH(B2:B9,A2:A9,0)))
 
Upvote 0
Solution
Perfect! Thank you both! Let's see if I can mark these both as solutions...
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,039
Messages
6,122,802
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top