+ Reply to Thread
Results 1 to 7 of 7

SUMIFS proper format for multiple criteria

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    SUMIFS proper format for multiple criteria

    I've attached a workbook which gives an example of some data I need to sum according to the timestamp of the hour.

    Since Excel's time format divides a 24 hour day into fractions I've included a column (AC) showing the hours of the day in 24 hour increments (as fractions).

    The incorrect formulation of the SUMIFS formula (below) is returning a VALUE error. Can you tell me what I'm doing wrong?

    Please Login or Register  to view this content.
    I want to sum the numbers in column N which fall between the timestamp of 0 and .01467 (which should correspond to the hours of 0:00 and 1:00).
    Thanks !
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: SUMIFS proper format for multiple criteria

    I would guess it's because the ranges need to be the same size.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: SUMIFS proper format for multiple criteria

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Although I disagree with your expect result

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: SUMIFS proper format for multiple criteria

    As explained in the help file (https://support.office.com/en-us/art...6-611cebce642b ), the sum range and the criteria range arguments must have the same number of rows and columns. In your formula, the sum range extends from row 36 to row 145, but the criteria ranges are only extending from row 36 to row 37. If I understand the goal, I expect you need to extend your criteria ranges to be from row 36 to row 145 and change to absolute references -- just like for the sum range argument.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: SUMIFS proper format for multiple criteria

    Fluff,

    Thanks, you nailed it. And my expected result was indeed wrong too. I had just visually summed up the first day (of many)!

  6. #6
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: SUMIFS proper format for multiple criteria

    Thanks MrShorty. The problem was that I was considering the wrong column as the "criteria." The correct criteria range is in column V.

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

    Re: SUMIFS proper format for multiple criteria

    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. Replies: 0
    Last Post: 08-22-2017, 03:49 PM
  2. Replies: 3
    Last Post: 02-02-2017, 04:32 AM
  3. [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
  4. Sumifs with multiple criteria and criteria in same column
    By Kathryn012 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2017, 07:48 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

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