+ Reply to Thread
Results 1 to 5 of 5

SUMIF positive number only

  1. #1
    Registered User
    Join Date
    06-24-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    18

    SUMIF positive number only

    Hi, I try use SUMIF formula to calculation our company total salary , example as below,
    Untitled.png

    In Comm side, I using IF(MAX(MIN)) formula to calculate all comm, if agent not reach the target , the column will show me negative number because of i set all formula already.

    For negative number , i have use custom format to reset the display, format is #,##0;"0" , but it is only change the display , no change the cell value. In the end , when i sum all comm, will get the negative number too. I try use SUMIF to sum all positive number but SUMIF only can sum in a range .

    So the question is how i can SUM all positive number in different column?

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: SUMIF positive number only

    rather than image

    sumifs()
    range , criteria >0

    Please upload a small clean sample of your data / workbook (not a picture) to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    We would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "Choose File" (top Left corner).
    Find your file, click "Open" click "upload" click 'close windows" Top Right. click "Submit Reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    06-24-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    18

    Re: SUMIF positive number only

    In the attach file will find the negative number in Sale tier and Comm 7/3 8/2 because of I set all formula already
    I using custom format #,##0;"0" to change negative number to 0 ,
    But it is only change the display and the value still is negative number.
    I has try using SUMIF formula to sum all comm , but it only work in a range.


    What can i do if i only want SUM 5/5,6/4,7/3,8/2,9/1 in D22 , E22 and F22 ?
    Attached Files Attached Files

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: SUMIF positive number only

    in cell E22
    =E11+E13+E15+E17+E19

    can you say cells that do not have "sale tier" in
    and greater than zero
    =SUMIFS(E10:E19,C10:C19,"<>"&"sale tier",E10:E19,">0")
    but i get 3900
    which looks right
    if you ignore the negative values

    see column H
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-24-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    18

    Re: SUMIF positive number only

    Thanks bro, it is helpful !!!

+ 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] Need help incorporating SUMIF to only calculate positive numbers in the attached sheet
    By spittingfire in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2014, 12:39 PM
  2. [SOLVED] Sumif with Sum_range of only positive amounts
    By nesbensen in forum Excel General
    Replies: 9
    Last Post: 09-04-2014, 01:53 PM
  3. [SOLVED] SUMIF positive and negative numbers - take double a negative number?
    By Zordrail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:34 AM
  4. [SOLVED] SUMIF formula returning negative value & I need it to be positive
    By dosbirn in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-11-2013, 05:10 PM
  5. Replies: 10
    Last Post: 03-10-2010, 04:23 PM
  6. [SOLVED] Sumif using dates and positive negative values
    By Eqa in forum Excel General
    Replies: 1
    Last Post: 11-09-2005, 05:15 AM
  7. SUMIF positive values only from database
    By gmac in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 09-06-2005, 12: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