I have two arrays. One with dates. One with numbers. I want a function to return the min of the numbers, but only using numbers corresponding to a given date. Thanks and much appreciated.