How to get a value from another table (use as a range) based on a field

I need to find an expression that gives me a result depending on the value of a field filled from the user side.

example:

Number of employees = 53

Cost=??? in this example the result mus

employees table

MINMAXCOST
0252500
26503000
512005000
   

I tried to use lookup but it didn't worked

0 1 44
1 REPLY 1
Top Labels in this Space