I just wanted to understand the meaning of this line of code…" Convert.ToInt32(row(“CashValue”)) > 1000) ", does it mean…
It check of any value is greater than 1000 under this column “CashValue”?
OR
It add all the values (1000+10001+900…) under this column "CashValue and then checks for sum >1000?
I am looking for the 2 thing, Like I want to add and then I want check its sum>1000.
As per my understanding, the code given @jcastro checks only for cashvalue greater than 1000.
Regarding your second condition, the sum value will always be greater than individual cash value for a specific name , right?