+ Reply to Thread
Results 1 to 7 of 7

SUMIFS only for certain criteria...

  1. #1
    Registered User
    Join Date
    05-19-2013
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    40

    SUMIFS only for certain criteria...

    I have a spreadsheet with approx. 500 rows and about 25 columns of data - I've added several summary rows at the top of the sheet to sum 2 of the columns according to 6 criteria which appear in other columns.
    This is easily done using a SUMIF formula - and I've put one SUMIFS statement in to sum the 2 columns I need if ALL of the 6 criteria are selected - again not too difficult.
    What I can't think of an easy way to do is to summarise data if I only want to pick 3 or 4, say, of the criteria - obviously without having to write SUMIFS for all of the possible different combinations.
    There are no blanks or zeros in any of the cells in the sheet - each item(row) has something assigned for each of the criteria I'm looking at.
    Any ideas appreciated.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,725

    Re: SUMIFS only for certain criteria...

    I have some ideas, but it would help if you attached a sample Excel workbook so we can see what type of data we are dealing with, and how it is laid out.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Please note that the Paperclip icon does not work.

    Pete

  3. #3
    Registered User
    Join Date
    05-19-2013
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    40

    Re: SUMIFS only for certain criteria...

    Pete,
    Thanks - I will do, just need to anonomousalyzemate the data and upload......

  4. #4
    Registered User
    Join Date
    05-19-2013
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    40

    Re: SUMIFS only for certain criteria...

    Some time later...
    Had to do this from scratch so hopefully this will give an idea of what I'm trying to achieve.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,198

    Re: SUMIFS only for certain criteria...

    Try

    =SUMIFS(E:E,I:I,$O$3,D:D,$O$4,C:C,$O$5,H:H,$O$6,K:K,$O$7,J:J,$O$8)

    Make your selections DV lists and include "*" (without quotes) as a criteria in the lists (meaning ALL).

  6. #6
    Registered User
    Join Date
    05-19-2013
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    40

    Re: SUMIFS only for certain criteria...

    Thanks John - I'd tried adding a blank to the DV lists but hadn't thought of that...
    Fantastic!

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,198

    Re: SUMIFS only for certain criteria...

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 3
    Last Post: 02-02-2017, 04:32 AM
  2. [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
  3. Replies: 5
    Last Post: 12-15-2016, 07:37 PM
  4. Replies: 5
    Last Post: 10-03-2016, 03:39 AM
  5. Replies: 3
    Last Post: 11-21-2012, 04:57 PM
  6. Replies: 5
    Last Post: 09-07-2011, 11:14 PM
  7. Replies: 1
    Last Post: 05-16-2011, 05:00 PM

Tags for this Thread

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