This is because when LOOKUP can’t find a match, it will match the next smallest value.

In case of duplicates, this formula will return the last match.Explanation of logic is here.

LOOKUP’s default behavior makes it useful for solving certain problems in Excel.

Excel formula: Group numbers with VLOOKUP

Excel formula: Find closest match

Excel formula: Lookup number plus or minus N

Excel LOOKUP function