Hello all, I am new here and currently learning Power Automate (mostly PAD) and learning a lot from the community.
I am currently stuck on a situation, please allow me to explain. I have an Excel spreadsheet which contains a list of locations in column A and the subsequent IP address for each of those locations in Column B. There may be multiple IP addresses per site, for example:
| Location (A-Z) | IP address |
A | 192.168.0.15 |
B | 192.168.0.16 |
C | 192.168.0.17 |
C | 192.168.0.18 |
C | 192.168.0.19 |
D | 192.168.0.19 |
I would like to loop through each of those items in the list and terminate the loop once all of the required location IP addresses have been read. Each IP address will be added to a policy on a website for which I have built another flow for.
To test my theory, I created a test flow just for the purpose of testing my logic before I add this to my production flow. Warning: I am not an expert at loops or conditional logic, I am a novice who is really trying to learn them so please do call out if there is a learning opportunity as I may have complicated things with a lack of understanding.

The Practice2 variable contains the location I want to retrieve data for.
The Row variable determines the start row and will increment as part of the For each loop.
Once the Loop Condition is true and the Current Item = Practice2, my actions run and return the data for what is set in Practice2. This is what I want, however, I just can't figure out what I need to do next to terminate the loop once all of the required items in the list have been read.
I suspect some conditional logic is needed, I have tried a combination of If / Else but don't seem to be able to get it right.
Any help / advice would be welcome. Many thanks.