# How can I check if any number in the number list is in the number range?

I have a list of numbers and a number range. How can I check if any number in the number list is in the number range?

example 1:
list of numbers: 2,10,20
number range: 20-50
In this example I expect the control value to return yes

example 2:
list of numbers: 2,10,20
number range: 8-12
In this example I expect the control value to return yes

In summary, Range should return the check yes when it contains at least one value in the list of numbers.
I haven’t been able to achieve this with range expressions.

try making a filter in the list of numbers:
List of numbers:filter (this number>=(lower limit range) AND this number<=(higher limit range)
I’m not sure if it can work with limit range, but it will probably result in a list of numbers where every number is inside the range.

If it doesn’t work, try using 2 different numbers as lower limit and higher limit

1 Like

@ri_scc_94
Thank you very much. My problem is solved. A very simple and practical solution.