Hi @twinkywinky
Since you do not want to use loops Excel will be the best bet.
- Once you get the list from the website write it to Excel using "Write to Excel worksheet"
- In this temporary Excel, keep a formula always written (one time activity). Also you can write the formula via PAD if you do not want to store it priorly. In this example D2 has the formula.
and the formula is =SMALL(IF(ISNUMBER(SEARCH(C2,A:A)),ROW(A:A)),1)
(After writing above formula in formula bar Press Control Shift Enter because this is an array formula in which case it adds a curly brace { and } to the start and end as seen below).
- Using PAD write the Country of which you want to get the index of in cell C2. As soon as you write in C2, D2 will automatically calculate the index and give you the row number of the first duplicate.
In this case first duplicate of Austria is in row number 14.
- Read value of this single cell D2 in PAD via "Read from Excel Worksheet"
- Since List variables start from 0 you need to do a minus 1 after getting value from excel.
This would mean that your original List variable that you wrote into Excel will have Austria at row number 13.
