I have a table that has the two columns... Item # and Store #. Each store can have any combination of hundreds of items, so store numbers are repeated in column A for each new item # listed in that store in column B. I need to find a way to count how many stores have the exact same combination of items in there stores. So if Store 1 and Store 2 both stock the exact same combination of items it would great to somehow assign a unique ID to that combination and count how many there are. I have tried using crosstab queries to sort the store #s into rows and then item number across the headings, but I still then have the same problem of needing to know how many entire records are unique. Perhaps it is easier from this point see attached small mockup table for an example of what the crosstab query would generate (Coluumn headers are item #s). The Y signifies that item is stocked in the that store. From that point I would need to write a query to determine how many unique entire records there are and then count them.
Store # 20 21 22 23 34 1 Y Y Y 2 Y Y Y 3 Y Y 4 Y Y 5 Y Y