+ Reply to Thread
Results 1 to 4 of 4

How to Merge Two tables in excel

  1. #1
    Registered User
    Join Date
    09-02-2018
    Location
    Pakistan
    MS-Off Ver
    16
    Posts
    2

    How to Merge Two tables in excel

    I have two tables(Tabl_A and Table_B) in Excel as shown in the following figure. I want to merge them so that output is like the third table (Tabl_C).

    stack overflow.PNG


    Cross-posted here :
    http://www.msofficeforums.com/excel/...les-excel.html
    https://www.excelguru.ca/forums/show...ables-in-excel
    https://www.mrexcel.com/forum/excel-...les-excel.html

    Mod note : Links corrected : should now work

    And yet another one : https://stackoverflow.com/questions/...ables-in-excel
    Last edited by dominicb; 09-03-2018 at 04:48 AM. Reason: Links corrected

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,615

    Re: How to Merge Two tables in excel

    Links to cross-posted threads do not work (all 3)!

    make first cell in Table_C ControlSet column active, and start writing a formula
    =VLOOKUP(
    now select cell with 1 in column Sections (one left from the cell you are writing formula in),
    write comma (,) in a formula,
    select whole TAble_A,
    write comma (,) in a formula,
    write 2 (as column with ControlSet is 2nd one)
    write comma (,) in a formula,
    write FALSE and press Enter (closing bracket should be added automatically).
    As it is in the table, the formula shall be copiued automatically down.

    repeat all steps for next column
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    08-14-2018
    Location
    Hanoi, Vietnam
    MS-Off Ver
    2016
    Posts
    118

    Re: How to Merge Two tables in excel

    Capture.PNG
    Formula in A6
    Please Login or Register  to view this content.
    Fill down.

    Formula in B6
    Please Login or Register  to view this content.
    Fill down and fill right.
    HTH.

  4. #4
    Registered User
    Join Date
    09-02-2018
    Location
    Pakistan
    MS-Off Ver
    16
    Posts
    2

    Re: How to Merge Two tables in excel

    Thank you Very Much CONGNT92. It worked!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Merge Two PowerPivot Tables in Excel
    By varunc777999 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-11-2016, 02:13 PM
  2. Help with Pivot Tables to merge two tables
    By scrawl.to.me in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2015, 06:01 AM
  3. [SOLVED] How do I merge two tables in Excel that have identical columns?
    By arn0ldas in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2013, 07:29 AM
  4. Replies: 0
    Last Post: 05-06-2009, 03:09 PM
  5. Replies: 1
    Last Post: 01-15-2006, 11:20 AM
  6. [SOLVED] HOW TO MERGE TWO TABLES
    By Bill Vogel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  7. HOW TO MERGE TWO TABLES
    By Bill Vogel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1