+ Reply to Thread
Results 1 to 5 of 5

Consolidation (Combining multiple tables (or data) into one)

  1. #1
    Registered User
    Join Date
    07-20-2009
    Location
    maryland, usa
    MS-Off Ver
    Latest Excel (Excel 365)
    Posts
    30

    Consolidation (Combining multiple tables (or data) into one)

    Hi Everyone,

    First of all, thanks in advance for your help on this.

    So I have this giant excel (thousands of rows with multiple worksheets) that I need to combine into one excel to be uploaded into our new reporting system. I figured this would be best explained by a sample, which is attached.

    Let's say we're selling fruits to customers in three different regions (Europe, Asia and America) and used to track customers separately. Each market sells different types of fruits (In Asia, we sell Coconut, but not in Europe). And now we have a global reporting system that we can combine all of them with a region as a column and list all fruits we sell.

    I can manually use INDEX MATCH to to avoid the issue with different columns under each region. But having 5-6 regions with multiple worksheet, I thought I'd ask your help.

    Please let me know if you want me to clarify anything. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Consolidation (Combining multiple tables (or data) into one)

    Can i change old reporting structure. Because your data structure not proper.
    If you can change little bit then you can easily extract require data.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    07-20-2009
    Location
    maryland, usa
    MS-Off Ver
    Latest Excel (Excel 365)
    Posts
    30

    Re: Consolidation (Combining multiple tables (or data) into one)

    Hi avk,

    Sure, I can change the old structure a little bit, but not much. Would you please let me know how I can change so that I can solve my issue?
    Thanks!

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Consolidation (Combining multiple tables (or data) into one)

    For Customer, put this on L5 and copied down :
    =IFERROR(IFERROR(INDEX($A$5:$A$7,ROWS($A$1:A1)),INDEX($A$15:$A$17,ROWS($A$1:A1)-3)),INDEX($A$23:$A$26,ROWS($A$1:A1)-6))

    For Region, put this on M5 and copied down :
    =IFERROR(IFERROR(INDEX($A$3:$G$3,SUMPRODUCT(($A$5:$A$7=$L5)*COLUMN($A$5:$A$7))-COLUMN($A$2:$G$2)+1),INDEX($A$13:$G$13,SUMPRODUCT(($A$15:$A$17=$L5)*COLUMN($A$15:$A$17))-COLUMN($A$12:$G$12)+1)),INDEX($A$21:$H$21,SUMPRODUCT(($A$23:$A$26=$L5)*COLUMN($A$23:$A$26))-COLUMN($A$20:$H$20)+1))

    For Fruit, put this on N4 and copied cross :

    =IFERROR(IFERROR(INDEX($B$4:$G$4,MATCH(0,INDEX(COUNTIF($M$4:M4,$B$4:$G$4&""),0,0),0)),INDEX($B$14:$H$14,MATCH(0,INDEX(COUNTIF($M$4:M4,$B$14:$H$14&""),0,0),0))),INDEX($B$22:$H$22,MATCH(0,INDEX(COUNTIF($M$4:M4,$B$22:$H$22&""),0,0),0)))

    For Values, put this on N5 and copied down and cross :

    =IFERROR(CHOOSE(MATCH($M5,{"Europe","Asia","America"},0),INDEX($B$5:$G$7,MATCH($L5,$A$5:$A$7,0),MATCH(N$4,$B$4:$G$4,0)),INDEX($B$15:$H$17,MATCH($L5,$A$15:$A$17,0),MATCH(N$4,$B$14:$H$14,0)),INDEX($B$23:$H$26,MATCH($L5,$A$23:$A$26,0),MATCH(N$4,$B$22:$H$22,0))),"")

    and hope this works
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-20-2009
    Location
    maryland, usa
    MS-Off Ver
    Latest Excel (Excel 365)
    Posts
    30

    Re: Consolidation (Combining multiple tables (or data) into one)

    Thank you so much! I think this can work.
    I will give a shot!

+ 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. Combining multiple tables into one table
    By NDmad in forum Excel General
    Replies: 1
    Last Post: 07-20-2016, 03:48 PM
  2. Replies: 7
    Last Post: 05-19-2015, 01:21 AM
  3. Replies: 1
    Last Post: 03-14-2012, 03:45 PM
  4. Combining Multiple Tables
    By fervorking in forum Access Tables & Databases
    Replies: 4
    Last Post: 06-24-2011, 10:44 AM
  5. Replies: 0
    Last Post: 10-27-2010, 12:13 PM
  6. Replies: 0
    Last Post: 09-14-2010, 03:48 PM
  7. [SOLVED] Product Function in Pivot Tables from Multiple Consolidation Range
    By bbishop222 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-22-2005, 01:06 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