+ Reply to Thread
Results 1 to 6 of 6

Sum Range Based on 3 Criteria

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Sum Range Based on 3 Criteria

    Good day, first time poster. I have searched this forum and tried examples of SUMIF, SUMPRODUCT but none seem to do what I'm looking for. Any help would be greatly appreciated.

    In the attached example you'll see a sample data table that could be 1000s of rows long. It contains location, shape, date and some values. I would like to summarize the data by showing the total count (positive or negative) based on location, shape and date. Please note that the table could contain blank values.

    (sorry couldn't seem to get the interlace to let me attach a file)
    excel.PNG
    (I also realized I misspelled Canada in the summary table example. Please proceed as if spelled correctly, Thank you.)
    Last edited by Joor; 12-01-2017 at 11:46 AM.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Sum Range Based on 3 Criteria

    Have you tried using a pivot table?

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Sum Range Based on 3 Criteria

    You could also use SUMIFS
    =SUMIFS(C$2:C$8,$A$2:$A$8,$A13,$B$2:$B$8,$B13)
    and fill down and across
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sum Range Based on 3 Criteria

    Hello and welcome to the forum.

    A screenshot isn't as helpful as a sample workbook which you can upload here by clicking on GO ADVANCED and then scrolling down to Manage Attachments to open the upload window.

    That being said, based on the screenshot that you shared in post #1, try this in C13:

    =SUMIFS(C$2:C$8,$A$2:$A$8,$A13,$B$2:$B$8,$B13)

    Drag the formula to the right and down.

  5. #5
    Registered User
    Join Date
    07-26-2013
    Location
    BL, Bosnia
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Sum Range Based on 3 Criteria

    Try this:

    =SUM(IF($A$2:$A$8=$A$13,IF($B$2:$B$8=$B13,IF($C$1:$J$1=C$12,$C$2:$J$8))))

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,784

    Re: Sum Range Based on 3 Criteria


+ 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. [SOLVED] flag out of range values based on set of criteria and reference range
    By Excel_learner in forum Excel General
    Replies: 8
    Last Post: 04-19-2016, 01:51 PM
  2. [SOLVED] Sum all the values in a range based on criteria for a range
    By Ravana in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-17-2016, 04:53 AM
  3. [SOLVED] Dynamic Named Range to Auto-Populate another range based on criteria
    By BeachRock in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2014, 06:46 PM
  4. Replies: 6
    Last Post: 11-11-2012, 12:40 AM
  5. Copy/Paste Range to Another Range based on Criteria
    By ExcelFinWizzard in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-13-2012, 09:35 AM
  6. SUM a range based on criteria
    By qipaco in forum Excel General
    Replies: 1
    Last Post: 07-20-2011, 01:09 AM
  7. [SOLVED] MIN within range based on criteria
    By StevenL in forum Excel General
    Replies: 9
    Last Post: 07-11-2005, 07:05 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