For Loop Over a Range

Are you sure you are compating the right values? Can you share a screenshot?
For me it worked as expected:
image image

1 Like