But then I need this factor to vary. So for numbers below 900 i need this factor to be 25 for 900-1500 50 and 200 for everything else above. I cannot do it. Pls Help! (below I show domains and corresponding to them factors)
As you can see all I change in your script are inputs(red). However the list I get as the result (the script above) omits some rows of the initial input list. Why?
I suspect it has something to do with this number in the top right corner of the panels (red).
@Jakinta
One more thing if you don’t mind…
When I plug in all my data into the script I get a list of number which is longer than the initial input list (red). This messes up things later on. I identified where this mismatch occurs (blue), can you have a look.
It is hard to tell without taking deeper inside, but it might be that you have coincident values with domain borders. For example 900- it belongs to 2 domains. Which is hardly possible. It is something related to data structure.
I would rather use expression version, beacuse it has more clear condition - “less than”.