I have a number of data set similar to yours.
One of them required 2 minutes to build the selected list with "repeat with";
it took less than 2 seconds with "repeat for". It worth the effort to master
this type of repeat!