+ Reply to Thread
Results 1 to 4 of 4

average & sum using index & match formulas

  1. #1
    Forum Contributor
    Join Date
    02-21-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007
    Posts
    122

    average & sum using index & match formulas

    I am getting used to using the index & match functions so I'm hoping someone can help me.

    on the attached spreadsheet in the cells highlighted in yellow on the "team rankings" tab. I need to get the sum of the corresponding information from the "weekly team stats" tab. For each team member for the month indicated on that table. For the cells in blue I need the same but I need the average instead of sum.

    For the last table the cells in green need to be the sum of all the calls handled for that team member for everything on the "weekly team stats" tab. and the pink cells need to be the average of all corresponding data from the "weekly team stats" tab.

  2. #2
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: average & sum using index & match formulas

    Hi Jscalem,

    Try the attachment. I have only taken Sum and average for 1 column first. You can drag it to the next columns. I made it quite simple so the book do not get more heavy if use more array on it.

    Check and let me know if it works for you.
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  3. #3
    Forum Contributor
    Join Date
    02-21-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: average & sum using index & match formulas

    Not exactly what I am looking for. I want to use a sum or average function with an index match so that if the header name changes it will still work without having to make any changes to the formulas. I'm just not sure how to use those together.

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

    Re: average & sum using index & match formulas

    Some sample formulas...

    B18: =SUMIFS(OFFSET('Weekly Team Stats'!$A:$A, , MATCH(B$17, 'Weekly Team Stats'!$1:$1, 0)-1, , ), 'Weekly Team Stats'!$B:$B, $F$16, 'Weekly Team Stats'!$D:$D, $A18)

    C18: =AVERAGEIFS(OFFSET('Weekly Team Stats'!$A:$A, , MATCH(C$17, 'Weekly Team Stats'!$1:$1, 0)-1, , ), 'Weekly Team Stats'!$B:$B, $F$16, 'Weekly Team Stats'!$D:$D, $A18)

    Even if your Weekly Team Stats columns were to change order those formulas would keep working.


    Those same formulas can be tweaked for your GREEN/PINK cells, but only after you add a new column to your Weekly Team Stats called Quarter, and fill it in.
    _________________
    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!)

+ 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. average index match
    By puzzlelover22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-01-2014, 11:21 AM
  2. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  3. [SOLVED] Index, Match, Month before calculating AVERAGE
    By overbomb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2013, 10:43 AM
  4. Index/Match to find Starting Point of Average, Ending Point of Average Variable
    By tgentry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-09-2012, 01:04 AM
  5. Trying to take an average using INDEX and/or MATCH
    By doraen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2011, 01:46 PM

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