+ Reply to Thread
Results 1 to 4 of 4

Sumif with 2 criteria

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Sumif with 2 criteria

    hello all,

    i have over 100 set data and looking some sum formula with 2 criteria :

    a-------6-------x1
    b-------3-------x2
    b-------2-------x2
    b-------7-------x2
    a-------6-------x1
    c-------9-------x3
    a-------10-------x1
    c-------4-------x3
    d-------7-------x4
    etc....

    how to sum data number not include/ignore x1 and x3

    thanks!!

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Sumif with 2 criteria

    You may use:
    =SUMIFS(B1:B9,C1:C9,"<>x1",C1:C9,"<>x3")
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    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 with 2 criteria

    Another approach..

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    =SUM(SUMIF(CriteriaRange,{"*","X1","X3"},SumRange)*{1,-1,-1})
    Regards!
    =DEC2HEX(3563)

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

  4. #4
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sumif with 2 criteria

    Hi guys...it's helpful for me..

    many 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. SUMIF or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  2. SumIf using date criteria range and one other criteria
    By DJTMONEY in forum Excel General
    Replies: 1
    Last Post: 04-20-2010, 04:10 PM
  3. 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
  4. [SOLVED] SUMIF with more than one criteria
    By EJ in forum Excel General
    Replies: 2
    Last Post: 07-19-2006, 09:19 AM
  5. nested sumif or sumif with two criteria
    By dshigley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-04-2005, 11:06 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