turist,

Use the max(if( formula except instead of MAX use MIN, be sure to array-enter it