+ Reply to Thread
Results 1 to 5 of 5

SumIf Index Match Summary Help

  1. #1
    Forum Contributor
    Join Date
    06-07-2006
    Posts
    121

    SumIf Index Match Summary Help

    In Excel 2007, I am trying to get the SUM of various cells in range where two criterias are met. One criteria is in a column, the 2nd is in a row.

    In Cell E6 I am trying to get the sum from a range of cells (ITC!C4:Q161) where Column A has MTR listed and row 3 has HAN from cells B3:Q3.

    MTR can appear on multiple occasions in column A
    HAN can appear on multiple occasions in the range from B3:Q3

    I placed the formula below in cell E6 with no luck.
    =SumIFS(INDEX(ITC!C4:Q161,MATCH('Direct vs Indirect Detail'!C6,ITC!A4:A161,0),MATCH('Direct vs Indirect Detail'!E1,ITC!B3:Q3,0)))
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: SumIf Index Match Summary Help

    try this E6, copy across,

    =SUMPRODUCT((ITC!$D$6:$D$161=$C6)*(ITC!$F$3:$Q$3=E$1),ITC!$F$6:$Q$161)

    There are some trailing space at the end in E1, F1, G1, so delete them.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Forum Contributor
    Join Date
    06-07-2006
    Posts
    121

    Question Re: SumIf Index Match Summary Help

    I plugged this formula on the attached spreadsheet receiving zero as the amount when that is definitely not what it should be. Any suggestions


    =SUMPRODUCT((ITC!$A$4:$A$161=$C6)*(ITC!$C$3:$Q$3=E$1),ITC!$C$4:$Q$161)
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SumIf Index Match Summary Help

    Hi

    I took a look to your sample and i found one wrong type of word "HAN"

    I think your problem is because of this,

    Pls take a look to the attachment

    Hope to helps ypu.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: SumIf Index Match Summary Help

    Quote Originally Posted by Haseeb A View Post
    There are some trailing space at the end in E1, F1, G1, so delete them.
    You need to delete the trailing spaces. or use this to delete them with formula,

    =SUMPRODUCT((ITC!$A$4:$A$161=TRIM($C6))*(ITC!$C$3:$Q$3=TRIM(E$1)),ITC!$C$4:$Q$161)

+ 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