+ Reply to Thread
Results 1 to 3 of 3

SumProduct Multiple Criteria

  1. #1
    Registered User
    Join Date
    12-16-2011
    Location
    Columbus
    MS-Off Ver
    Excel 2007
    Posts
    76

    SumProduct Multiple Criteria

    In advance, thank you so much for the help!

    Please take a look at the attached file. I am trying to enter formulas to pull from the 'Detail' Tab into the Risk Segmentation Tab - cell c3 was a poor effort of said attempt.

    On the Risk Segmentation Tab Columns C - F should be a count of Column F - 'Facility Name' on the 'Detail' Tab

    On the Risk Segmentation Tab J - M should be a SUM of Column H - '#Beds' on the 'Detail' Tab

    On the Risk Segmentation Tab Q - T should be a SUM of Column J - 'Annual Revenue' on the 'Detail' Tab

    I could do a pivot table, but perfer the formulas ]
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: SumProduct Multiple Criteria

    In C3
    =COUNTIFS(Detail!$E:$E,$B3,Detail!$K:$K,C$2)

    In J3
    =SUMIFS(Detail!$H:$H,Detail!$E:$E,$B3,Detail!$K:$K,C$2)

    In Q3
    =SUMIFS(Detail!$J:$J,Detail!$E:$E,$B3,Detail!$K:$K,J$2)

    Copy across and below as appropriate
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    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: SumProduct Multiple Criteria

    Try

    1) =SUMPRODUCT((Detail!$E$2:$E$1000=$B3)*(Detail!$K$2:$K$1000=C$2))

    2)=SUMPRODUCT((Detail!$E$2:$E$1000=$B3)*(Detail!$K$2:$K$1000=J$2)*(Detail!$H$2:$H$1000))

    3)=SUMPRODUCT((Detail!$E$2:$E$1000=$B3)*(Detail!$K$2:$K$1000=Q$2)*(Detail!$J$2:$J$1000))
    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.

+ 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