Last Value Greater than Zero in a column
A couple of ways
=LOOKUP(2,1/(A1:A100),A1:A10)
entered normally or
=INDEX(A1:A10,MAX((A1:A100)*(ROW(A1:A10))))
entered with ctrl + shift & enter
note that if there is a text string in the range at the right spot it will
be returned since text is greater than number according to Excel
--
Regards,
Peo Sjoblom
"Dkline" wrote in message
...
In a column of 121 numbers which can be positive or negative or zero, is
there a function to find the last positive value in the column?
Or do I need to build a UDF?
|