+ Reply to Thread
Results 1 to 7 of 7

Sum ifs order of operation

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    seattle
    MS-Off Ver
    2010
    Posts
    30

    Sum ifs order of operation

    Guys,

    here is my formula

    =SUMIFS(Table_NCM.accdb4[[#All],[CountOfStatus]],Table_NCM.accdb4[[#All],[weekending]],I5,Table_NCM.accdb4[[#All],[Status]],"Open")/SUMIFS(Table_NCM.accdb4[[#All],[CountOfStatus]],Table_NCM.accdb4[[#All],[weekending]],I5,Table_NCM.accdb4[[#All],[Status]],"Open")+SUMIFS(Table_NCM.accdb4[[#All],[CountOfStatus]],Table_NCM.accdb4[[#All],[weekending]],I5,Table_NCM.accdb4[[#All],[Status]],"Complete")


    i want it to do this A/(y+z)
    10/(5+5) = 1

    but instead i got

    (A+y)/Z

    thanks for your help

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sum ifs order of operation

    Without seeing what this relates to, its really hard (for me at least) to see what that is doing (I hate structured tables btw lol), but it looks like maybe you have the entire range in the 1st argument? I believe SUMIFS() needs the 1st argument to be a single column range
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Sum ifs order of operation

    Try this..
    Its was a matter of putting brackets at right place..
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Sum ifs order of operation

    No, what you actually have at present is a/y+z.

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


    See the extra brackets in red? That makes it evaluate as a/(y+z)

    Also notice how using linebreaks in your formula can make it much more readable...
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  5. #5
    Registered User
    Join Date
    08-13-2014
    Location
    seattle
    MS-Off Ver
    2010
    Posts
    30

    Re: Sum ifs order of operation

    thanks guys

  6. #6
    Registered User
    Join Date
    08-13-2014
    Location
    seattle
    MS-Off Ver
    2010
    Posts
    30

    Re: Sum ifs order of operation

    how do i mark this as solved?

  7. #7
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Sum ifs order of operation

    Select Thread Tools from the menu link above and mark this thread as SOLVED. You can also click Add Reputation to posts which you found helpful. 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: 2
    Last Post: 08-23-2014, 02:26 AM
  2. Time difference based on day of operation and time of operation
    By Guest79 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-18-2013, 04:28 AM
  3. Replies: 0
    Last Post: 10-11-2012, 11:30 AM
  4. Operation order - bug or me?
    By andyHefei in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2011, 11:42 PM
  5. EXCEL - PASTE SPECIAL COULD HAVE AN OPERATION TO REVERSE ORDER
    By sk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2006, 05:10 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