View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Is this function supposed to work?

If that formula is returning the correct result it's just "dumb luck".

It sounds like you want the *last* numeric entry from column A.

Try this:

=LOOKUP(1E100,A:A)

To show you that the other formula doesn't work properly try entering these
numbers in A1:A5 - 62,68,10,97,3.

=VLOOKUP(MAX($A1:$A5),$A1:$A5,1)

Result = 97 which is not the last numeric value in the range.

--
Biff
Microsoft Excel MVP


wrote in message
...
=VLOOKUP(MAX($A:$A),$A:$A,1)

This function is meant to provide the value displayed in the lower-
most/last active cell in column A. It is provided as a solution to
someone who has a list of figures in a spreadsheet, the last cell of
which is the most up to date figure available and needs to be
displayed elsewhere on the sheet, especially if the last active cell
is constantly changing.

However, I thought MAX( ) would display the largest figure in the
column - not the figure in the largest row number occupied. But the
function does actually work - it displays whatever is in the final row
occupied of column A; even if the last row is the smallest figure in
the column!

Can anyone provide an explanation of why?

Steve