I want to calculate the maximum and minimum value from a series of numbers using a single formula. Is this possible?