結果 : if range contains value then return value