+ Reply to Thread
Results 1 to 5 of 5

Sumif formula needs to split 2 criterias of addition

  1. #1
    Forum Contributor
    Join Date
    12-30-2008
    Location
    Woking, England
    MS-Off Ver
    Excel 2007
    Posts
    197

    Sumif formula needs to split 2 criterias of addition

    Hi there,

    you guys very kindly helped me with a spreadsheet a couple of months ago, but i now need to adapt it for another dept. I have completed as much as I can.

    I need column C and E in the 'totals tab' to only calculate contract and upgrade sales respectively (found in 'service orders' tab). I also need Scott's and ash's individual sales to be calculated in corrisponding tabs.

    Most of the formulas are in place so just need them tweaked slightley.

    Thanks

    Sam
    Attached Files Attached Files
    Last edited by 3smees23; 08-07-2009 at 03:46 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sumif formula needs to split 2 criterias of addition

    See attached...
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sumif formula needs to split 2 criterias of addition

    Sam, re: Scott/Ash why not refer to your earlier post today where you were given Sumproduct's that do what you need - you're presently referencing incorrect columns and including the header row which is why you're generating errors in the first instance. No one minds helping (why we're here) but it's always good to see people trying to put into practice things discussed previously.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sumif formula needs to split 2 criterias of addition

    in c8
    =SUMPRODUCT(--('Service Orders'!$B$2:$B$927=B8),--('Service Orders'!$I$2:$I$927="contract"),'Service Orders'!$F$2:$F$927)
    in
    e8
    =SUMPRODUCT(--('Service Orders'!$B$2:$B$927=B8),--('Service Orders'!$I$2:$I$927="upgrade"),'Service Orders'!$F$2:$F$927)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Contributor
    Join Date
    12-30-2008
    Location
    Woking, England
    MS-Off Ver
    Excel 2007
    Posts
    197

    Re: Sumif formula needs to split 2 criterias of addition

    Thanks for all your help.

    Point taken DonkeyOte.

    Sam

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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