+ Reply to Thread
Results 1 to 5 of 5

Return Highest Value by Name

  1. #1
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Return Highest Value by Name

    Hi,
    How do i show the team name from coloumn 1 with the highest value from column 2 so that it reads in E24.I have tried vlookup with max but get #N/A

    thanks in advance
    Attached Files Attached Files
    Last edited by dodger999; 03-04-2011 at 08:56 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Return Highest Value by Name

    Try this: =INDEX(B3:B23,MATCH(MAX(E3:E23),E3:E23,0))

    I'd ditch the merged cells as well. They'll only cause you problems.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Re: Return Highest Value by Name

    I thought the merged cells were part of the problem but im unable to ditch them due to a whole heap of data and boxes above the league table is there a way around it.

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Return Highest Value by Name

    Merged cells can be a problem when selecting cells to include in a formula and are even more of a pain if you get to using VBA.

    The way round it would be to lay your workbook out differently. Keep your data on one sheet and your summary tables etc on different ones.

    If you want to achieve the same effect as merging cells use center across selection instead.

    Dom

  5. #5
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Re: Return Highest Value by Name

    Ok thanks for the advice

+ 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