+ Reply to Thread
Results 1 to 6 of 6

Can I add 2 Sumifs?

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Can I add 2 Sumifs?

    Hi-

    Can I add 2 sumifs, because it isn't picking up the part after the plus sign.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Can I add 2 Sumifs?

    It is correct syntax. May you provide example of what is incorrect?
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Can I add 2 Sumifs?

    Quote Originally Posted by cartica View Post

    =(SUMIFS($X$17:$X$46,$B$17:$B$46,$AF5)+SUMIFS($AG$21:$AG$26,$AF$21:$AF$26,$AF5))/1000000
    There's nothing wrong with the formula although you could just use SUMIF.

    If the 2nd SUMIFS is returning 0 but you think it should return something else then there may be a data problem.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Can I add 2 Sumifs?

    Thanks, I see why it wasn't returning a value, i was taking a number already being divided by 1M, and then this divided it again.

    Is there a way to change the second half of my formula to include that I want to add the sumif if $ag$21:$ag$26 is less than 0, but subtract if greater than 0?

    Thank you

  5. #5
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Can I add 2 Sumifs?

    Just take the absolute value of the SUMIFS and then subtract it.

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Can I add 2 Sumifs?

    That works thanks everyone.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Can I add 2 Sumifs?

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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] Looking for something simpler than SUMIFS - SUMIFS
    By YAbdelaal in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-27-2014, 10:38 AM
  2. SUMIFS Puzzle - Trying to avoid adding multiple SUMIFS to get valid result
    By haldavid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 03:42 PM
  3. Need help using sumifs
    By excelhelpforlizzy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-19-2012, 06:06 AM
  4. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  5. Help with Sum(if or SUMIFS
    By arangoa79 in forum Excel General
    Replies: 5
    Last Post: 06-24-2010, 01:18 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