A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Sorry - I left of the final )
=MAX(IF($G$3:$G$1000<=S5,$G$3:$G$1000))
Make sure that you have entered it using Ctrl-Shift-Enter - If you do it correctly,
Excel will all a leading { and a final } around the formula. This shows that the max value less than the value in S5 - 1900 - is correctly returned.