+ Reply to Thread
Results 1 to 5 of 5

SUm based on mor than 5 or 6 criteria

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    SUm based on mor than 5 or 6 criteria

    So basically i want to sum based on more than 5 or 6 criteria. I have a sumif but it only goes to a max of 3 conditions. Please help. I've attached a sample.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-20-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: SUm based on mor than 5 or 6 criteria

    =SUMIFS allows for multiple criteria ranges for one sum range. Try that

  3. #3
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    Re: SUm based on mor than 5 or 6 criteria

    I currently do have a sumifs but it only allows 3 max... any suggestions? This is what I'm using now: =SUMIFS('Data Dump'!I:I,'Data Dump'!$F:$F,Table!$D5,'Data Dump'!$C:$C,Table!$B5,'Data Dump'!$E:$E,Table!$C5)

  4. #4
    Registered User
    Join Date
    09-20-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: SUm based on mor than 5 or 6 criteria

    As far as I know, there is no pre defined limit on how many criteria you can have on SUMIFS. Remember though, that the criteria in the SUMIFS are AND rather than OR. So you have SUMIFS(sum_range, Criteria_Range1, Criteria1 AND Criteria_Range2, Criteria2....) so you ranges have to satisfy all the criteria to be summed....try multiple SUMIFS with independent criteria like SUMIFS(sum_range, independent criteria range1, independent criteria1, dependent criteria range1, dependent criteria1) + SUMIFS(sum_range, independent criteria range2, independent criteria2)...etc. Check that your conditions can be satisfied. Alternatively, attach a sample file for me to have a look at.

  5. #5
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: SUm based on mor than 5 or 6 criteria

    Sumifs function can sum up to 255 criteria (as i remember)
    But i had a look to your table and its not designed in proper way. For example: month names are different in two tabels.
    Thus i decided to use sumproduct formula
    =SUMPRODUCT(IFERROR(INDEX('Data Dump'!$4:$20,MATCH(Table!$C6,'Data Dump'!$O$4:$O$20,0),MATCH(TRIM(Table!F$5&" Budget Cost"),'Data Dump'!$3:$3,0)),0)*('Data Dump'!$C$4:$C$20=Table!$D$2)*('Data Dump'!$P$4:$P$20=Table!$G$2)*('Data Dump'!$Q$4:$Q$20=Table!$J$2)*('Data Dump'!$L$4:$L$20=Table!$M$2))

    But with a little chnage on your table you can use sumifs formula too, which is easiest way to sum criterias
    Attached Files Attached Files

+ 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