

Otherwise, the function will return the value “ #N/A ”. The col_index_num is 1, which returns the value in the first column relative to the table_array if the value in column B is found in column C. Our lookup_value is the value in column B (B3), while our table_array is the set of values in column C, $C$3:$C$9. Step 3 : Copy the formula in cell D3 to cells D4:D9 by clicking the “+” icon at the bottom-right corner of cell D3 and dragging it down Enter the formula in cell D3: =VLOOKUP(B3,$C$3:$C$9,1,FALSE) In order to determine if a value in the first column (List 1) exists in another column (List 2) and return the value itself, we follow these steps: if FALSE, VLOOKUP will only find an exact match.


Final result: Compare two columns in Excel Data to compare two columns in Excel This step by step tutorial will assist all levels of Excel users in comparing two columns in Excel or Google sheets.įigure 1.
Compare two columns in excel for differences how to#
How to Compare Two Columns in Google Sheets and ExcelĮxcel provides us with different methods to compare two columns and find unique or duplicate values with the use of the VLOOKUP, MATCH, INDEX, IF, COUNTIF or Conditional Formatting functions.
