Hello. How can I sum the numbers in the List1 indexes that correspond to those with zero (0) in List 2 elements?
Sample ;
List1: 50,100,200,100
List2: 2,0,0,3
The result I want in these lists is 100 + 200 = 300.
I’m trying to find 300 but I’m finding 100.
This happens because I have only 1 index. I couldn’t find how to get more indexes.
Suggestion: It will be better if you set the label text after the loop instead of the loop.
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.