Finding the Average/Closest Value