+ Reply to Thread
Results 1 to 6 of 6

Sumif multiple criteria

  1. #1
    Registered User
    Join Date
    06-03-2010
    Location
    hull
    MS-Off Ver
    Excel 2003
    Posts
    18

    Sumif multiple criteria

    Hi

    Does anyone know a sum for the attached, basically I want a sum that will show me

    how many single people like icecream
    how many married people like icecream
    how many couples like icecream

    Any help muchly appreciated ?
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Sumif multiple criteria help please!

    Maybe a PT:
    Attached Files Attached Files

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

    Re: Sumif multiple criteria help please!

    or
    =SUMPRODUCT(--($D$3:$D$10="single"),--($C$3:$C$10="yes"))
    "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

  4. #4
    Registered User
    Join Date
    06-03-2010
    Location
    hull
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Sumif multiple criteria help please!

    Thanks Martin, if I were to pull the infor from another sheet on the workbook say for exapmple the sheet was called 'Q1 10-11' how would I include that in the sum ?
    I tried =SUMPRODUCT(Q1 10-11'--($D$2:$D$100="Single"),--($C$2:$C$100="Yes"))
    but this does not work ?any ideas ?

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Sumif multiple criteria help please!

    You don't need to type in.

    Just select range you want to use.

    So...
    Copy/paste formula
    Delete $D$3:$D$10
    Select range

  6. #6
    Registered User
    Join Date
    06-03-2010
    Location
    hull
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Sumif multiple criteria help please!

    It works!!thanks guys !

+ 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