+ Reply to Thread
Results 1 to 3 of 3

Sum(large)

  1. #1
    Registered User
    Join Date
    10-08-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Sum(large)

    Hi there, I'm doing a project to test the 80/20 rule - whether it is true that 80% of revenues come from top 20% (by sale) of the clients each year. I'm using the formula below that I got from an excel help website:

    =SUM(LARGE(F$2:F$313,ROW(INDIRECT("1:10"))))

    F2:F313 is the array of values I'm picking from. LARGE(xxx1:10) tells excel to sum the largest 10 values in the array. (the number 10 in this case came from taking 20% of a total of 50 clients)

    Does anybody know how to manipulate this such that INDIRECT("1:10") becomes INDIRECT("1:n") where n can be referenced to another cell?

    Reason I'm doing this is because the top 20% of clients is not necessarily 10. Every year there are different numbers of clients and top 20% varies by year, by region etc. (e.g. in a year with 100 clients, 20% would be 20 clients, not 10)

    It would simplify my life greatly if I didn't have to change that value for every year I'm testing.

    Thank you!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Some help with =SUM(LARGE) function

    Try:

    =SUM(LARGE(F$2:F$313,ROW(INDIRECT("1:"&X1))))

    where X1 contain n
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-08-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Sum(large)

    Thank you very much! That works.

+ 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