+ Reply to Thread
Results 1 to 5 of 5

multiple criteria summing problems

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    27

    multiple criteria summing problems

    I posted something similar to this yesterday and got that handled (thanks, newdoverman!) but today have a new spreadsheet and now I can't get it to work.

    On the JE tab, cell G6, I tried just a sumifs. Didn't work.
    Cell F7, tried an array using the info from yesterday's solve. Didn't work......

    Now I'm frustrated.

    I'm trying to add all columns in the data tab that meet the criteria in the JE tab in columns A and L-O. So for example, cell f7 should add up all columns that have a "1" in row 1 of the data tab AND have a "600" in column A of the data tab. I calculated that this should be $17,073.48 but I'm getting $423,431.53 which Test Payroll file v2.xlsxis the total of ALL cost centers with code =1.

    Help!
    Peg

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

    Re: multiple criteria summing problems

    Try in G6:

    =SUMPRODUCT(data*(codes=A6))

    and in F7:

    =SUMPRODUCT((pr_cc=L7)*(codes=A7),data)
    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
    Registered User
    Join Date
    05-14-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: multiple criteria summing problems

    This works beautifully, NBVC. I have a question though. I didn't try to use SUMPRODUCT because I don't quite understand the logic. it seems to look for anything in the "data" that has the code equal to A6 then it multiplies those and finally adds them together. I don't get the multiplying bit. In my mind, I just want to add things up.......

    Can you explain that to me?

    Thanks,
    Peg

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: multiple criteria summing problems

    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    05-14-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: multiple criteria summing problems

    Thanks a bunch!

+ 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. Summing with Multiple Criteria over 3 Worksheets
    By Kooksmagooks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 02:25 PM
  2. Summing Between Two Dates for multiple criteria
    By Jbrous in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-01-2012, 06:22 PM
  3. Replies: 6
    Last Post: 06-08-2011, 09:49 PM
  4. Need Help: Summing Multiple Criteria
    By japorms in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-28-2006, 03:41 PM
  5. Summing with multiple criteria
    By qflyer in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 09-06-2005, 10:05 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