+ Reply to Thread
Results 1 to 10 of 10

[SOLVED] Sumif with Sum_range of only positive amounts

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    32

    Talking [SOLVED] Sumif with Sum_range of only positive amounts

    On the attached chart, I need the "Total MRR (+) cell to sum only the positive amounts in column L/M AND only if the text in column N/O contains the text "MRR" and any number next to MRR.

    I can then copy this formula for the other totals I need.

    I thought I had it using the Sumif, but that only gave me the total of both positive and negative amounts. I need to separate the amounts into negative and positive and then combine to get the net total.

    THANKS!
    Attached Files Attached Files
    Last edited by nesbensen; 09-04-2014 at 01:44 PM. Reason: SOLVED

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Sumif with Sum_range of only positive amounts

    Your attached sheet contains only headers but no data. Please provide a sample workbook with enough sample data in it. Make sure your desired results are shown, mock them up manually if necessary.
    Remember to desensitize the data.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Sumif with Sum_range of only positive amounts

    I don't do merged cells, but something like

    =sumifs(sumRange, sumRange, ">0", critRange, "MRR*")
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    10-09-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Sumif with Sum_range of only positive amounts

    Ok..I've added some data. Thanks...

  5. #5
    Registered User
    Join Date
    10-09-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Sumif with Sum_range of only positive amounts

    Quote Originally Posted by shg View Post
    I don't do merged cells, but something like

    =sumifs(sumRange, sumRange, ">0", critRange, "MRR*")
    My Excel is showing it as (Range, criteria, sum range)...and when I add >0 to the sum range, the error is "too many arguments for this function".

    I appreciate the help though!

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Sumif with Sum_range of only positive amounts

    My Excel is showing it as (Range, criteria, sum range)
    That's SUMIF syntax, not SUMIFS.
    Last edited by shg; 09-04-2014 at 01:30 PM.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Sumif with Sum_range of only positive amounts

    This works:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    10-09-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Sumif with Sum_range of only positive amounts

    Holy $@#*!!! That worked!

    Adding the S to SUMIFS makes all the difference. What exactly does the S do?

    THANKS for your help...and everyone's help! This forum never ceases to amaze me!

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: [SOLVED] Sumif with Sum_range of only positive amounts

    SUMIF and SUMIFS are two different functions.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: [SOLVED] Sumif with Sum_range of only positive amounts

    SUMIF and SUMIFS are two different functions.

    SUMIF has the syntax (CRITERIARANGE,CRITERIA,[optional SUMRANGE])

    SUMIFS has the syntax (SUMRANGE,CRITERIARANGE1,CRITERIA1,CRITERIARANGE2,CRITERIA2) etc.....until you have entered all the criteria.

+ 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: Need formula to use month to determine sum_range
    By bbrunof in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-29-2014, 11:46 AM
  2. Replies: 2
    Last Post: 05-01-2013, 11:53 AM
  3. Using results of formula as Sum_Range in a SUMIF
    By sforney123 in forum Excel General
    Replies: 2
    Last Post: 07-14-2011, 11:35 AM
  4. SUMIF where sum_range consists of text strings?
    By arnee84 in forum Excel General
    Replies: 4
    Last Post: 07-14-2011, 07:09 AM
  5. SUMIF [sum_range] question
    By excellrookie in forum Excel General
    Replies: 3
    Last Post: 03-28-2011, 03:13 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