Function Problems

How to Check if a Value Exists in Another List in Excel

Natalie TaylorNatalie Taylor Nov 10, 2026 868 views

Question details

The user needs a method to determine whether items from one list are present in a second list using Excel functions.

How to Check Whether Values Exist in Another Excel List
Product
Spreadsheet software
Device & OS
not provided
Scenario
Comparing two data lists to identify matching or missing values.
Observed behavior
Formulas like MATCH and ISNUMBER can be combined to return exact TRUE/FALSE or custom text based on whether a lookup value exists in the target array.
Before you start

Ensure your lookup list does not contain leading or trailing spaces, as these can cause exact match formulas to fail. You can use the TRIM function to clean your data first if necessary.

Solution 1Recommended

Use ISNUMBER and MATCH for Exact Existence Checks

This is the most robust method to check if a value exists in another column, returning a custom "Exists" or "Does Not Exist" result.

The MATCH function searches for a specified item in a range of cells, and returns its relative position. When combined with ISNUMBER, it evaluates to TRUE if a match is found and FALSE if it returns an error.

1
Select the output cell

Click on the cell where you want the result to appear (for example, cell C2 right next to your first list).

2
Enter the MATCH and ISNUMBER formula

Type =IF(ISNUMBER(MATCH(A2,$B$2:$B$10,0)),"Exists","Does Not Exist"), replacing A2 with your lookup value and $B$2:$B$10 with your target list range.

3
Apply absolute references

Ensure your target range uses absolute references (the dollar signs like $B$2:$B$10) so the range remains fixed when you copy the formula down.

4
Drag to fill

Press Enter, then click and drag the fill handle at the bottom-right corner of the cell down to apply the formula to the rest of your list.

Use ISNUMBER and MATCH for Exact Existence Checks
Modern Excel Spill Feature: In newer versions of Excel or WPS Office, you can replace the single cell A2 with a range like A2:A10 to automatically spill the results down the column without needing to drag the fill handle.
WPS Spreadsheet solution

Easily Compare Data Lists in WPS Spreadsheet

WPS Spreadsheet fully supports advanced array formulas like MATCH, ISNUMBER, and COUNTIF. You can efficiently compare lists, handle large datasets, and analyze data for free.

  1. 1. Open your worksheet in WPS Spreadsheet: Launch WPS Office, open your spreadsheet, and locate the two columns you want to compare.
  2. 2. Input the formula: In a blank column next to your list, enter =ISNUMBER(MATCH(A2,$B$2:$B$10,0)) to return TRUE if the value exists, or FALSE if it does not.
  3. 3. Extend the formula: Double-click the fill handle on the cell's bottom-right corner to automatically apply the formula to all rows in your list.
Fully compatible with Microsoft Excel formulas and the .xlsx format.Supports modern array features and spilled results for dynamic data handling.Lightweight and fast, ensuring smooth operation even with large lookup arrays.Completely free to use for daily spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula return "Does Not Exist" when the value is clearly in the list?

This usually happens due to mismatched formatting or hidden spaces. Use the TRIM function on both lists to remove extra spaces, or ensure both columns are formatted as text or numbers consistently. Values like "MRGYO" and "MGRYO" with slight spelling differences will also fail to match.

How can I highlight existing values instead of adding a new column?

You can use Conditional Formatting. Select your first list, go to 'Home' > 'Conditional Formatting' > 'New Rule', choose 'Use a formula to determine which cells to format', and enter =ISNUMBER(MATCH(A2,$B$2:$B$10,0)). Set a background color to highlight the matches.

What does the '0' mean at the end of the MATCH function?

The '0' in the MATCH formula MATCH(A2, $B$2:$B$10, 0) instructs the function to look for an exact match. If you omit it, the spreadsheet might return an approximate match, which can lead to incorrect results when checking for existence.

Can I check if values exist across different worksheets?

Yes. You can reference another worksheet in your formula. For example, =ISNUMBER(MATCH(A8, 'Input'!$Y$2:$Y$26, 0)) will search for the value of A8 in the specified range on the 'Input' worksheet.