+ Reply to Thread
Results 1 to 5 of 5

Need to sum rows from multiple tables with varying layouts

Hybrid View

  1. #1
    Registered User
    Join Date
    08-08-2011
    Location
    Toronto, ON, Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Need to sum rows from multiple tables with varying layouts

    I have several tables that I need to sum and combine into one master table. The problem is that not all the tables have the same layout of products. How would you combine the varying tables in order to create a master table where the products are summed accurately from the varying input tables?

    Here's an example of the layout (below and attached in Excel). Lastly, my apologies if this has been answered already but after looking through the forum for about 20 mins, I couldn't find a similar example.

    CATEGORY 1 AMOUNT
    Product A 5
    Product B 8
    Product G 11
    Product H 3

    CATEGORY 2 AMOUNT
    Product B 14
    Product C 5
    Product E 6
    Product H 12

    CATEGORY 3 AMOUNT
    Product A 20
    Product C 14
    Product D 3
    Product G 5

    example table.jpg
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,330

    Re: Need to sum rows from multiple tables with varying layouts

    Hi Giger,

    This is a job for Pivot Tables using Multiple Consolidation Ranges. I have attached your answer.
    See http://www.contextures.com/xlPivot08.html
    I needed to add the Icon for this old function onto my Quick Access Toolbar (QAT) to show the dialog.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need to sum rows from multiple tables with varying layouts

    A Pivot Table should make short work of this: http://screencast.com/t/cI6JT7hYaoz
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    08-08-2011
    Location
    Toronto, ON, Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need to sum rows from multiple tables with varying layouts

    GUYS -A HUGE thank you for your responses. I'm just dumfounded right now thinking "why didn't I think of that"?

    Thank you guys for your fast, thorough and clear responses.
    Jerry - I never even heard of screencast before so I'll probably even use it for some of my customers.

    thanks!

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need to sum rows from multiple tables with varying layouts

    Giger, the think you want to search for is JING, I use it for quick screenshots, it puts a link to that screenshot into your clipboard for easy posting/emailing. Works for videos, too.

    If that takes care of your need, please select Thread Tools from menu above and set this topic to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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