Assuming that A1:A6 contains your list, try...
=MIN(IF(A1:A655,A1:A6))
and
=MAX(IF(A1:A6<55,A1:A6))
Both formulas need to be confirmed with CONTROL+SHIFT+ENTER, not just
ENTER.
Hope this helps!
jpx Wrote:
Lookup Max and Min Values in a List
Given a number I want to look up what number in a list is just greater
and just less than my original number.
Ex. Given number 55 look at the following list of values:
22
33
44
55
66
77
and in one cell return 44 and another 66. Seems easy but I can't get
it. Thanks.
--
Domenic
------------------------------------------------------------------------
Domenic's Profile:
http://www.excelforum.com/member.php...o&userid=10785
View this thread:
http://www.excelforum.com/showthread...hreadid=398709