best way to loop through specific table cells in row

best way to loop through specific table cells in row

I have a scenario where I want to loop through a specific set of cells based on a start and end column or row index.

Is it better to use a while loop and do a find each time inside the loop?

I can't use .slice because if another cell has a colspan it can throw out the column index.