+ Reply to Thread
Results 1 to 6 of 6

Totalling up values that meet two criteria

  1. #1
    Forum Contributor
    Join Date
    05-29-2009
    Location
    sheffield
    MS-Off Ver
    Office 365
    Posts
    215

    Totalling up values that meet two criteria

    Ive attached the relevant spreadsheet for reference.

    I have 17 different "sites" and 3 different "goods" and i want to total up the "total cages" that meet the "site" and "goods" criteria for each different possibility. i.e site1 & goods1, site1 & goods2, site1 and goods3, site2 and goods1, site2 and goods 2 etc etc

    I know i can use a DSUM to total up using 1 criteria but is there a formula for using 2 criteria?

    Hope i make myself clear.

    Thanks
    Attached Files Attached Files

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

    Re: Totalling up values that meet two criteria

    Given you're using XL2007 you can make use of the native SUMIFS function, ie:

    Total: =SUMIFS($I$6:$I$21,$B$6:$B$21,"SiteName",$H$6:$H$21,"GoodsName")

    (or use a PivotTable...)

  3. #3
    Forum Contributor
    Join Date
    05-29-2009
    Location
    sheffield
    MS-Off Ver
    Office 365
    Posts
    215

    Re: Totalling up values that meet two criteria

    works a treat.

    excellent thanks.

  4. #4
    Forum Contributor
    Join Date
    05-29-2009
    Location
    sheffield
    MS-Off Ver
    Office 365
    Posts
    215

    Re: Totalling up values that meet two criteria

    @stormseed.

    the spreadsheet is to do with municipal collections so ive just shortened it to "MUNI". once the sheet is complete and in use it will have a different filename.

+ 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