I have a range of numbers of that decrease from highest to lowest. I need to find the first number that is smaller than my reference number.