How to find common values in 3 columns in Excel?

In general case, you may need to find and select the same values between two columns in Excel, but, have you ever tried to find the common values among three columns which means the values exist in 3 columns at the same time as following screenshot shown. This article, I will introduce some methods to finish this task in Excel.

doc common values in 3 columns 1

Find common values in 3 columns with array formulas

arrow blue right bubble Find common values in 3 columns with array formulas

To find and extract the common values from 3 columns, the following array formula may help you, please do as this:

Enter this array formula into a blank cell where you want to extract the same values from 3 columns:

=LOOKUP("zzz",CHOOSE({1,2},"",INDEX(A$2:A$10,MATCH(0,COUNTIF(E$1:E1,A$2:A$10)+IF(IF(COUNTIF(B$2:B$8,A$2:A$10)>0,1,0)+IF(COUNTIF(C$2:C$9,A$2:A$10)>0,1,0)=2,0,1),0)))), and then press Shift + Ctrl + Enter keys together to get the first common value, then drag this formula down until blanks are displayed, all of the same values in 3 columns are extracted as below screenshot shown:

doc common values in 3 columns 2


1. Here is another array formula also can finish this job:

=INDEX($A$2:$A$10, MATCH(0, COUNTIF($E$1:E1, $A$2:$A$10)+IF(IF(COUNTIF($B$2:$B$8, $A$2:$A$10)>0, 1, 0)+IF(COUNTIF($C$2:$C$9, $A$2:$A$10)>0, 1, 0)=2, 0, 1), 0)), please remember to press Shift + Ctrl + Enter keys simultaneously.

2. In the above formulas: A2:A10, B2:B8, C2:C9 are the cells in three columns that you want to compare; E1 is the above cell that your formula is located, you can change them to your need.

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Michelle · 3 months ago
    HI, I am coping and pasting the above formula and i can't get it to work. I have many blank cells appearing but no common data showing. Please what am I doing wrong? I keep the "zzz" in the lookup formula is that correct?

  • To post as a guest, your comment is unpublished.
    abdul · 8 months ago
    hi any body can help me ?how to find common values if i have 10 column or above please solve that formula or mail my address
  • To post as a guest, your comment is unpublished.
    Mansimar · 2 years ago
    Hello. I tried using this formula and it works perfectly but there is one slight problem. It takes a lot of time for the calculation. It is taking around 20 seconds everytime I change some entries in the columns. Can you help regarding it?
  • To post as a guest, your comment is unpublished.
    Sarah N · 2 years ago
    I have tried the formula and it seems it works. Could I apply the same to find a macth between 5 columns?
  • To post as a guest, your comment is unpublished.
    KHADIZAH · 2 years ago
    • To post as a guest, your comment is unpublished.
      Richard R · 9 months ago
      Same here. I get "#N/A" instead of any results. I even recreated the spreadsheet shown in the example and got the same results.
      • To post as a guest, your comment is unpublished.
        skyyang · 9 months ago
        Hello, Richard,
        The formula works well in my workbook, could you give a screesnhot here to show your problem?
        You can take a screenshot and click Upload files icon to insert your screenshot here.
        Thank you!