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.

datasheet: Find Matching Values in Two Worksheets in Excel

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

To find matching values with EXACT function, follow these steps below:

  1. First, create a separate column beside the data table in one of the sheets.
    I’ve inserted a column in Column E , named ‘ Results ’.
Inserted a blank column to store the result of matching two values with EXACT function
  1. Then, insert the formula in the first empty cell of the new column : =EXACT(D2:D10,’List 2′!D2:D10)
way 1: Find Matching Values in Two Worksheets in Excel
  1. Then, press ENTER to apply the formula.
  2. Now, double-click on the Fill Handle , the ‘+’ sign on the bottom-right corner of cell E2 .
Using Fill Handle to drag the formula down to match values in Excel

The Fill Handle will automatically copy the formula through the whole datasheet and show the results this way:

Result of Way 1: Find Matching Values in Two Worksheets in Excel

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

To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Duplicate Values’ in Column E .
  2. 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”)
Way 5: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Applied VLOOKUP formula with IF and ISNA showing customized message
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle to drag down the formula of finding matching values in 2 worksheets

The duplicate values resulted in YES , and the different values resulted in NO .

Result of Way 5: Find Matching Values in Two Worksheets 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:

  1. In the destination sheet, select the cell where you want the result.
  2. 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.
  3. 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:

  1. In Worksheet A, enter the values you want to match.
  2. In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
  3. 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:

  1. Enter the value in a cell.
  2. 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”)
  3. 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.

Use VLOOKUP function to find matching values in Excel, follow these steps below:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Matching Values’ in Column E .
Inserted column to store result to find matching values in 2 worksheets in Excel
  1. Then copy the following formula in the top cell ( E2 ) of that column: =VLOOKUP(D2,’List 2′!$D$2:$D$10,1,FALSE)
Way 4: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Displaying the result after applying the VLOOKUP function
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle after finding matching values in 2 worksheets in Excel

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.

Result of Way 3: Find Matching Values in Two Worksheets 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

To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Duplicate Values’ in Column E .
  2. 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”)
Way 5: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Applied VLOOKUP formula with IF and ISNA showing customized message
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle to drag down the formula of finding matching values in 2 worksheets

The duplicate values resulted in YES , and the different values resulted in NO .

Result of Way 5: Find Matching Values in Two Worksheets 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:

  1. In the destination sheet, select the cell where you want the result.
  2. 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.
  3. 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:

  1. In Worksheet A, enter the values you want to match.
  2. In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
  3. 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:

  1. Enter the value in a cell.
  2. 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”)
  3. 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.

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:

  1. Insert a new column beside the data table in one of the sheets.
    I’ve inserted a column in Column E , named ‘ Findings ’.
  2. Then, inside the E2 cell, write down this formula: =ISNUMBER(MATCH(C2,’List 2′!C2:C10,0))

Applied formula in a cell to find matching values in Excel with ISNUMBER and MATCH functions

  1. Press ENTER to see the results.
Showing TRUE in the column after finding matching values in Excel
  1. Now, bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle to drag the formula down with ISNUMBER & MATCH in Excel

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.

Way 3: Find Matching Values in Two Worksheets in Excel

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

Use VLOOKUP function to find matching values in Excel, follow these steps below:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Matching Values’ in Column E .
Inserted column to store result to find matching values in 2 worksheets in Excel
  1. Then copy the following formula in the top cell ( E2 ) of that column: =VLOOKUP(D2,’List 2′!$D$2:$D$10,1,FALSE)
Way 4: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Displaying the result after applying the VLOOKUP function
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle after finding matching values in 2 worksheets in Excel

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.

Result of Way 3: Find Matching Values in Two Worksheets 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

To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Duplicate Values’ in Column E .
  2. 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”)
Way 5: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Applied VLOOKUP formula with IF and ISNA showing customized message
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle to drag down the formula of finding matching values in 2 worksheets

The duplicate values resulted in YES , and the different values resulted in NO .

Result of Way 5: Find Matching Values in Two Worksheets 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:

  1. In the destination sheet, select the cell where you want the result.
  2. 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.
  3. 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:

  1. In Worksheet A, enter the values you want to match.
  2. In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
  3. 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:

  1. Enter the value in a cell.
  2. 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”)
  3. 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.

To find matching values in 2 Excel worksheets with Conditional Formatting, follow the procedure:

  1. Select your target cell range.
    I have selected the column, Boarding Counter (Column B), and Flight No. (Column C) from the List 1 sheet.
Dataset to find matching values in 2 worksheets with conditional formatting
  1. Then, go to the Home tab.
  2. Now, hit on the Conditional Formatting drop-down list from the Styles group.
  3. Select the New Rules command from the menu.
    Conditional Formatting: Find Matching Values in Two Worksheets in Excel
    The New Formatting Rules dialog box will pop up on the sheet.
  4. From the Rule Type section, choose the Use a Formula to Determine Which Cells to Format option.
New Formatting Rule dialog box to find matching values in Excel
  1. Then, write down the following formula in the Format Values Where This Formula is True bar: =COUNTIF(‘List 2’!$B$2:$C$10,B2)
  2. Hit the FORMAT button on the right-bottom side of the box.
    Way 2: Find Matching Values in Two Worksheets in Excel
    TheFormat Cells dialog box will show up.
  3. Now from the Fill section, choose a Background Color .
    I have chosen a light orange color.
  4. Hit OK to see the changes.
Fill color to format cells in Excel to highlight matching values in 2 worksheets

The similar cells between List 1 and List 2 are now highlighted with orange color.

Result of Way 2: Find Matching Values in Two Worksheets in Excel

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

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:

  1. Insert a new column beside the data table in one of the sheets.
    I’ve inserted a column in Column E , named ‘ Findings ’.
  2. Then, inside the E2 cell, write down this formula: =ISNUMBER(MATCH(C2,’List 2′!C2:C10,0))

Applied formula in a cell to find matching values in Excel with ISNUMBER and MATCH functions

  1. Press ENTER to see the results.
Showing TRUE in the column after finding matching values in Excel
  1. Now, bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle to drag the formula down with ISNUMBER & MATCH in Excel

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.

Way 3: Find Matching Values in Two Worksheets in Excel

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

Use VLOOKUP function to find matching values in Excel, follow these steps below:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Matching Values’ in Column E .
Inserted column to store result to find matching values in 2 worksheets in Excel
  1. Then copy the following formula in the top cell ( E2 ) of that column: =VLOOKUP(D2,’List 2′!$D$2:$D$10,1,FALSE)
Way 4: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Displaying the result after applying the VLOOKUP function
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle after finding matching values in 2 worksheets in Excel

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.

Result of Way 3: Find Matching Values in Two Worksheets 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

To use IF & ISNA functions for finding matching values in 2 worksheets, follow these steps:

  1. Create a new column beside the existing columns.
    I inserted a column named ‘Duplicate Values’ in Column E .
  2. 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”)
Way 5: Find Matching Values in Two Worksheets in Excel
  1. Press ENTER to apply the formula.
Applied VLOOKUP formula with IF and ISNA showing customized message
  1. Now bring the cursor to the bottom-right corner of cell E2 and double-click on the Fill Handle icon.
Using Fill Handle to drag down the formula of finding matching values in 2 worksheets

The duplicate values resulted in YES , and the different values resulted in NO .

Result of Way 5: Find Matching Values in Two Worksheets 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:

  1. In the destination sheet, select the cell where you want the result.
  2. 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.
  3. 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:

  1. In Worksheet A, enter the values you want to match.
  2. In an adjacent column, use this formula: =INDEX(‘Worksheet B’!$B:$B, MATCH(A2, ‘Worksheet B’!$A:$A, 0))
  3. 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:

  1. Enter the value in a cell.
  2. 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”)
  3. 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.