+ Reply to Thread
Results 1 to 6 of 6

Finding the top two in a multi page workbook

  1. #1
    rmwarde
    Guest

    Finding the top two in a multi page workbook

    How do I find the top two numbers in a multipage workbook and link it to
    another cell. Example

    workbook page 1 workbook page 2
    student1 500 student9 150
    student2 600 student7 1400
    student3 450 student6 300

    I need it to find the top two numbers of the two workbook pages and and list
    the students name.I used the function below, but can't figure out how to use
    multiple classes and still get the name to show not the numbers itself.

    =INDEX('PM Kinder'!A5:A19,MATCH(MAX('PM Kinder'!C5:C19 ),'PM
    Kinder'!C5:C19,0))

    Thanks

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello rmwarde,

    Use this formula to return the student's name. The formula looks for largest value in the range and then returns the student's name in the cell immediately to the left. Change the ranges and worksheet name accordingly.

    =OFFSET('PM Kinder'!A5, MATCH(MAX('PM Kinder'!A5:A19), 'PM Kinder'!A5:A19,0) - 1, -1, 1, 1)

    Sincerely,
    Leith Ross
    Last edited by Leith Ross; 12-10-2005 at 06:56 PM.

  3. #3
    rmwarde
    Guest

    Re: Finding the top two in a multi page workbook

    Okay I changed the ranges, but it comes up with 0

    "Leith Ross" wrote:

    >
    > Hello rmwarde,
    >
    > Use this formula to return the student's name. The formula looks for
    > largest value in the range and then returns the student's name in the
    > cell immediately to the left. Change the ranges and worksheet name
    > accordingly.
    >
    > =OFFSET('PM Kinder'!A5, MATCH(MAX('PM Kinder'!A5:A19), 'PM
    > Kinder'!A5:A19,0) - 1, 1, -1)
    >
    > Sincerely,
    > Leith Ross
    >
    >
    > --
    > Leith Ross
    > ------------------------------------------------------------------------
    > Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
    > View this thread: http://www.excelforum.com/showthread...hreadid=492431
    >
    >


  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello rmwarde,

    You got the post with the typo. I corrected it shortly after it was posted. The formula should be...

    =OFFSET('PM Kinder'!A5, MATCH(MAX('PM Kinder'!A5:A19), 'PM
    Kinder'!A5:A19,0) - 1, -1, 1, 1)

    My apologies,
    Leith Ross

  5. #5
    rmwarde
    Guest

    Re: Finding the top two in a multi page workbook

    Okay, I got that and thankyou! Now how to I use this to have two
    worksheets.. I need to find the max of PM Kinder and Am Kinder. (I don't
    want the max of each class, but the max of the two classes if I combined
    them) Lets say the cell range is the same for both sheets. I found that I
    could do this for two pages without the Index, but when I put the Inder in it
    just errors out. Am I asking the impossible?

    "Leith Ross" wrote:

    >
    > Hello rmwarde,
    >
    > You got the post with the typo. I corrected it shortly after it was
    > posted. The formula should be...
    >
    > =OFFSET('PM Kinder'!A5, MATCH(MAX('PM Kinder'!A5:A19), 'PM
    > Kinder'!A5:A19,0) - 1, -1, 1, 1)
    >
    > My apologies,
    > Leith Ross
    >
    >
    > --
    > Leith Ross
    > ------------------------------------------------------------------------
    > Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
    > View this thread: http://www.excelforum.com/showthread...hreadid=492431
    >
    >


  6. #6
    rmwarde
    Guest

    Re: Finding the top two in a multi page workbook

    Sorry I ment OFFSET, not INDEX

+ 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