Find Matching Values in Two Worksheets in Excel [5 Methods]
This formula will compare the range D2:D10 of sheet “List 1” with that of sheet “List 2”. It returns TRUE for duplicate value and FALSE for unique value.
Throughout this article, I will be using two sheets (List 1 and List 2 ) with slight differences in their cell values. There is a list of passenger names, their boarding counters, flight numbers, and their cellphone numbers.
Find Matching Values in Two Worksheets in Excel Using EXACT Function
You can find the matching values of two separate worksheets by using the EXACT function in Microsoft Excel. It will return either TRUE or FALSE . I like to remind you that the EXACT function works case-sensitively.
=EXACT(Text1, Text2)
Formula
=EXACT(D2:D10,'List 2'!D2:D10)
Formula Breakdown
- The first range, D2:D10 is from the List 1 sheet.
- ‘List 2’! is the second sheet.
- D2:D10 is the range from the sheet, “List 2”.
To find matching values with EXACT function, follow these steps below:
- First, create a separate column beside the data table in one of the sheets.
I’ve inserted a column in Column E , named ‘ Results ’.
- Then, insert the formula in the first empty cell of the new column : =EXACT(D2:D10,’List 2′!D2:D10)
- Then, press ENTER to apply the formula.
- Now, double-click on the Fill Handle , the ‘+’ sign on the bottom-right corner of cell E2 .
The Fill Handle will automatically copy the formula through the whole datasheet and show the results this way:
- Vlookup for Duplicate Values and Return the Matches in Excel [8 Cases]
- How to Find Duplicates in Two Columns in Excel (7 Methods)
Find Matching Values in Two Excel Worksheets by Conditional Formatting
Conditional Formatting is a great tool to mark data with different types of highlights. I will be using it to highlight the matches. But before using the Conditional Formatting command, I will apply the COUNTIF function to detect the identical values from two sheets.
Syntax
=COUNTIF(CELL RANGE, CRITERIA)
Formula
=COUNTIF('List 2'!$B$2:$C$10,B2)
Formula Breakdown
- B2 is the lookup value.
- $B$2:$D$10 is the table array which is the range of the 3 columns (Boarding Counter, Flight No, and Cell Number) from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds similar characters from the two worksheets.
- “NO” and “YES” are the outputs.
To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:
- Create a new column beside the existing columns.
I inserted a column named ‘Duplicate Values’ in Column E .
- Then, copy the following formula in the top cell ( E2 ) of that column: =IF(ISNA(VLOOKUP(B2,’List 2′!$B$2:$D$10,1,FALSE)),”NO”,”YES”)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The duplicate values resulted in YES , and the different values resulted in NO .
- How to Remove Duplicates in Excel [13 + Different Methods]
- 4+ Ways to Find Duplicates in a Column and Delete Rows in Excel
Table of Contents
Conclusion
From now on, I hope you won’t have a problem finding similar information in your Excel worksheet. If you have any questions or have any ideas for us, please feel free to leave a comment below. Also, don’t hesitate to reach out to us if there are any easier techniques you would like to share.
Frequently Asked Questions
How do you find matching values in two columns in different sheets in Excel?
To find matching values in two columns in different sheets in Excel:
- In the destination sheet, select the cell where you want the result.
- Enter =VLOOKUP(Sheet1!A1, Sheet2!A:B, 2, FALSE) to match values between Sheet1 and Sheet2.
It assumes you want to find a value from column A in Sheet1 and return a matching value from column B in Sheet2.
- Press ENTER to display the matched value.
How to match data in Excel from 2 worksheets using INDEX-MATCH?
To match data in Excel from two worksheets using INDEX and MATCH:
- In Worksheet A, enter the values you want to match.
- In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
- Replace ‘Worksheet B’ with the actual worksheet name and drag the formula down to find matching data.
This method helps you compare and retrieve data from two different worksheets in Excel.
How do you check if a value exists in multiple sheets in Excel?
To check if a value exists in multiple sheets in Excel:
- Enter the value in a cell.
- Use this formula in an adjacent cell: =IF(SUM(COUNTIF(Sheet1!A1, A1), COUNTIF(Sheet2!A1, A1), COUNTIF(Sheet3!A1, A1)) > 0, “Exists”, “Doesn’t Exist”)
- The formula will display “Exists” if the value is found in any of the sheets; otherwise, it will show “Doesn’t Exist.” Adjust the sheet names and cell references as needed.
Above steps will guide users on how to check if a value exists in multiple sheets in Excel.
- D2 is the lookup value which is the top cell of the column Cell Number.
- $D$2:$D$10 is the table array which is the range of the column Cell Number from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds the exact matches from the two worksheets.
Use VLOOKUP function to find matching values in Excel, follow these steps below:
- Create a new column beside the existing columns.
I inserted a column named ‘Matching Values’ in Column E .
- Then copy the following formula in the top cell ( E2 ) of that column: =VLOOKUP(D2,’List 2′!$D$2:$D$10,1,FALSE)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The Matching Values column now exhibits similar values from Column D of both sheets. Some of the results came #N/A , which means the values of those cells didn’t match with the other sheet.
- Find, Highlight, and Remove Duplicates in Excel [Step-by-Step]
- 4+ Methods to Filter Duplicate Values in Excel
Find Matching Values in Two Worksheets in Excel by IF and ISNA Functions
I will be using the IF function , which compares the selected cell range. Another function, the ISNA function shows ‘TRUE’ if it finds #N/A . Otherwise, it leaves ‘FALSE’ if it finds other values.
Formula
=IF(ISNA(VLOOKUP(B2,'List 2'!$B$2:$D$10,1,FALSE)),"NO","YES")
Formula Breakdown
- B2 is the lookup value.
- $B$2:$D$10 is the table array which is the range of the 3 columns (Boarding Counter, Flight No, and Cell Number) from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds similar characters from the two worksheets.
- “NO” and “YES” are the outputs.
To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:
- Create a new column beside the existing columns.
I inserted a column named ‘Duplicate Values’ in Column E .
- Then, copy the following formula in the top cell ( E2 ) of that column: =IF(ISNA(VLOOKUP(B2,’List 2′!$B$2:$D$10,1,FALSE)),”NO”,”YES”)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The duplicate values resulted in YES , and the different values resulted in NO .
- How to Remove Duplicates in Excel [13 + Different Methods]
- 4+ Ways to Find Duplicates in a Column and Delete Rows in Excel
Conclusion
From now on, I hope you won’t have a problem finding similar information in your Excel worksheet. If you have any questions or have any ideas for us, please feel free to leave a comment below. Also, don’t hesitate to reach out to us if there are any easier techniques you would like to share.
Frequently Asked Questions
How do you find matching values in two columns in different sheets in Excel?
To find matching values in two columns in different sheets in Excel:
- In the destination sheet, select the cell where you want the result.
- Enter =VLOOKUP(Sheet1!A1, Sheet2!A:B, 2, FALSE) to match values between Sheet1 and Sheet2.
It assumes you want to find a value from column A in Sheet1 and return a matching value from column B in Sheet2.
- Press ENTER to display the matched value.
How to match data in Excel from 2 worksheets using INDEX-MATCH?
To match data in Excel from two worksheets using INDEX and MATCH:
- In Worksheet A, enter the values you want to match.
- In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
- Replace ‘Worksheet B’ with the actual worksheet name and drag the formula down to find matching data.
This method helps you compare and retrieve data from two different worksheets in Excel.
How do you check if a value exists in multiple sheets in Excel?
To check if a value exists in multiple sheets in Excel:
- Enter the value in a cell.
- Use this formula in an adjacent cell: =IF(SUM(COUNTIF(Sheet1!A1, A1), COUNTIF(Sheet2!A1, A1), COUNTIF(Sheet3!A1, A1)) > 0, “Exists”, “Doesn’t Exist”)
- The formula will display “Exists” if the value is found in any of the sheets; otherwise, it will show “Doesn’t Exist.” Adjust the sheet names and cell references as needed.
Above steps will guide users on how to check if a value exists in multiple sheets in Excel.
- C2 is the lookup_value. It is the value of the first cell of my targeted column.
- ‘List 2’! C2:C10 is the lookup_array that selects the C2 to C10 range from the List 2 sheet.
- 0 defines the difference between lookup_value and lookup_array.
The MATCH function detects the location of the identical values. The ISNUMBER function gives an output of TRUE (for matches) and FALSE (for mismatches) according to the results.
I am going to find similar texts in Column C from both sheets. To find matching values in 2 worksheets in Excel, go through the procedure:
- Insert a new column beside the data table in one of the sheets.
I’ve inserted a column in Column E , named ‘ Findings ’.
- Then, inside the E2 cell, write down this formula: =ISNUMBER(MATCH(C2,’List 2′!C2:C10,0))
- Press ENTER to see the results.
- Now, bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The TRUE-FALSE result approaches the presence and absence of similarity in these two sheets. TRUE means, the values of the two sheets match, and FALSE means the values are unique.
- How to Find Similar Text in Two Columns in Excel (5 Ways)
- 5+ Formulas to Find Duplicates in One Column in Excel
- How to Compare Rows in Excel for Duplicates (7 Ways)
Find Matching Values in Two Worksheets in Excel by VLOOKUP Function
The VLOOKUP function can find matching data from two sheets and extract them out of any row or column. In this method, I will bring out similar values in a new column.
Syntax
=VLOOKUP(lookup_value, table_array, col_index_number, [range_lookup])
Formula
=VLOOKUP(D2,'List 2'!$D$2:$D$10,1,FALSE)
Formula Breakdown
- D2 is the lookup value which is the top cell of the column Cell Number.
- $D$2:$D$10 is the table array which is the range of the column Cell Number from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds the exact matches from the two worksheets.
Use VLOOKUP function to find matching values in Excel, follow these steps below:
- Create a new column beside the existing columns.
I inserted a column named ‘Matching Values’ in Column E .
- Then copy the following formula in the top cell ( E2 ) of that column: =VLOOKUP(D2,’List 2′!$D$2:$D$10,1,FALSE)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The Matching Values column now exhibits similar values from Column D of both sheets. Some of the results came #N/A , which means the values of those cells didn’t match with the other sheet.
- Find, Highlight, and Remove Duplicates in Excel [Step-by-Step]
- 4+ Methods to Filter Duplicate Values in Excel
Find Matching Values in Two Worksheets in Excel by IF and ISNA Functions
I will be using the IF function , which compares the selected cell range. Another function, the ISNA function shows ‘TRUE’ if it finds #N/A . Otherwise, it leaves ‘FALSE’ if it finds other values.
Formula
=IF(ISNA(VLOOKUP(B2,'List 2'!$B$2:$D$10,1,FALSE)),"NO","YES")
Formula Breakdown
- B2 is the lookup value.
- $B$2:$D$10 is the table array which is the range of the 3 columns (Boarding Counter, Flight No, and Cell Number) from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds similar characters from the two worksheets.
- “NO” and “YES” are the outputs.
To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:
- Create a new column beside the existing columns.
I inserted a column named ‘Duplicate Values’ in Column E .
- Then, copy the following formula in the top cell ( E2 ) of that column: =IF(ISNA(VLOOKUP(B2,’List 2′!$B$2:$D$10,1,FALSE)),”NO”,”YES”)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The duplicate values resulted in YES , and the different values resulted in NO .
- How to Remove Duplicates in Excel [13 + Different Methods]
- 4+ Ways to Find Duplicates in a Column and Delete Rows in Excel
Conclusion
From now on, I hope you won’t have a problem finding similar information in your Excel worksheet. If you have any questions or have any ideas for us, please feel free to leave a comment below. Also, don’t hesitate to reach out to us if there are any easier techniques you would like to share.
Frequently Asked Questions
How do you find matching values in two columns in different sheets in Excel?
To find matching values in two columns in different sheets in Excel:
- In the destination sheet, select the cell where you want the result.
- Enter =VLOOKUP(Sheet1!A1, Sheet2!A:B, 2, FALSE) to match values between Sheet1 and Sheet2.
It assumes you want to find a value from column A in Sheet1 and return a matching value from column B in Sheet2.
- Press ENTER to display the matched value.
How to match data in Excel from 2 worksheets using INDEX-MATCH?
To match data in Excel from two worksheets using INDEX and MATCH:
- In Worksheet A, enter the values you want to match.
- In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
- Replace ‘Worksheet B’ with the actual worksheet name and drag the formula down to find matching data.
This method helps you compare and retrieve data from two different worksheets in Excel.
How do you check if a value exists in multiple sheets in Excel?
To check if a value exists in multiple sheets in Excel:
- Enter the value in a cell.
- Use this formula in an adjacent cell: =IF(SUM(COUNTIF(Sheet1!A1, A1), COUNTIF(Sheet2!A1, A1), COUNTIF(Sheet3!A1, A1)) > 0, “Exists”, “Doesn’t Exist”)
- The formula will display “Exists” if the value is found in any of the sheets; otherwise, it will show “Doesn’t Exist.” Adjust the sheet names and cell references as needed.
Above steps will guide users on how to check if a value exists in multiple sheets in Excel.
- ‘List 2’! is the second sheet.
- $B$2:$C$10 is the absolute cell reference of the cell range B2:C10 of List 2.
- Absolute cell reference keeps the cells locked. Add the dollar ($) sign before each character to apply absolute cell reference.
- B2 is the first cell that is working as the criteria. Make sure you do not put a dollar ($) sign when writing the criteria.
To find matching values in 2 Excel worksheets with Conditional Formatting, follow the procedure:
- Select your target cell range.
I have selected the column, Boarding Counter (Column B), and Flight No. (Column C) from the List 1 sheet.
- Then, go to the Home tab.
- Now, hit on the Conditional Formatting drop-down list from the Styles group.
- Select the New Rules command from the menu.
The New Formatting Rules dialog box will pop up on the sheet.
- From the Rule Type section, choose the Use a Formula to Determine Which Cells to Format option.
- Then, write down the following formula in the Format Values Where This Formula is True bar: =COUNTIF(‘List 2’!$B$2:$C$10,B2)
- Hit the FORMAT button on the right-bottom side of the box.
TheFormat Cells dialog box will show up.
- Now from the Fill section, choose a Background Color .
I have chosen a light orange color.
- Hit OK to see the changes.
The similar cells between List 1 and List 2 are now highlighted with orange color.
Find Matching Values in Two Worksheets in Excel with MATCH & ISNUMBER Functions
This method is another way to find the matching values in a TRUE-FALSE manner. But this time we will use the MATCH function and ISNUMBER function .
Syntax
=ISNUMBER(MATCH(lookup_value, lookup_array, [match_type])
Formula
=ISNUMBER(MATCH(C2,'List 2'!C2:C10,0))
Formula Breakdown
- C2 is the lookup_value. It is the value of the first cell of my targeted column.
- ‘List 2’! C2:C10 is the lookup_array that selects the C2 to C10 range from the List 2 sheet.
- 0 defines the difference between lookup_value and lookup_array.
The MATCH function detects the location of the identical values. The ISNUMBER function gives an output of TRUE (for matches) and FALSE (for mismatches) according to the results.
I am going to find similar texts in Column C from both sheets. To find matching values in 2 worksheets in Excel, go through the procedure:
- Insert a new column beside the data table in one of the sheets.
I’ve inserted a column in Column E , named ‘ Findings ’.
- Then, inside the E2 cell, write down this formula: =ISNUMBER(MATCH(C2,’List 2′!C2:C10,0))
- Press ENTER to see the results.
- Now, bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The TRUE-FALSE result approaches the presence and absence of similarity in these two sheets. TRUE means, the values of the two sheets match, and FALSE means the values are unique.
- How to Find Similar Text in Two Columns in Excel (5 Ways)
- 5+ Formulas to Find Duplicates in One Column in Excel
- How to Compare Rows in Excel for Duplicates (7 Ways)
Find Matching Values in Two Worksheets in Excel by VLOOKUP Function
The VLOOKUP function can find matching data from two sheets and extract them out of any row or column. In this method, I will bring out similar values in a new column.
Syntax
=VLOOKUP(lookup_value, table_array, col_index_number, [range_lookup])
Formula
=VLOOKUP(D2,'List 2'!$D$2:$D$10,1,FALSE)
Formula Breakdown
- D2 is the lookup value which is the top cell of the column Cell Number.
- $D$2:$D$10 is the table array which is the range of the column Cell Number from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds the exact matches from the two worksheets.
Use VLOOKUP function to find matching values in Excel, follow these steps below:
- Create a new column beside the existing columns.
I inserted a column named ‘Matching Values’ in Column E .
- Then copy the following formula in the top cell ( E2 ) of that column: =VLOOKUP(D2,’List 2′!$D$2:$D$10,1,FALSE)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The Matching Values column now exhibits similar values from Column D of both sheets. Some of the results came #N/A , which means the values of those cells didn’t match with the other sheet.
- Find, Highlight, and Remove Duplicates in Excel [Step-by-Step]
- 4+ Methods to Filter Duplicate Values in Excel
Find Matching Values in Two Worksheets in Excel by IF and ISNA Functions
I will be using the IF function , which compares the selected cell range. Another function, the ISNA function shows ‘TRUE’ if it finds #N/A . Otherwise, it leaves ‘FALSE’ if it finds other values.
Formula
=IF(ISNA(VLOOKUP(B2,'List 2'!$B$2:$D$10,1,FALSE)),"NO","YES")
Formula Breakdown
- B2 is the lookup value.
- $B$2:$D$10 is the table array which is the range of the 3 columns (Boarding Counter, Flight No, and Cell Number) from the List 2 worksheet.
- 1 is the column index number.
- FALSE finds similar characters from the two worksheets.
- “NO” and “YES” are the outputs.
To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:
- Create a new column beside the existing columns.
I inserted a column named ‘Duplicate Values’ in Column E .
- Then, copy the following formula in the top cell ( E2 ) of that column: =IF(ISNA(VLOOKUP(B2,’List 2′!$B$2:$D$10,1,FALSE)),”NO”,”YES”)
- Press ENTER to apply the formula.
- Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
The duplicate values resulted in YES , and the different values resulted in NO .
- How to Remove Duplicates in Excel [13 + Different Methods]
- 4+ Ways to Find Duplicates in a Column and Delete Rows in Excel
Conclusion
From now on, I hope you won’t have a problem finding similar information in your Excel worksheet. If you have any questions or have any ideas for us, please feel free to leave a comment below. Also, don’t hesitate to reach out to us if there are any easier techniques you would like to share.
Frequently Asked Questions
How do you find matching values in two columns in different sheets in Excel?
To find matching values in two columns in different sheets in Excel:
- In the destination sheet, select the cell where you want the result.
- Enter =VLOOKUP(Sheet1!A1, Sheet2!A:B, 2, FALSE) to match values between Sheet1 and Sheet2.
It assumes you want to find a value from column A in Sheet1 and return a matching value from column B in Sheet2.
- Press ENTER to display the matched value.
How to match data in Excel from 2 worksheets using INDEX-MATCH?
To match data in Excel from two worksheets using INDEX and MATCH:
- In Worksheet A, enter the values you want to match.
- In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
- Replace ‘Worksheet B’ with the actual worksheet name and drag the formula down to find matching data.
This method helps you compare and retrieve data from two different worksheets in Excel.
How do you check if a value exists in multiple sheets in Excel?
To check if a value exists in multiple sheets in Excel:
- Enter the value in a cell.
- Use this formula in an adjacent cell: =IF(SUM(COUNTIF(Sheet1!A1, A1), COUNTIF(Sheet2!A1, A1), COUNTIF(Sheet3!A1, A1)) > 0, “Exists”, “Doesn’t Exist”)
- The formula will display “Exists” if the value is found in any of the sheets; otherwise, it will show “Doesn’t Exist.” Adjust the sheet names and cell references as needed.
Above steps will guide users on how to check if a value exists in multiple sheets in Excel.