Skip to main content

How to check if one list against another in Excel?

Author Sun Last modified

When working with two lists in an Excel sheet, it’s important to determine if any data from one list appears in the other. This process is crucial for identifying duplicates and maintaining data integrity. In this tutorial, I will introduce two effective methods to quickly check if items in one list exist in another in Excel:

Check one list against another by formula

Check one list against another by Kutools for Excel good idea


Check one list against another by formula

Here are some formulas can quickly check if one list against another one.

In the adjacent cell to the first list you want to check, type this formula =IF(ISNA(VLOOKUP(A2,$C$2:$C$6,1,0)),"No","Yes"), and drag fill handle down to the cells you want to check.
Check if items in one list exist in another using the formula

Note:

1. In the formula, A2 is the first cell of the list you want to check if against to another one, C2:C6 is the second list you want to check based on.

2. You also can apply this formula =IF(COUNTIF($C$2:$C$6,A2)>0,TRUE,FALSE) to handle this job.


Check one list against another by Kutools for Excel

If you want to check one list if against another one and highlight the duplicates, you can apply Kutools for Excel’s Select Samee & Different Cells utility.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Click Kutools > Select > Select Same & Different Cells. See screenshot:
Select Same & Different Cells option on the Kutools tab on the ribbon

2. In the popping dialog, do as below:

A: Select the list you want to check to the Find values in textbox, and select the list you want to check based on into the According to textbox.

B: check Each row in the Based on section.

C: check Same values in Find section.

D: Check and select the background color or font color if you want to highlight the duplicates.
Select Same & Different Cells dialog box

3. Click Ok, and a dialog pops out to remind you that the duplicate values have been selected. Click OK to close the dialog, and the duplicates in the first list have been selected and highlight with background color.
Confirmation dialog

Demo: Check one list against another using Kutools for Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!