just one more thing @XLENT , i would also need the second closest positive number from both the ranges.