+ Reply to Thread
Results 1 to 8 of 8

sumif multiple criteria on different sheet

  1. #1
    Registered User
    Join Date
    09-07-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    sumif multiple criteria on different sheet

    Hi,

    I hope someone out there is able to help me with this problem. I have been trying for hours with no avail.

    On the TOTALS sheet I need to sum up the values matching up with two criteria items CODE1 and CODE2 for which the values to these are in the RAW DATA tab.

    I have tried SUMIF and SUMPRODUCT, but I cant seem to get it to work.

    Thanks to anyone who can help me.
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: sumif multiple criteria on different sheet

    Hi,

    In C6 and copy across and down:

    =SUMIFS('RAW DATA'!$C:$C,'RAW DATA'!$A:$A,TOTALS!C$5,'RAW DATA'!$B:$B,TOTALS!$A6)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: sumif multiple criteria on different sheet

    Or with an pivot table.

    See the attached file.

    The layout could be differant, but it goes for the idea.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: sumif multiple criteria on different sheet

    You can also use this:

    =SUMPRODUCT(--('RAW DATA'!$B$2:$B$6043=$A6)*(--('RAW DATA'!$A$2:$A$6043=C$5)*('RAW DATA'!$C$2:$C$6043)))

    Drag it to the right and down
    Last edited by AlKey; 09-07-2013 at 01:36 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    09-07-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: sumif multiple criteria on different sheet

    Thank you very much guys, I used the SUMPRODUCT solution which worked perfectly and the pivot table was very useful as there were some codes I had not piked up and so I was able to do a cross check.

    Thanks again guys

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: sumif multiple criteria on different sheet

    Thanks for the reply.

    Glad I could help.

  7. #7
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: sumif multiple criteria on different sheet

    If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  8. #8
    Registered User
    Join Date
    09-07-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: sumif multiple criteria on different sheet

    Hi, how do i mark it as "Solved".

    Thanks

    Ignore that.....i found it. 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: 01-23-2013, 06:25 AM
  2. SUMIF for multiple column/sheet criteria
    By preddy1110 in forum Excel General
    Replies: 1
    Last Post: 04-13-2012, 11:45 AM
  3. Sumproduct/sumif/indirect across multiple workbooks, worksheets, multiple criteria
    By robgardner15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2011, 02:35 AM
  4. SUMIF with multiple criteria, one criteria a specific string
    By Weasel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2008, 05:32 PM
  5. [SOLVED] SUMIF with multiple criteria for multiple columns to sum a single
    By SavageMind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2005, 11:05 AM

Tags for this Thread

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