Table dynamic Search

You should make a loop that cycles through your code as many times as you need, or as many rows you have in your spreadsheet. You can find examples on this forum how to do that. Here is one example:

For this statement , you would have to change it so that your spreadsheet is read instead, such as: