Need Help - finding efficient way to solve grouping or loop problem

A post was merged into an existing topic: Help on Looping