+ Reply to Thread
Results 1 to 14 of 14

Multiple Criteria SUMIFS

  1. #1
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Multiple Criteria SUMIFS

    Hello,

    On sheet 3 In columns A:D I have a kilo summary of species/ presentation/ total boxes and total kilos from information entered on sheet 1.

    In columns F:L i have another summary prelimunary to find the Highest/ lowest/ average kilo price based on specie per size. I have entered 2 new columns, (I) which add ups the total boxes for each specie per grade and (H) Which will show the presentaion of each specie per grade.

    However im struggling to update the information. For example in columns A:D if there is the same specie with both types of presentation it will seperate them and show the boxes/ kilos seperatetly. If i try to use the same idea in Columns F:I it will only change to the first presenation entered on sheet 1.

    Ive got an example in red for What im trying to achive. Im just looking for Formulae solutions thanks i cant get on with pivots.
    Attached Files Attached Files
    Last edited by Dom.Knight; 09-18-2020 at 02:39 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    Are you looking for an output of
    Excel 2016 (Windows) 32 bit
    F
    G
    H
    2
    Species
    Grade
    Presenattion
    3
    4
    5
    6
    HAD
    4
    WF
    7
    HAD
    4
    GH
    8
    ANF
    4
    GH
    9
    ANF
    5
    GH
    10
    ANF
    6
    GH
    11
    SQU U WF
    12
    RJM
    4
    GH
    Sheet: sheet3

    or
    Excel 2016 (Windows) 32 bit
    W
    X
    Y
    6
    HAD
    4
    WF
    7
    HAD
    4
    GH
    8
    ANF
    4
    GH
    9
    SQU U WF
    10
    RJM
    4
    GH
    11
    PLE
    2
    GH
    12
    LEM
    2
    GH
    13
    POL
    3
    GH
    14
    HKE
    4
    GH
    Sheet: sheet3

  3. #3
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Multiple Criteria SUMIFS

    Looking at the first output. F:H

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    Ok, in F2
    =IFERROR(INDEX(sheet1!$B:$B,AGGREGATE(15,6,ROW(sheet1!$B$7:$B$1006)/ISNUMBER(sheet1!$I$7:$I$1006)/ISNA(MATCH(sheet1!$B$7:$B$1006&"@"&sheet1!$D$7:$D$1006&"@"&sheet1!$C$7:$C$1006,$F$2:$F5&"@"&$G$2:$G5&"@"&$H$2:$H5,0)),1)),"")

    just change the index column for cols G & H
    Then in I2
    =IF($F6<>"",ROUNDUP(SUMIFS(sheet1!$E$7:$E$150,sheet1!$B$7:$B$150,F6,sheet1!$D$7:$D$150,G6,sheet1!$C$7:$C$150,H6),0),"")

  5. #5
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Multiple Criteria SUMIFS

    That works great thanks.

    Only one snag i hadnt thought about is my kilo prices J:L dont differentiate by presentation. If i have specie "haddock" grade "4" but with each presentaion "gh" and "wf" id like them to give seperate prices. has it stands now if im only getting prices per grade.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    For J use
    =AGGREGATE(15,6,sheet1!$I$7:$I$1006/(sheet1!$B$7:$B$1006=$F6)/(sheet1!$D$7:$D$1006=$G6)/(sheet1!$C$7:$C$1006=$H6),1)
    And for L use
    =AVERAGE(J6:K6)

  7. #7
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Multiple Criteria SUMIFS

    Thanks for your help

    For L thoe the Average should find the Average kilo price from Sheet1 for each specie per grade. Your function only finds the average from J and K

    Also What would be your formulae be for K ?
    Last edited by Dom.Knight; 09-17-2020 at 03:08 AM.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    For col K just use the col J formula, but change the 15 to 14, the same as you had originally.
    The formula in col L returns the same same price as the formula you had originally (modified to account for the extra column.

  9. #9
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Multiple Criteria SUMIFS

    Many thanks i did try that this morning and it didnt work but perhaps mistyped as it works correctly now. Thanks

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    You're welcome & thanks for the feedback.

  11. #11
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Multiple Criteria SUMIFS

    Would you be able to help me out with avergae price scenario column L

  12. #12
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    How about
    =AVERAGEIFS(sheet1!$I$7:$I$1006,sheet1!$B$7:$B$1006,$F6,sheet1!$D$7:$D$1006,$G6,sheet1!$C$7:$C$1006,$H6)

  13. #13
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Multiple Criteria SUMIFS

    Excellant. Many thanks for help with this matter. All work as they should.

  14. #14
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Multiple Criteria SUMIFS

    You're welcome & thanks for the feedback.

+ 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. Using sumifs to sum multiple criteria, when the criteria changes down a column
    By mitchellkramer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2019, 06:32 AM
  2. Replies: 0
    Last Post: 08-22-2017, 03:49 PM
  3. Replies: 3
    Last Post: 02-02-2017, 04:32 AM
  4. [SOLVED] SUMIFS with multiple criteria WITH specified dynamic range criteria
    By dluhut in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-20-2017, 11:03 AM
  5. How to sum SUMIFS - multiple criteria for one criteria range???
    By trstew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2016, 02:37 PM
  6. Replies: 3
    Last Post: 11-21-2012, 04:57 PM
  7. Replies: 1
    Last Post: 05-16-2011, 05:00 PM

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