in reply to Re: Find range in coordinates array
in thread Find range in array with indices

Thank you choroba. Your solution seems to work just fine with my real data.