Thanks for all the ideas. I sure learned a lot from them!

One way I got to a solution was following Paul's suggestion above using No. 1 as a basis for the solution. However, I thought maybe using Access could solve the problem: and it did!

I can't claim any credit for my solution - I just followed other contributors' ideas and came to a result.

Thanks to everybody!