• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

How to compare two lists and extract similarities or differences in Excel

0 Comments

How to compare two lists and extract similarities or differences in Excel:Suppose you have two very long lists and need to compare the similarities and differences between them. How do you know which elements in the first list do not appear or are present in the second list or vice versa? In this article, Buffcom.net will guide you on how to use the COUNTIF function to compare two lists and extract similarities or differences in Excel.

For example, let’s say we have two lists as shown below. The requirement is to compare which values in list 2 are in list 1. In this case, we can use the COUNTIF function to compare the two lists as follows.

1. COUNTIF function structure

Function syntax: =COUNTIF(Range; Criteria)
Where:

  • Range: is the data range of cells you want to count
  • Criteria: is the condition for a cell to be counted

Note: The COUNTIF function applies only to one condition.

2. How to use the COUNTIF function to compare two lists

Applying the COUNTIF function structure above, we have the formula in cell C2 as follows:
=COUNTIF($A$2:$A$10; B2)

Where:

  • $A$2:$A$10 is the range of list 1 to compare with
  • B2 is the value to compare in list 2

Copying the formula for the remaining cells in column C, we will get the results as shown below.

  • A result of 0 means the value in list 2 is not in list 1
  • A result of 1 means the value in list 2 is in list 1
How to compare two lists and extract similarities or differences in Excel

How to compare two lists and extract similarities or differences in Excel

Next, we will proceed to extract the values by selecting the Data tab on the toolbar. Then click on the Filter icon under the Sort & Filter section.

How to compare two lists and extract similarities or differences in Excel

How to compare two lists and extract similarities or differences in Excel

Now, the Filter icon will appear at the top of the columns in the table. Click on the Filter icon at cell C1. Then filter the results as follows:

  • To filter the content that appears in both lists, filter the values with a result of 1
  • To filter the content that is only in list 2, not in list 1, filter the values with a result of 0
How to compare two lists and extract similarities or differences in Excel

How to compare two lists and extract similarities or differences in Excel

Thus, the article has guided you on how to use the COUNTIF function to compare two lists and extract similarities or differences in Excel. Hopefully, this article will be useful to you in your work. Good luck!

Rate this post
32
264 Views
How to turn off Scroll Lock in ExcelPrevHow to turn off Scroll Lock in ExcelMarch 17, 2023
How to create automatic borders for value-containing cells in ExcelMarch 17, 2023How to create automatic borders for value-containing cells in ExcelNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Kaspersky Internet Security 2021 1 year 1 device key Global Kaspersky Internet Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $24.00
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
Products
  • Microsoft Visual Studio Enterprise 2022 For 1 PC Microsoft Visual Studio Enterprise 2022 For 1 PC $19.00
  • Windows 10 Home OEM Key Global Windows 10 Home OEM Key Global
    Rated 4.80 out of 5
    $6.00
  • Trend Micro Maximum Security 3 Devices 1 Year key Global Trend Micro Maximum Security 3 Devices 1 Year key Global
    Rated 5.00 out of 5
    $15.00
  • Microsoft Project Standard 2019 - 1 PC Microsoft Project Standard 2019 - 1 PC $12.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Windows Server2008 R2 Remote Desktop Services user connections (20)cal Windows Server2008 R2 Remote Desktop Services user connections (20)cal $29.00
  • Windows Server 2019 Remote Desktop Services 50 USER Connections Key Global Windows Server 2019 Remote Desktop Services 50 USER Connections Key Global
    Rated 4.75 out of 5
    $20.00
  • Microsoft Project 2019 professional Key Global Bind to your Microsoft Account Microsoft Project 2019 professional Key Global Bind to your Microsoft Account
    Rated 4.93 out of 5
    $12.00
  • Kaspersky Standard - 1 Device, 1 Year (Global License) Kaspersky Standard - 1 Device, 1 Year (Global License) $21.00
  • Microsoft Office Professional Plus 2013 retail CD Key Global Microsoft Office Professional Plus 2013 retail CD Key Global
    Rated 4.97 out of 5
    $11.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.