+ Reply to Thread
Results 1 to 6 of 6

Sum ifs with multiple sum criteria

  1. #1
    Registered User
    Join Date
    07-22-2015
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    8

    Sum ifs with multiple sum criteria

    Hi,

    My objective is to use a sumifs formula (if possible) to calculate the sum of an item with multiple criteria and multiple sum ranges, but I don't think this is possible. I have googled it and many forums said use sumproduct, but the descriptions and the way it was done was confusing. What is the best way to get the result I am after

    Thank you
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Sum ifs with multiple sum criteria

    This looks like a simple VLOOKUP problem so maybe your data is more complex that it looks. Do equipment pieces appear more than once in Worksheet 1?
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-22-2015
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Sum ifs with multiple sum criteria

    Can you please provide the solution to having the equipment come up just once using a vlookup (note I have not done a vlookup with multiple criteria in the past). In addition can you please provide the solution to pieces of equipment coming up more than once. The reason I ask for both is because I don't exactly know what the exact requirement will be from my boss at work

    Thank you

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Sum ifs with multiple sum criteria

    Here's a SUMIF solution but I still think what's in your head may be more complex than your example, because this is so straightforward. Each sum figure is based on a specific column of data so I don't see why you would need to use multiple criteria.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-22-2015
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Sum ifs with multiple sum criteria

    The issue is that on the spreadsheet I am working with has a data validation list in Cell I5. So i have an option of picking "Daily or Monthly.
    Last edited by Vic.J; 08-05-2015 at 02:46 PM.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Sum ifs with multiple sum criteria

    That helps. It's always important to explain the whole problem.

    This solution is somewhat more general that absolutely necessary. It could be done a little more simply with an IF to test for Monthly or Daily. But in this case I made it more general so it can be easily adapted to use more columns, different header labels, etc. It calculates a sum, in case a piece of equipment appears more than once.

+ 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: 9
    Last Post: 07-23-2015, 01:21 PM
  2. Replies: 2
    Last Post: 05-26-2015, 07:29 PM
  3. [SOLVED] countifs statement with multiple criteria for multiple criteria ranges
    By mcdermott2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-07-2015, 11:48 AM
  4. [SOLVED] UDF for sum of multiple criteria in multiple columns and single criteria in multiple colum
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 11-22-2013, 04:26 AM
  5. Count statement wtih multiple criteria only showing results for one criteria
    By uhlabomber in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2013, 02:47 PM
  6. [SOLVED] create drop down box to select multiple criteria and link macro to each criteria
    By anand_erin in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-03-2012, 06:35 PM
  7. Replies: 2
    Last Post: 10-05-2011, 12:43 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