Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to merge two tables by matching a column in Excel?

Supposing you have two tables in two different sheets, one is main table, and the other is new data table. Now you want to merge these two tables by a matching column and update the data as below screenshot shown, how can you quickly solve it in Excel? In this article, I will introduce the tricks on combining two tables by a column quickly.

Easily merge two tables and update the new items in Excel

In some times, you may want to merge two tables into one, and update the itmes and add new ones. Kutools for Excel's Tables Merge utility can merge the Main table with the Lookup table into one, and update the main table as the preview shown.  Click for full-featured free trial in 30 days!
doc tables merge
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.
Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubble   Merge two tables by a column with VLOOKUP


To merge two tables by a column matching, you can apply VLOOUP function.

1. Select a blank cell next to the main table you, C2 for instance. See screenshot:
doc merge tables by a column 2

2. Enter this formula =IFERROR(VLOOKUP($A2,Sheet2!$A$1:$C$6,COLUMN(A1),FALSE),"") into it, then drag the autofill handle right until blank cell appears, and then drag the fill handle down to the cells needed this formula. See screenshot:
doc merge tables by a column 3

3. You can add the new column headers to the merged table. See screenshot:
doc merge tables by a column 4


arrow blue right bubble   Merge two tables by a column with Tables Merge function

The LOOKUP function will be little troublesome for you, but fortunately, there is a helpful function Tables Merge in Kutools for Excel which can quickly add and update new items in the main table based on another table.

  Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

1. Select the main table you want to use to update and merge with another, click Kutools Plus > Tables Merge.
doc table merge 1

2. Then in the Tables Merge wizard dialog, select the lookup table in Select the lookup table textbox, check the options if the tables have headers.
doc table merge 2

3. Click Next, in step 2 of the wizard, check the key column you want to merge based on.
doc table merge 3

4. Click Next, in step 3 of wizard, check the column(s) you want to update the data.
doc table merge 4

5. Click Next to next step, check the new column(s) you want to add to the main data.
doc table merge 5

6. Click Next, in the last step, you need to set some options for the new items, such as highlighted the updated ones with background color.
doc table merge 6

7. Click Finish. The main table has been updated and added with new items.
doc table merge 7


arrow blue right bubble   Merge multiple tables by column headers into one sheet with Kutools for Excel

If you want to merge multiple tables across sheets or workbooks by column headers into a single sheet as below screenshot shown, you can apply the powerful Combine function of Kutools for Excel to quickly solve it.
doc merge tables by a column 5

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

1. Enable the workbook (or workbooks) you want to combine by column headers, click Enterprise > Combine, and in the popping dialog, check Combine multiple worksheets from workbooks into one worksheet. See screenshot:
doc merge tables by a column 6
doc merge tables by a column 7

2. Then click Next to go to Step 2 of 3 dialog, and check the workbook names and sheet names you want to merge from two lists. See screenshot:
doc merge tables by a column 8

3. Click Next to go to Step 3 of 3 dialog. In the last step of the dialog, specify the title row number into it, here is one, also you can specify other setting options as you need. See screenshot:
doc merge tables by a column 9

4. Click Finish, a dialog pops out for choosing a folder to place the merged new workbook. And click Save to go to first one Kutools for Excel dialog which remind you whether open the combined workbook, click Yes to open it or no, and then the second Kutools for Excel dialog pops out for reminding you to save this combine scenario, click any options as you need.
doc merge tables by a column 10
doc merge tables by a column 11
doc merge tables by a column 12

Now the sheets have been merged into one single sheet based on column headers.
doc merge tables by a column 13

Tip. If you want to have a free trial of the Combine function, please go to free download Kutools for Excel first, and then go to apply the operation according above steps.


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.
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.
    satwik · 1 years ago
    there is no option for table merge in kutools plus as i can see , ihave downloaded it just now yet there isnt any option like that, Lame explanation
    • To post as a guest, your comment is unpublished.
      Sunny · 1 years ago
      Hello, satwik. The Merge Table function is released in KTE 17.00 and later version, you can free download one of them to have a try.
  • To post as a guest, your comment is unpublished.
    Brian · 1 years ago
    these directions are terrible. I am an engineer, and I have no DAMN clue how to use this tool. You leep and skip steps and explanations. Awful ability to train.