Assign numbers to a range of values

Hi GH team,
I have a list of numbers and I would like to know how to assign a number to a specific range of values.
For eg:
If the number is between 512 and 612 then the value 35 needs to be assigned.
Range: 461 to 512 - assigned value 40
Range: 404 to 461 - assigned value 45
and so on. see the attached image.

Hi,

Have look at Domains, you’ll be able to assign a number to a specific range of value

Hi Toto,
Thank you for the quick response.
Can you please guide me with an example?

Hi ,
This did the trick

Well done