+ Reply to Thread
Results 1 to 3 of 3

Find the Max and return value from other column

  1. #1
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Find the Max and return value from other column

    I am drawing a complete blank here. I need to look down column A, find a name, look in column C, find the max, and then return the value in column B.

    I have so many formulas running through my mind, but just not sure who to combine them.

    I can find the max

    CSE
    =MAX(IF(Sheet1!$A$2:$A$19=F2,Sheet1!$C$2:$C$19))

    But when I combined it with the index and match it returns the wrong values because a number could be repeated so the reference returned is not neccesarily for the appropriate name.

    Any thoughts?
    Attached Files Attached Files
    Last edited by jeffreybrown; 02-20-2011 at 05:57 PM.
    HTH
    Regards, Jeff

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find the Max and return value from other column

    Jeff, you could use an Array

    Please Login or Register  to view this content.
    You could also achieve the same using a variety of INDEXes etc and/or an OFFSET:

    Please Login or Register  to view this content.
    but the Array is perhaps simplest (and more robust)

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Find the Max and return value from other column

    Thanks Luke. Works great

+ 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