+ Reply to Thread
Results 1 to 8 of 8

How to sum IF value more than 0?

  1. #1
    Forum Contributor
    Join Date
    02-02-2008
    Location
    EU
    MS-Off Ver
    MS Excel 2007 Professional version
    Posts
    232

    How to sum IF value more than 0?

    I have seen function SUMIF.

    If I have many rows, how to use SUM if function.

    ONLY SUM of cells if
    1. values are larger than 0
    2. less than 0

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: How to sum IF value more than 0?

    Larger than 0
    =SUMIF(A1:A12,">0")

    Less than 0
    =SUMIF(A1:A12,"<0")
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: How to sum IF value more than 0?

    Hi, Try

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


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97.2 for Mac MS 365
    Posts
    8,708

    Re: How to sum IF value more than 0?

    are you looking for two different sumif formulas, one for greater than 0 and one for less than 0? I mean, summing 0 into an equation will not add anything right? the basic sumif for something like greater than 0 is =sumif(range,criteria (in this case ">0" should work) then sum range)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Contributor
    Join Date
    02-02-2008
    Location
    EU
    MS-Off Ver
    MS Excel 2007 Professional version
    Posts
    232

    Re: How to sum IF value more than 0?

    I have tested like:
    =SUMIF(AG24:AG30;AG32:AG35;AG37:AG41;AG43:AG49;AG51;AG53:AG56,">0")

    It will refuse. Is it technically possible to set SUM of particular set of cells or this should be only AG24:AG30 and other possibility should be avoided?

  6. #6
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: How to sum IF value more than 0?

    1) An what base are you bifurcating the data in column A to different ranges
    2) Upload a sample workbook without any confidential data
    Punnam

  7. #7
    Forum Contributor
    Join Date
    02-02-2008
    Location
    EU
    MS-Off Ver
    MS Excel 2007 Professional version
    Posts
    232

    Re: How to sum IF value more than 0?

    Please check sample.

    I have to calculate + values and - values as SUM function.
    Easy option is to set each cell as IF function but maybe there is solution as SUMIF
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: How to sum IF value more than 0?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in E3
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in F3
    Try this
    Punnam

+ 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