Evaluate results of an expression

Hy,
I’m not fluent in list management.
I’d like to evaluate the results of a simple expression from 4 different lists of given numbers as shown in the jpeg.


in this case I want to pickup the X,Y,Z and U values that comes to the solution zero.
Calculating manually, 24+10-40+6 = 0 works in this exercise ; but I have a lot of others inherited values to test and anyway I’d like to understand how to do this.

Manage number collection is not working in my GH version that’s why I used panels…
thanks
Fred

1 Like

Hi,

is this doing it correctly?

1 Like

Hi Jakinta,
Thanks a lot for this quick answer.
I’m sure it’ll do the job. I’ll test that.

Sheers
Fred

Can’t test right now, but I don’t think you need the ‘if’ part. Just x+y-z+u=0 should do it.

1 Like

Yes thanks, I could test all the values.
Thanks again for your help

Sheers

1 Like

Hi David
I tested without “if” : it’s not doing it.
But I’m not an expert, I may not do it properly…
Thanks
Fred

All right, I’ll try it when I get into the office.

It is doing it. Leave only the expression inside. Thank you @DavidRutten for sharing this.

:+1::+1:
Thanks