+ Reply to Thread
Results 1 to 5 of 5

SUM all INDEX MATCHES ? (question has nice tables!!)

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    The Moon, Milkyway Galaxy
    MS-Off Ver
    2013
    Posts
    19

    SUM all INDEX MATCHES ? (question has nice tables!!)

    Hi Guys!

    I feel like I'm just missing 1 step in this equation... My searches online and the forum have produced all the results that frame the boundaries of what I need, but I can't seem to put them together in one formula.

    My data looks like the following table except 10 times more metric intervals than just one and is about 6000 lines long:

    # Color January Metric February Metric Difference
    1 Yellow 100 50 50
    2 Yellow 150 75 75
    3 Yellow 0 0 0
    4 Yellow 5 5 0
    5 Yellow 200 300 -100
    6 Blue 300 300 0
    7 Blue 175 0 175
    8 White 16 16 0
    9 White 25 25 0
    10 White 80 20 60
    11 White 135 135 0
    12 Red 700 700 0
    13 Red 0 500 -500
    14 Red 20 20 0
    15 Red 95 95 0
    16 Red 165 165 0
    17 Red 220 0 220
    18 Red 310 310 0
    19 Red 405 405 0
    20 Red 290 290 0
    21 Brown 110 110 0

    And I want to make a totals table that looks like:

    Color Jan Metric Sum Feb Metric Sum Diff Sum
    Yellow 455 430 25
    Blue 475 300 175
    White 256 196 60
    Red 2205 2485 -280
    Brown 110 110 0
    Total 3501 3521 -20

    My guess is that it will be some kind of
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    something...

    Please help!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: SUM all INDEX MATCHES ? (question has nice tables!!)

    if you are able to use PowerQuery
    Attached Files Attached Files

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: SUM all INDEX MATCHES ? (question has nice tables!!)

    hi there. if 1st table is in A:E and 2nd table starts in G1, then try this in H2 (for Yellow and Jan Metric):
    =SUMIF($B:$B,$G2,C:C)

    J2 would simply be:
    =H2-I2

    if you need formulas to generate the unique colors, it's explained in the file of my link below*Tips & Tutorials I Compiled, sheet 2

    and you can also do this via PivotTable. click on cell A1
    go to INSERT tab -> PivotTable
    click OK
    on the right side of the Excel window is the PivotTable Fields. that controls what you wish to see in the report
    click and drag the Color Field to the ROWS area
    click and drag the January and February Field to the VALUES area

    go to the DESIGN tab -> Report Layout -> Show in Tabular Form

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,461

    Re: SUM all INDEX MATCHES ? (question has nice tables!!)

    2nd table starts in H1.
    See attachment.
    Attached Files Attached Files
    Quang PT

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

    Re: SUM all INDEX MATCHES ? (question has nice tables!!)

    Another options
    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. Match-Up two tables where one table has multiple possible matches
    By kevsvette in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-09-2016, 02:28 PM
  2. [SOLVED] Duplicate Counting Nice Easy question!!!!!
    By Stephen_Malley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-05-2015, 10:24 AM
  3. Replies: 1
    Last Post: 03-13-2014, 07:03 AM
  4. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  5. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  6. Replies: 4
    Last Post: 07-18-2012, 02:34 PM
  7. Nice simple question..
    By Hodged in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-17-2006, 09:00 AM

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