
We put “Not Available” and “Available” as arguments. The IF function checks whether a condition is met, and returns one value if true, and another value if false. Likewise, for other cells when an error will be found, it will return “TRUE”. The reason is, C5 is present in the mentioned range. So, for D5, the function will find the value of C5 in the range B5:B11 and return: Here, the ISERROR function checks whether a value is an error, and returns TRUE or FALSE. We want to know whether any value is present in a range or not. Unfortunately, this is not the ultimate result we want from this method. The VLOOKUP function looks for a value in the leftmost column of a table and then returns a value in the same row from a column you specify. If we want to find data in Cell C5 in Column Name 1, then the formula will be:.the VLOOKUP function, in combination with IF & ISERROR function, finds a particular value in a range of data and returns the differences/similarity as output.

VLOOKUP can also be used to find differences between cells. Fill Handle (+) is used to copy the formula for the rest of the cells.

In our example, we have put “No Match” as an argument. The IFERROR function returns value_if_error if the expression is an error and the value of the expression itself otherwise. So, the function will look for C5 in the range B5:B11 and return:Ĭonversely, when the function will find C6 in range B5:B11, it will return a #N/A error because C6 is not present in the prescribed range. Here, the VLOOKUP function looks for a value in the leftmost column of a table and then returns a value in the same row from a column you specify.
#WINMERGE COMPARE EXCEL SHEETS HOW TO#
Read More: How to Compare Two Cells and Change Color in Excel (2 Ways)ħ.

Read More: Compare Two Cells Using Conditional Formatting in Excel (3 Methods)Ħ. Conversely, differently named rows would not be highlighted. Then, click OK.įinally, If you follow the above steps correctly, all matched cells in the two columns will be highlighted. Click the Format button, go to the Fill tab and choose the color.
