The right tool for that is to create a range with your limits and the corresponding names.
You can then use the vlookup()
function, with the 4th parameter set to True
to create a range lookup.
Note: my PC uses ;
as separator, yours might use ,
.
Adjust formula according to your regional settings.