+ Reply to Thread
Results 1 to 5 of 5

how to sum highest ranking values meeting criteria within a limit?

  1. #1
    Registered User
    Join Date
    06-02-2005
    Posts
    9

    how to sum highest ranking values meeting criteria within a limit?

    Here is a more detailed explanation. I need a function that will sum the n largest values in an array, where the values are less then x and are not #N/A, meet a criteria in a seperate array, and where the total of the sum is less then or equal to y. How can I do this? Thanks.

    For example, here is my data:

    Please Login or Register  to view this content.
    I want a function that will find the sum of the largest two values that are "g" that add to 8 or less. So the output would look like:

    Please Login or Register  to view this content.
    Last edited by QuantumPion; 06-02-2005 at 05:41 PM.

  2. #2

    Re: how to sum highest ranking values meeting criteria within a limit?

    But, 1+7 = 8 (namely, add to 8 or less) ; and so, does the given combo
    meet the criterion ?

    Regards.


  3. #3

    Re: how to sum highest ranking values meeting criteria within a limit?

    But, 1+7 = 8 (namely, add to 8 or less) ; and so, does the given combo
    meet the criterion ?

    Regards.


  4. #4
    Registered User
    Join Date
    06-02-2005
    Posts
    9
    My problem is trying to make a forumla that adds the highest values that total less then a limit though. What I need is a way to repeat a forumla until a result is achieved, sort of like:

    if(sum(rank(1:32)>1500,if(sum(rank(2:33)>1500,if(sum(rank(3:34)>1500, ... ad nausem.

  5. #5

    Re: how to sum highest ranking values meeting criteria within a limit?

    Instead of deploying Sum(Rank(1:32)) ...... ,

    you may wish to experiment with :
    SUM(LARGE(TargetRange,ROW(INDIRECT(ROW()&":"&ROW()+31)))).

    The reference TargetRange is self-evident.

    Regards.


+ 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