+ Reply to Thread
Results 1 to 4 of 4

SUMIFS not working for me.

  1. #1
    Registered User
    Join Date
    03-05-2019
    Location
    Deputy, Indiana
    MS-Off Ver
    Excel for Mac 16.22
    Posts
    12

    SUMIFS not working for me.

    Hello and thank you for looking! I've attached a sample file. I'm trying to sum hours based on 2 criteria. 1st criteria is the date. The 2nd criteria is what category of hour it falls into such as
    "Days ST Hrs" or "Nights DT Hours" , etc.

    Formula : SUMIFS('1622925'!H13:H62,'1622925'!F13:F62,G4,'1622925'!H12:Y12,F5)

    Sum Range:1622925'!H13:H62, {1622925 is a sheet in the workbook H13:H62 is the SUM column and rows for "Days ST Hours"}
    Criteria Range:1622925'!F13:F62,
    Criteria:G4, {G4 is the cell where the date resides in the "weekly" sheet in the workbook}
    Criteria Range 2:1622925'!H12:Y12, {H12:Y12 is the row and columns where the 2nd criteria exist}
    Criteria 2:F5. {F5 is the cell where the "Days ST Hours" resides in the "weekly" sheet in the workbook}



    Any and all help is appreciated. Thank you!
    Last edited by shawnoel; 04-19-2019 at 03:06 PM. Reason: Add file

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: SUMIFS not working for me.

    It looks like your attempt to attach your workbook failed.

    To attach a workbook, first make sure to remove any sensitive/proprietary data and then click on “GO ADVANCED” and then scroll down to “Manage Attachments” to open the upload window. Choose your file then click on “Upload”, scroll down then click on “Close this window”, then “Submit reply”.

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

    Re: SUMIFS not working for me.

    As explained in the SUMIFS() help file (https://support.office.com/en-us/art...6-611cebce642b ):
    Quote Originally Posted by Excel help
    The Criteria_range argument must contain the same number of rows and columns as the Sum_range argument.
    In your case, the sum range and the criteria range 1 arguments are both 50 row x 1 column ranges. The criteria range 2 argument is a 1 row x 18 column range, which is different from the other two. I'm not sure what you are expecting, but this appears to me to be the cause of the error.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: SUMIFS not working for me.

    just offhand and without a file to view, I'd say that this part is causing you problems... SUMIFS('1622925'!H13:H62,'1622925'!F13:F62,G4,'1622925'!H12:Y12,F5)
    the ranges should match so if you are using rows 13 to 62 in your sum criteria range 1 you should use 13 to 62 in your criteria range 2.
    If you are going to sum across a row you might want to use sumproduct for that.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Working with a Sumifs
    By yuenk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-15-2017, 02:17 AM
  3. [SOLVED] Sumifs not working
    By TreeLife in forum Excel General
    Replies: 7
    Last Post: 08-26-2016, 02:49 AM
  4. SUMIFS not working
    By Luther.King in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2014, 08:02 PM
  5. [SOLVED] SUMIFS not working
    By Krishnab4u in forum Excel General
    Replies: 3
    Last Post: 11-21-2013, 06:31 AM
  6. [SOLVED] SUMIFS - Not Working as I would like
    By Chris.Williams81 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-08-2013, 08:55 AM
  7. [SOLVED] sumifs not working quite right
    By benoj2005 in forum Excel General
    Replies: 13
    Last Post: 09-19-2012, 10:41 AM

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