Tie max and min value of range input to formula

Hello, is there a way to assign the max and min value of a range input to a formula so that we can restrictions are data-driven?

They should be there