+ Reply to Thread
Results 1 to 5 of 5

Index/Match with ability to sum one of the matches?

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    20

    Index/Match with ability to sum one of the matches?

    Hello,

    I have a data set that are weeks as the columns and types of sales as the rows, filling the cells with sales counts.
    There are multiple sales types on the rows that need to be summed together. The index/match formula works great except it only grabs the first of the sales type. Is there a way to grab the week column only but sum the sales count by sales type?

    For example:
    12/30/13 1/6/14 1/13/14 1/20/14 1/27/14 2/3/14
    Service 1 1 4 1 2
    Service 55 44 55 88 66 44
    Product 264 206 224 244 319 324
    Product 1,014 951 938 1,182 1,009 904
    Referral 1,543 1,323 1,309 1,335 1,354 1,469

    Thanks!!

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Index/Match with ability to sum one of the matches?

    You could use SUMPRODUCT. See attached for example.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Index/Match with ability to sum one of the matches?

    Hi, maybe an array formula (confirm with ctrl+shift+enter) like:
    =SUM(IF(A2:A16=H3,OFFSET(A2:A16,0,MATCH(I3,B1:E1,0)),0))
    take a look at the attachment for an example.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-13-2013
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Index/Match with ability to sum one of the matches?

    Thank you both a million!
    The sumproduct seems like it will perfectly match my needs as I will need to continuously copy this formula down across rows.

    I really appreciate the quick responses!

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Index/Match with ability to sum one of the matches?

    Happy to help.

+ 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. [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
  2. Replies: 4
    Last Post: 07-18-2012, 02:34 PM
  3. Multiple Matches - Index/Match
    By brdwlsh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-26-2007, 12:00 AM
  4. Vlookup or Index Match on 2 matches
    By jmuise2007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-19-2007, 08:22 PM
  5. Use MATCH & INDEX to list all matches
    By zulaz in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 02-07-2005, 04:00 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