Verify contents of one row are in another

DougStroud

Well-known Member
Joined
Aug 16, 2005
Messages
2,976
Office Version
  1. 365
Platform
  1. MacOS
I have a series of alpha values in column "I" and a control group of values in column "B". I need to find any missing values in column "B" that may exist in column "I".

Example-
Column I has: P, BS, SS, A, W, P, INV
Column B has everything except P and INV.

This is a simplification, there are a lot more values involved. That is the reason for coming up with a formula to check for missing values.


Thanks!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
One way is to use Conditional Formatting.

Assuming that you only have one value per cell, let's say that you have entries in column I from rows 1 to 10. Then do the following:
1. Select range I1:I10
2. Go to Conditional Formatting, and enter the following formula:
Code:
=COUNTIF(B:B,I1)=0
3. Choose a formatting option (like yellow highlighting)

This will highlight all the values in column I that are not found in column B.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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