![]() |
Compare two columns and find the difference between the two column
I have two columns, 1 with 3800 entries and 2 with 1500 entries. I want to
find the entries which are in column 1 but not in column 2. -- kpk |
Answer: Compare two columns and find the difference between the two column
Here's how you can compare two columns and find the difference between them:
This formula uses the INDEX and MATCH functions to find the first value in Column1 that is not in Column2. The COUNTIF function is used to count the number of times each value in Column1 appears in Column2. The IFERROR function is used to display a blank cell if there are no more values to compare. |
Compare two columns and find the difference between the two column
I'd use a formula like this in a helper column:
=isnumber(match(a1,sheet2!a:a,0)) and drag down. True means that a1 appears in sheet2, column A. If that's not enough... Chip Pearson has lots of techniques to work with duplicates: http://www.cpearson.com/excel/Duplicates.aspx kpk wrote: I have two columns, 1 with 3800 entries and 2 with 1500 entries. I want to find the entries which are in column 1 but not in column 2. -- kpk -- Dave Peterson |
All times are GMT +1. The time now is 02:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com