
How to Compare Two Excel Sheets Using VLOOKUP Function
Excel VLOOKUP to Return Multiple Values Vertically. Use VLOOKUP with Multiple Criteria in Excel (6 Methods + Alternatives). INDEX MATCH vs VLOOKUP Function (9 Examples). What Is a Table Array in VLOOKUP? (Explained with Examples). VLOOKUP Not Working (8 Reasons & Solutions). Read More: How to Use IF ISNA Function with VLOOKUP in Excel (3 Examples) Here we are getting the result NO as the colors Blue and White don’t exist in Color List-2. Now drag the Fill Handle tool to the rest of the cell to show the comparison between the two columns.Ī few moments later, you will get all the output like the image below. The formula will return the value YES as the color Red exists in the two columns. =IF(ISNA(VLOOKUP(B5,$D$5:$D$10,1,0)),”NO”,”YES”)įinally, the IF function will return NO for TRUE and YES for FALSE. Next, the ISNA function will return TRUE if it gets #N/A error otherwise will return FALSE. The VLOOKUP function will return the output for the lookup value. The color lists are listed below and in the Existence column, the comparison will be shown. Like, If I choose the color Blue from the 1 st column and lookup for this color in the 3r d column it will start looking up for the blue color and if this color doesn’t exist then it will return the value #N/A. I am going to compare these two columns for exact matches. Let`s say you have two columns where some colors are listed. Using Only VLOOKUP Function for Comparison Between Two Columns
Read More: Excel LOOKUP vs VLOOKUP: With 3 ExamplesĢ Ways to Compare Two Columns Using VLOOKUP in Excelġ.
When no approximate match is found then it will return the next smaller value.
If TRUE is used as then it will look for an approximate match. If no exact match is found then it will return the value #N/A. If FALSE is used as then it will find an exact match. The results from the VLOOKUP function can be text strings or numeric data depending on the data you are using. If this argument is omitted Excel uses the TRUE parameter as default. TRUE is used for the approximate match and FALSE is used for the exact match. The column from the range from which we will get the value. Range of data where the value will be searched. The value which will be used as the lookup value.