Results 1 to 6 of 6
  1. #1
    Star Lounger
    Join Date
    Feb 2003
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    MAX Function (2000)

    I have a column of dates (A) and a column of amounts (G). Using the MAX function on the date column, I would like to be able to return the corresponding amount from the same row in column G.

    For example: 3/31/05 is the MAX value in column A at Row 48 and $490.27 is the value in G48. I would like to return $490.27, which I'll then use in a validation calculation.

    Thanks for any help provided!

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: MAX Function (2000)

    =INDEX(G:G,MATCH(MAX(A:A),A:A,0))

    Steve

  3. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: MAX Function (2000)

    One method, combining the MAX and VLOOKUP functions, assuming your data is in cells A1:G100

    <code>=VLOOKUP(MAX(A1:A100),A1:G100,7,FALSE)</code>

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: MAX Function (2000)

    You can use this formula:

    =VLOOKUP(MAX(A1:A1000),A1:G1000,7,FALSE)

    (change the 1000 as needed).

    Note 1: if the maximum is reached in two or more cells in column A, the formula will find only the first one.
    Note 2: the result may look like a date, this is an artefact. If this happens, just format the result as currency.

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MAX Function (2000)

    Does this formula do what you want?

    <pre>=INDEX(G:G,MATCH(MAX(A:A),A:A,0))
    </pre>

    Legare Coleman

  6. #6
    Star Lounger
    Join Date
    Feb 2003
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MAX Function (2000)

    They all work! Thanks everybody!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •