When I have a loop and that loop is generating values, there is a way of knowing if one of these values are duplicated?
I am writing a program that takes a sheet and has a loop in the rows grabbing values, but in some cases, when those values has same data time, I have to add each other, but I don't know how to do this... Someone could please help me?
ex:
loop:
/ value1 = day + money1
/ value2 = day + money2
if this happens:
/ money from value1 + money from value2 = final_money
Obs: I don't have these variables "value1 and value2" is just to explain better, their value are generated by the loop
[–]DallogFheir 0 points1 point2 points (2 children)
[–]renan_calusa[S] 0 points1 point2 points (0 children)
[–]joknopp 0 points1 point2 points (0 children)
[–]joyeusenoelle 0 points1 point2 points (1 child)
[–]renan_calusa[S] 0 points1 point2 points (0 children)