+ Reply to Thread
Results 1 to 7 of 7

SUMIFS, INDEX, and MATCH-- how to fix?

  1. #1
    Registered User
    Join Date
    11-22-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    SUMIFS, INDEX, and MATCH-- how to fix?

    Hi,

    I've been trying to apply a SUMIFS function using INDEX and MATCH as seen in this file.


    Basically, I have a certain type, and I want to fill in Products 1-5 based on the Type.

    So far, all I'm getting is "0".

    Any help is appreciated, thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: SUMIFS, INDEX, and MATCH-- how to fix?

    Here you go...
    Please Login or Register  to view this content.
    Copy that formula down through B7.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    11-22-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: SUMIFS, INDEX, and MATCH-- how to fix?

    It does help quite a bit, at least for the text...but how do I get it to include both text and numbers? I will post an updated file in just a minute to show what I mean.
    Attached Files Attached Files

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: SUMIFS, INDEX, and MATCH-- how to fix?

    This formula works for text and numbers greater than zero:
    Please Login or Register  to view this content.
    Copy that formula down through B7.

    Does that help?

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS, INDEX, and MATCH-- how to fix?

    Perhaps try

    =INDEX($B$10:$F$14,MATCH($B$1,$A$10:$A$14,0),MATCH($A3,$B$9:$F$9,0))&""
    Audere est facere

  6. #6
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: SUMIFS, INDEX, and MATCH-- how to fix?

    Nice touch...I didn't even think to just tack on an empty string.

  7. #7
    Registered User
    Join Date
    11-22-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Smile Re: SUMIFS, INDEX, and MATCH-- how to fix?

    They both work perfectly...thanks so much to you both!

+ 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