+ Reply to Thread
Results 1 to 3 of 3

Kind of Sumif but with 2 criteria

  1. #1
    Registered User
    Join Date
    07-11-2005
    Posts
    40

    Kind of Sumif but with 2 criteria

    I need a kind of sumif but with two criteria.

    For Example (see attach):
    In cell B13 returnes sum of ITEM where criteria is “John” (NAME) and XPTO Nonblank

    Total John = 2 (A2+A6+A10 the A5 was excluded because C5 is blank)

    How can this be done with formulas


    Thanks
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    try sumproduct

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

  3. #3
    Registered User
    Join Date
    07-11-2005
    Posts
    40

    thanks

    Quote Originally Posted by davesexcel
    It works
    =SUMPRODUCT(--($B$2:$B$10="John"),--(NOT(ISBLANK($C$2:$C$10))),$A$2:$A$10)

    Thanks

    Note: The example attach, that i give, as a mistake total john is 1 not 2

+ 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