+ Reply to Thread
Results 1 to 5 of 5

need formula to merge data table

  1. #1
    Registered User
    Join Date
    01-18-2020
    Location
    surat
    MS-Off Ver
    2016
    Posts
    27

    need formula to merge data table

    Good Morning All,


    can someone please help me find a way or formula to merge given sample date in excel

    sheet 1,2,3 &4 are my sample data table i want to merge all this table in sheet 5
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: need formula to merge data table

    You can find all explanations at https://www.rondebruin.nl/ (try the Merge add-in)

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: need formula to merge data table

    Please try at C4

    =SUMPRODUCT(SUMIFS(INDIRECT("Sheet"&{1;2;3;4}&"!"&{"C:C","D:D","E:E","F:F","G:G"}),INDIRECT("Sheet"&{1;2;3;4}&"!A:A"),$A4)*(CELL("contents",INDIRECT("Sheet"&{1;2;3;4}&"!"&{"C1","D1","E1","F1","G1"}))=C$1))

    or ribbon Data> Consolidate

    Consolidate.png

    or Power Query
    Change file path in Blue

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-18-2020
    Location
    surat
    MS-Off Ver
    2016
    Posts
    27

    Re: need formula to merge data table

    data consolidation works fine but what if i have to match two condition row A and row b like in sheet 4

    file attched
    Attached Files Attached Files

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: need formula to merge data table

    Data consolidation only work with 1 column,1 Row header

    try
    C4
    =SUMPRODUCT(SUMIFS(INDIRECT("Sheet"&{1;2;3;4}&"!"&{"C:C","D:D","E:E","F:F","G:G"}),INDIRECT("Sheet"&{1;2;3;4}&"!A:A"),$A4,INDIRECT("Sheet"&{1;2;3;4}&"!B:B"),$B4)*(CELL("contents",INDIRECT("Sheet"&{1;2;3;4}&"!"&{"C1","D1","E1","F1","G1"}))=C$1))

    or Power query

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Update/Merge data from different workbooks with the same table
    By OKot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-24-2019, 06:08 PM
  2. Combine two data sets and merge them into one table
    By oddy73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-03-2015, 09:02 PM
  3. Help with extracting data from a merge table
    By skate1991 in forum Excel General
    Replies: 1
    Last Post: 12-16-2014, 10:04 AM
  4. Data table layout change for mail merge
    By justinallsop in forum Excel General
    Replies: 7
    Last Post: 06-18-2013, 02:09 AM
  5. Replies: 6
    Last Post: 01-30-2013, 09:36 PM
  6. Replies: 1
    Last Post: 03-04-2009, 08:52 AM
  7. Merge table columns and data from various excel workbooks into another
    By borat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2007, 11:27 AM

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