I would use one of Excel's lookup functions. VLOOKUP() seems to be the most common starting point.
https://support.office.com/en-us/art...8-93a18ad188a1 Unfortunately, almost all examples in the help files and on the internet are for "exact match" (4th argument of VLOOKUP=FALSE) type lookups, where you will want the "approximate match" 4th argument=TRUE be-sure-sort-the-lookup-table/column option. I created this example of how the binary search "approximate match" algorithm works here as part of another spreadsheet:
https://www.excelforum.com/tips-and-...p-example.html
Bookmarks