
MATCH uses a dynamic column reference whereas VLOOKUP uses a static one. Not only the formula is simpler, but MATCH is also faster than VLOOKUP when it comes to performance. VLOOKUP – Which is Better?īetween MATCH and VLOOKUP, the better option is MATCH. Column C will now show “True” if the corresponding cell in column A has a match in column B, “False” if it does not have a match. This will allow Excel to look up all the values in column A and match them with the values of column B. Drag the formula down to the other cells in column C clicking and dragging the little “ +” icon on the bottom-right of C2.Insert the formula in “ =IF(ISERROR(VLOOKUP(A2,$B$2:$B$1001,1,FALSE)),FALSE,TRUE)” the formula bar.You can check if the values in column A exist in column B using VLOOKUP. The syntax for VLOOKUP is =VLOOKUP(value, table_array, col_index,).

#Compare two columns in excel using vlookup how to#
In this tutorial, we will look at how to use VLOOKUP on multiple columns with multiple criteria. VLOOKUP is one of the lookup, and reference functions in Excel and Google Sheets used to find values in a specified range by “row.” It compares them row-wise until it finds a match. Check if one column value exists in another column using VLOOKUP The NOT() and ISERROR() functions check for an error which would be and column C will show “True” for a match and “False” if it is not a match. If there is a match, it will return the row number.

In the following example, you will work with automobile parts inventory data set. In this tutorial, we will see the use of VLOOKUP and INDEX/MATCH to check if one values from one column exist in another column.Ĭheck if one column value exists in another column The VLOOKUP, HLOOKUP, INDEX and MATCH functions can make life a lot easier in terms of looking for a match.

One of the most important features in Microsoft Excel is lookup and reference. When you need to check if one column value exists in another column in Excel, there are several options.
