+ Reply to Thread
Results 1 to 3 of 3

Sumif Index match with multiple column headings same criteria

  1. #1
    Registered User
    Join Date
    12-14-2011
    Location
    Seattle, Washington
    MS-Off Ver
    Excel 2003
    Posts
    5

    Sumif Index match with multiple column headings same criteria

    Hello. I'm trying to write a formula that sums the values in column C and E (both headers are the same criteria) IF it matches a value in column B. I can write a sumif( Index( Match formula but it only sums column C as it's the first column with the required criteria and ignores column E.

    Please see attached workbook. Where i have results you can see the formula i currently have below. Thanks!

    =SUMIF($B$3:$B$15,C33,INDEX($C$3:$G$15,0,MATCH(C$25&D$25,$C$1:$G$1,0)))

    Another way to say it is I want the sum of all Apple Sales units in the NE, NW, SE seperatly. However, Apple sales units are in column C and in column E and I need to count Apple sales units from both. Same would go for Orange sales units
    Attached Files Attached Files
    Last edited by NBVC; 01-27-2012 at 01:40 PM. Reason: SOLVED

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sumif Index match with multiple column headings same criteria

    tRY:

    =SUMPRODUCT(($B$3:$B$15=C26)*($C$1:$G$1=C$25&D$25),$C$3:$G$15)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-14-2011
    Location
    Seattle, Washington
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Sumif Index match with multiple column headings same criteria

    Awesome! thanks so much.

+ 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