

If there is a match, it will return the row number.

To solve the problem in the previous example with MATCH(), you need to follow the following steps: Using MATCH, you can look up a value both horizontally and vertically. The syntax for MATCH() is =MATCH(lookup_value, lookup_array, ). MATCH() returns the position of a cell in a row or column. You can use the MATCH() function to check if the values in column A also exist in column B. Column C will output “True” if there is a match, and “False” if there isn’t.Ĭheck if one column value exists in another column using MATCH We will discuss a couple of ways to match the entries in column A with the ones in column B. Column A has 115 entries, and column B has 1001 entries.

Column A has the parts available, and column B has all the parts needed. 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.
