You can change the variables for what you are using.Ģ. $C$2:$C$13 is the range that you want to be compared with. Note: In the above formula: A2 is the column which you want to be compared. Look at the following screenshot, I have column A (A2:A15) and column C (C2:C13) which contain some duplicate names.īy using a formula, we can compare two columns and display the duplicate values. Quickly find duplicate values in one column with Kutools for Excel Quickly find duplicate values in two columns with Kutools for Excel Are there any quick ways to finish this task?įind duplicate values in two columns with Formulaįind duplicate values in two columns with VBA code
If I compare them cell by cell, it will be tiresome and waste a lot of time. For example, I have two long columns of student names, and now, I want to compare them and find out the same names. When we use a worksheet, sometimes we need to compare two columns and find the same values. How to find duplicate values in two columns in Excel?