Need to find missing items in a column

techie2013

New Member
Joined
Aug 8, 2013
Messages
34
I have two column with almost same data. However, a few IDs are missing in one column.

Here is my example:

Column A-Column B
3.1.1-3.1.1
3.1.2-3.1.2
4.1.1-4.1.1
4.1.2-4.1.3
4.1.3-5.1.1
5.1.1-5.1.2
5.1.2-5.1.4
5.1.3-5.1.5
5.1.4-
5.1.5-


I know it is easy to tell that in Col B, 4.1.2 and 5.1.3 are missing. However, I have 600 rows to look at. So how do I do that using a UDF or a Macro?

Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I have two column with almost same data. However, a few IDs are missing in one column.

Here is my example:

Column A-Column B
3.1.1-3.1.1
3.1.2-3.1.2
4.1.1-4.1.1
4.1.2-4.1.3
4.1.3-5.1.1
5.1.1-5.1.2
5.1.2-5.1.4
5.1.3-5.1.5
5.1.4-
5.1.5-


I know it is easy to tell that in Col B, 4.1.2 and 5.1.3 are missing. However, I have 600 rows to look at. So how do I do that using a UDF or a Macro?

Thanks

How about a formula?

C2, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($A$2:$A$11,
     SMALL(IF(1-ISNUMBER(MATCH($A$2:$A$11,$B$2:$B$9,0)),
     ROW($A$2:$A$11)-ROW($A$2)+1),ROWS($C$2:C2))),"")
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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