So I have two columns in excel with column A containing nearly the exact same data as column B.
I need a way to Match column A with Column B and any values that are the same in Column A and Column B need to be removed from Column B.
So Column A has 11,592 product SKU numbers.
Column B has 12,555 product SKU numbers.
And I need a way to get the SKU product numbers from Column B that are not in Column A. Maybe put them into Column C?
Navigate to the "Home" option and select duplicate values in the toolbar. Next, navigate to Conditional Formatting in Excel Option. A new window will appear on the screen with options to select "Duplicate" and "Unique" values. You can compare the two columns with matching values or unique values.
In cell C1 use this formula:
=IF(VLOOKUP(B1,A:A,1)=B1,"",B1)
Copy and paste it to all rows that have a value in column B and it will show the unique values.
Then copy column C to column D by Paste Values so that you can sort it / filter out blanks.
I'm making a couple of assumptions here to allow me to answer the question. You may need to adjust the cells accordingly:
We need to setup column C to show the values in B which are not in A. We'll do this with a formula in each cell of C1:C12555 (one cell for each value in col. B we will test). As a second step we can sort column C to put the found values at the top of the list.
=IF(ISNA(VLOOKUP(B1,$A1:$A11592,1,FALSE)),B1,"")
Now each cell in column C contains the value next to it from Column B if that value doesn't occur in Column A, or a blank (an empty string) if it does occur. To get all of the values in col C together, you can select columns B and C together, and sort on column C.
TIP: to quickly copy C1 to over 12000 rows, try this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With