+ Reply to Thread
Results 1 to 9 of 9

sum only the positive numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    09-30-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    2

    sum only the positive numbers

    hi,

    i have a serie of numbers on a row.
    and on the last cell i would like to have a sum of all the POSITIVE numbers on that row.

    is there a big complex formula to do this?

    thx!
    Last edited by Bjeenie; 09-30-2009 at 03:25 PM.

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

    Re: excel formula

    Please rename your thread according to the rules
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    re: sum only the positive numbers

    Hi Bjeenie,

    Considering that you have values from A1 to A10, the formula to get the sum of all the positive values in that range would be:

    =SUMIF(A1:A10,">0",A1:A10)
    You can modify the range as per your requirement.

    Regards,
    Karan

  4. #4
    Registered User
    Join Date
    09-30-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    2

    re: sum only the positive numbers

    thanks for the fast reply!!
    it works!

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: sum only the positive numbers

    Quote Originally Posted by karan View Post
    =SUMIF(A1:A10,">0",A1:A10)
    Karan, no need to repeat the A1:A10

    =SUMIF(A1:A10,">0")

    will work just fine.

  6. #6
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: sum only the positive numbers

    Thanks a lot DonkeyOte

  7. #7
    Registered User
    Join Date
    02-06-2012
    Location
    San Luis Obispo, California
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: sum only the positive numbers

    Quick and simple. Thank you very much!

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: sum only the positive numbers

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    In future make sure that you follow the rules, especially when a member reminds you to do so. I have edited the title this time, next time you may well find your question locked!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: sum only the positive numbers

    Also, make thread [solved] when you get solution.

+ 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