1. ## 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. ## Re: MAX Function (2000)

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

Steve

3. ## 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. ## 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. ## Re: MAX Function (2000)

Does this formula do what you want?

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

6. ## 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
•