+ Reply to Thread
Results 1 to 5 of 5

League Table Lookup

  1. #1
    Registered User
    Join Date
    06-09-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Post League Table Lookup

    Hi, I have an excel document, its like a league table for a fantasy sports league.

    Each week new scores will be added to the totals for players and we will then at the end of each month pay the winning player.

    However, I've got the sum section sorted, I just don't know how to get a cell to run a function that will search through a list of say 20 peoples names (column a) view their score (changes each month, august - column C, september- column D ...etc...) and then display the persons name who is in the lead in a seperate cell.

    Is this even possible ? If so, could anybody help, any help would be greatly appreciated

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: League Table Lookup

    Assuming your table of scores is in range A1:K21, with names of the months in row 1, and the current month in cell A24:

    =INDEX(A1:K21,MATCH(MAX(INDIRECT(ADDRESS(1,MATCH(A24,1:1,0))&":"&ADDRESS(21,MATCH(A24,1:1,0)))),INDIRECT(ADDRESS(1,MATCH(A24,1:1,0))&":"&ADDRESS(21,MATCH(A24,1:1,0))),0),1)

    Is that what you were after?

  3. #3
    Registered User
    Join Date
    06-09-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: League Table Lookup

    Hi,

    thanks for the reply, I've tried to implement it, but I can't get it to work properly. The cell just loads up #n/a ... and then when I've done it on a second sheet using the cell locations etc... you used, i got #name.

    I've attached the spreadsheet so that you can see what I mean, thanks again for the help.

    sorry if its something really simple that I've not grasped, I've never really been too good with excel. Thanks again for any help at all here :-) It's greatly appreciated
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: League Table Lookup

    Sorry about that, there was a rogue space in the fomula:

    =INDEX(A1:K21,MATCH(MAX(INDIRECT(ADDRESS(1,MATCH(A24,1:1,0))&":"&ADDRESS(21,MATCH(A24,1:1,0)))),INDIRECT(ADDRESS(1,MATCH(A24,1:1,0))&":"&ADDRESS(21,MATCH(A24,1:1,0))),0),1)

    Does that work now?

    EDIT: Ok, this website seems intent on keeping the space, which is really weird. But basically there's a space showing between the I and the R in the second INDIRECT - remove this and it should work?

    EDIT AGAIN: Just looked at the way you have your table set up, and the following would work better:

    =INDIRECT(ADDRESS(MATCH(MAX(M6:M25),M1:M25,0),1))
    Last edited by brokenbiscuits; 06-10-2011 at 08:44 AM.

  5. #5
    Registered User
    Join Date
    06-09-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: League Table Lookup

    Thank you so much, that works fantastically now. Sorry took so long to reply, thanks again for the help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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