+ Reply to Thread
Results 1 to 10 of 10

How-to automatically select and chart the highest 10 totals?

  1. #1
    Registered User
    Join Date
    10-11-2005
    Posts
    13

    How-to automatically select and chart the highest 10 totals?

    I have a list of totals, around 25. I only want to chart a selection of these totals- only the top 10.

    I'm creating this spreadsheet for a group of non-techie school counsellors. Can this whole process of sorting be automated? I know how to make the chart, I'm just stuck on where do i get the top ten list.


    Thank you so much for reading! Mutual help fourms and communities are awesome!!!

    keith

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    try this formula:

    =LARGE($A$1:$A$25,1) will return the largest value in your range
    =LARGE($A$1:$A$25,2) will return the second largest value in your range and so on up to
    =LARGE($A$1:$A$25,10) for the tenth largest value.

    NOTE: ties will be repeated as many times as they appear. e.g.
    1,2,3,3 will show 3 as largest AND second largest, 2 will be third largest.

    Plot the results of the formulas.

    Good Luck
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    10-11-2005
    Posts
    13

    Thanks to you

    Brillant! Thanks for your help. A very good day to you!

    keith

  4. #4
    bj
    Guest

    RE: How-to automatically select and chart the highest 10 totals?

    set of a set of cells with
    =large(range,1)
    to
    =large(range,10)
    this will give you the top ten in order

    "hopeace" wrote:

    >
    > I have a list of totals, around 25. I only want to chart a selection of
    > these totals- only the top 10.
    >
    > I'm creating this spreadsheet for a group of non-techie school
    > counsellors. Can this whole process of sorting be automated? I know how
    > to make the chart, I'm just stuck on where do i get the top ten list.
    >
    >
    > Thank you so much for reading! Mutual help fourms and communities are
    > awesome!!!
    >
    > keith
    >
    >
    > --
    > hopeace
    > ------------------------------------------------------------------------
    > hopeace's Profile: http://www.excelforum.com/member.php...o&userid=28009
    > View this thread: http://www.excelforum.com/showthread...hreadid=475930
    >
    >


  5. #5
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    I'm glad it worked for you. Thanks for the feedback, it is always appreciated.

    Cheers!

  6. #6
    Registered User
    Join Date
    10-11-2005
    Posts
    13

    New Issue with top ten highest totals

    Creating the formula for the top ten worked great! New issue:

    How do I chose the aligned category or title of each of the chosen top ten, so that I can include it in the chart I will make?

    =LARGE($A$23:$A$57,1) through to =LARGE($A$23:$A$57,10) is what i used.

    The titles are in C23:C57

    Thanks!!!

    keith

  7. #7
    ScottO
    Guest

    Re: How-to automatically select and chart the highest 10 totals?

    Another approach you could use, which I think would also solve your
    new question, is to create your chart as normal, but then apply an
    AutoFilter to your data and use the filter option Top Ten.
    If you want the data sorted, you could do that too.
    hth
    ScottO

    "hopeace" <[email protected]>
    wrote in message
    news:[email protected]...
    |
    | Creating the formula for the top ten worked great! New issue:
    |
    | How do I chose the aligned category or title of each of the chosen
    top
    | ten, so that I can include it in the chart I will make?
    |
    | =LARGE($A$23:$A$57,1) through to =LARGE($A$23:$A$57,10) is what i
    | used.
    |
    | The titles are in C23:C57
    |
    | Thanks!!!
    |
    | keith
    |
    |
    | --
    | hopeace
    | -------------------------------------------------------------------
    -----
    | hopeace's Profile:
    http://www.excelforum.com/member.php...o&userid=28009
    | View this thread:
    http://www.excelforum.com/showthread...hreadid=475930
    |



  8. #8
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    You may also want to try a VLOOKUP. In the column next to your LARGE formulas (I'll assume these are in D1:D10), enter this:

    E1 =VLOOKUP(D1,$A$23:$C$57,3,0) and copy this down through E10.

    Set this as the range (E1:E10) for your chart titles.

    Good Luck.

  9. #9
    Registered User
    Join Date
    10-11-2005
    Posts
    13

    Getting closer...

    Well, I tried swatspOp's suggestion (thanks by the way!) and what happened is where the numbers came back in the D1:D10 (large formula) column as the same number, then the VLOOKUP just repeated the same title over and over.

    Example:

    7....1...low income/unemployed
    4....2....depression
    2....3....family death
    2....4....family death
    2....5....family death
    2....6....family death
    1....7....separation/divorce
    1....8....separation/divorce
    1....9....separation/divorce
    1....10....separation/divorce

    The first column is the sort of LARGE formula: =LARGE($A$23:$A$57,1).
    The second column is just tex to see the visual arangement of top ten issues.
    The third column is the formula: =VLOOKUP(A115,$A$23:$C$57,3,0).

    This may be solvable, but I'm going to try scottO's suggestion as well,

    I'll be back...

  10. #10
    Registered User
    Join Date
    10-11-2005
    Posts
    13

    Didn't work, but will modify chart to fit data.

    Well, I cant get it to work. The Top ten function comes back with the top ten numerals, by range. In other words it chooses the top numbers: such as 7,4,2,1 and lists all of those numbers (19 of them) Rather than choose only 10.

    However, I've decided to stick with this, and rename the chart, as I essentially wanted to remove any issue that had '0' students attached to it.

    Thanks for everyone's help!

    keith

+ 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