+ Reply to Thread
Results 1 to 6 of 6

Find highest value out of multiple values

Hybrid View

  1. #1
    Registered User
    Join Date
    02-26-2008
    Posts
    18

    Find highest value out of multiple values

    I have 2 columns, A (has the names of employees) and B (has the month in which the employee has a project scheduled). What I’m looking to do is find the latest month an employee has a project scheduled. Note: Employees can have a multiple number of projects so they may be listed multiple times with corresponding months.

    I have each employee listed in column F and am looking to find their latest project month in column G. (I have the number that the formula should return in column H).

    Thanks!
    Attached Files Attached Files
    Last edited by Jen5309; 05-12-2009 at 03:30 PM. Reason: Marked as solved

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

    Re: Find highest value out of multiple values

    If you want to use formulae

    G2: =MAX(IF($A$2:$A$100=$F2,$B$2:$B$100))
    committed with CTRL + SHIFT + ENTER
    copy down

    Note: your expected result for Evan is incorrect, should be 11.

    You c(sh)ould think of using a PT with Name as Row Field and Month as Data Field set to MAX.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Find highest value out of multiple values

    This is an ARRAY formula, so enter into G2 and press CTRL-SHIFT-ENTER to confirm it. Braces { } will appear around the formula and the first answer will appear.

    Then you can copy that cell down the column for the other names.

    =LARGE(IF($A$1:$A$60=F2,$B$1:$B$60,""),1)

    EDIT: MAX...yeah, that's even a little simpler. Good one.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    02-26-2008
    Posts
    18

    Re: Find highest value out of multiple values

    The MAX formula worked great! Thanks!!!

  5. #5
    Registered User
    Join Date
    10-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    Extarcting the top 5 values from a data set

    Hi,

    I am currently trying to extract information on a country by country basis and find out mortality rates of a country (data set has 97 diff countries and multiple records differing for each disease).

    I want a formula to look at a specific country and grasp out the top 5 values so that I have the top 5 values of mortality rates for each country.

    If you could help me on gathering a formula that would be great.

    JH

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Find highest value out of multiple values

    Hi JazH. As per forum rules, start a new thread of your own to garner the most possible attention to it. Also, be sure to attach a workbook showing the data and the manually mocked up "results" you'd like so we can see the goal line clearly.

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook.

+ 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