+ Reply to Thread
Results 1 to 7 of 7

Sumif+Large Functions Wont Work Together

  1. #1
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    Sumif+Large Functions Wont Work Together

    Hi there,

    I have a formula that should work perfectly, and I can't seem to figure out why it wont.

    Goal: To sum the largest ranked cells in an array. However, I'm summing cells based on a criteria (the rank) in other cells. And I only want to sum the cells if all the ranks in the corresponding row >= to 45.

    Formula: =IF(SUM($B4:$L4)>=45,SUMIF($B4:$L4,LARGE($B4:$L4,{1,2,3}),$Z4:$AJ4))

    As you can see in the attached workbook, if the sum of the ranks >=45, then excel is only taking the FIRST cell in the array I want summed.

    Can anyone see what the issue is?
    Attached Files Attached Files

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Sumif+Large Functions Wont Work Together

    I think.. Simple SUM will work in this case..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Sumif+Large Functions Wont Work Together

    That would take the sum of the ranges, not the sum of the adjusted log changes

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Sumif+Large Functions Wont Work Together

    OOPS.. you are summing different range.

    Ok try this..

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

  5. #5
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Sumif+Large Functions Wont Work Together

    Thank you so much. Any idea why that worked and the other one didn't?

  6. #6
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Sumif+Large Functions Wont Work Together

    Hi Mkeys4!

    SumIF always gives a single output, Not multiple Output.. in same cell

    In you case you are receiving Multiple Output, but, using them in single cell.. Select Three cells, and then use your formula, with CSE, you can see multiple Output..

    Outer SUM is just helping to SUM multiple output..

    Happy to help.. and hope its clear now..

  7. #7
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Sumif+Large Functions Wont Work Together

    Got it. Thanks a lot for your help!!

+ 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. Multiple Functions in one cells value =SUMIF and =LARGE
    By achilzes in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-16-2013, 10:54 PM
  2. COUNTIF SUMIF functions don't appear to work
    By spacecube in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2011, 12:41 PM
  3. [SOLVED] Why wont it work?
    By Bobby in forum Excel General
    Replies: 6
    Last Post: 12-01-2005, 08:55 PM
  4. Anyone know why this wont work?
    By Mark Stephens in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2005, 02:05 AM
  5. Why wont this code work?
    By Mark Stephens in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2005, 02:06 PM

Tags for this Thread

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