Snippets in combination with variables in type repeating list

I have a clause which is using repeating lists and it serves as a base for a formula I made with snippets:

@sum^_hoofdsommen is the part based on repeating lists. But I keep on getting an error while testing. When this sum is 0-150, the formula works ok. But when it goes over €150 I get errors. So first condition is ok, 2nd and 3rd give issues.

Is it because I use the currency? I don’t see the solution, have been changing a lot to test. help :slight_smile:

i already saw that I had to change ‘verschil’ to ‘VERSCHIL’ everywhere.
and also that I need to us {} instead of (),

so ended up that this is correct :slight_smile: