I'm a new in this forum, so please be patient.
I'll try put variables for minimum range in UDF Wizard.
I've defined variable "HP_MIN" in expressions and I want use this like minimum range for "HP" into UDF.
Maximum I want have constantly (1600).
Thanks you for any anserws.