+ Reply to Thread
Results 1 to 6 of 6

creating tables with sumifs( multiple criteria

  1. #1
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    creating tables with sumifs( multiple criteria

    I'm trying to set up some tables for a forcast vs Actuals report, but I'm having some trouble with the SUMIFS( formula.

    **See attachment to know what I'm talking about.

    So going through the SUMIFS formula for forecast (PV0),

    the sum range is of course the forecasted column correlating to the same month as the formula,

    Criteria1 is making sure that the right program is selected correlating to the table title,

    Criteria2 is summing specifically the labor data points based on their titles(PS Value Category). For example, I only want Direct labor, Labor overhead, Offbook Adjustments, Offbook Overhead, and Unallowable Cost to be summed in this cell.

    Please Login or Register  to view this content.

    The first formula doesn't like the Or( formula inside it, or it might be misplaced?
    The second formula works fine, but can only work for one of the five PS Value Category
    The third formula is an extention of the second, but doesn't work because the sumifs( formula is looking for both PS Value Category criteria in the same cell, which isn't going to happen. I think this formula requires an Or( formula somewhere, but I'm not sure where.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-21-2015
    Location
    United States
    MS-Off Ver
    2016
    Posts
    62

    Re: creating tables with sumifs( multiple criteria

    Hi there,

    Instead of using OR, you can place your additional options in brackets {} like the following.

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


    Edit: My fault for leaving the outer SUM off originally.
    Last edited by Skiptomylou; 03-15-2018 at 03:33 PM.

  3. #3
    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
    30,671

    Re: creating tables with sumifs( multiple criteria

    Try


    =SUM(SUMIFS('Raw data'!Y:Y,'Raw data'!$A:$A,"BA",'Raw data'!$L:$L,{"DIRECT LABOR","LABOR OVERHEAD","OFFBOOK ADJUST","OFFBOOK OH","UNALLOWABLE"}))

  4. #4
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    Re: creating tables with sumifs( multiple criteria

    Quote Originally Posted by Skiptomylou View Post
    Hi there,

    Instead of using OR, you can place your additional options in brackets {} like the following.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Hello, and thanks for your input.

    This formula still only sums the DIRECT LABOR variable and ignores the others. I tried a similar formula to ensure that the first criteria isn't the problem.

    Please Login or Register  to view this content.
    As I said before, this formula only sums the LABOR OVERHEAD input. Is different syntax needed to separate the variables?

  5. #5
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    Re: creating tables with sumifs( multiple criteria

    Quote Originally Posted by JohnTopley View Post
    Try


    =SUM(SUMIFS('Raw data'!Y:Y,'Raw data'!$A:$A,"BA",'Raw data'!$L:$L,{"DIRECT LABOR","LABOR OVERHEAD","OFFBOOK ADJUST","OFFBOOK OH","UNALLOWABLE"}))
    Thanks for the reply!

    This formula looks correct, but why is the additional Sum( formula needed? Who would have thought to sum the sum formula Sumception

  6. #6
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: creating tables with sumifs( multiple criteria

    John beat me to it. You have to wrap the SUMIFS inside an extra SUM function because it's returning an array of results - one for each bracketed value - like this: {SUMIF(..."DIRECT LABOR"),SUMIF(..."LABOR OVERHEAD"),SUMIF(..."OFFBOOK ADJUST"), etc.}
    Last edited by leelnich; 03-14-2018 at 11:03 PM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

+ 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. [SOLVED] Using SUMIFS for criteria in two different tables
    By queenbean84 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-09-2017, 02:39 PM
  3. Replies: 3
    Last Post: 02-02-2017, 04:32 AM
  4. [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
  5. 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
  6. Replies: 3
    Last Post: 11-21-2012, 04:57 PM
  7. Replies: 1
    Last Post: 05-16-2011, 05:00 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