+ Reply to Thread
Results 1 to 2 of 2

How to Use SUMIF to only sum with a condition

  1. #1
    Registered User
    Join Date
    02-08-2020
    Location
    Colorado Springs
    MS-Off Ver
    2007
    Posts
    1

    How to Use SUMIF to only sum with a condition

    So I have the formula =SUMIF(AO$8:AO$239,AL256,Y$8:Y$239)
    But I only want to sum if the number is greater than zero.(in the Y col)
    How do I do that?
    Thanks

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: How to Use SUMIF to only sum with a condition

    Is your version correct? Do you have 2007?

    If 2007 =SUMPRODUCT(--($Y$8:$Y$239>0),--($AO$8:$AO$239=AL256),$Y$8:$Y$239)

    If a version greater than 2007 =SUMIFS($Y$8:$Y$239,$Y$8:$Y$239,">0",$AO$8:$AO$239,AL256)
    Last edited by jeffreybrown; 02-08-2020 at 09:48 PM.
    HTH
    Regards, Jeff

+ 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. [SOLVED] sumif with condition
    By VegasL in forum Excel General
    Replies: 5
    Last Post: 08-30-2018, 01:28 AM
  2. SUMIF with condition
    By kisboros in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-27-2013, 03:37 PM
  3. How to next condition to do Sumif
    By pph2113 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2013, 02:16 PM
  4. If and sumif condition formula
    By santanuKD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-18-2011, 03:27 AM
  5. SumIf with more than one condition
    By qwyz in forum Excel General
    Replies: 5
    Last Post: 05-12-2009, 10:02 AM
  6. SUMIF with Condition
    By Isacael in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2009, 07:37 PM
  7. condition: SUMIF
    By jeremy via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-12-2005, 09:05 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