how to make a loop to check for 3 table cells at the same time
bernardo_chuecos
Member Posts: 24
Hi,
I have a table with 9 rows and 8 columns. I want to have a loop that checks each column and each row in triplets, if that makes sense. For example, in row 1 I want it to check cells 1, 2 and 3 and see if the sum of those three cells is either 3, 30, 300, 3000, 30000, or 300000. If not, then I want it to check cells 2, 3, and 4 for the same thing, and so on, for every row and column. Once it finds it, I want it to set a specific attribute to true and then keep looking for more 3's, 30's, etc. But I'm not sure how to make such loop, because I don't know how to make it move from cell to cell and I don't know how to make it look for triplets instead of single cell values. I hope that makes sense.