OrWolf
MIS
- Mar 19, 2001
- 291
I'm trying to create a zip code list for sales. I'm able to sort by sales person and return Min and Max. However the problem is that there is overlap where zip codes aren't sequential for the territory. So for that I have a query that shows me all of the zip codes for a sales person, sorted by zip code. How can I either group seperately each of these ranges or add an identifier automatically to each new grouping? In the example below I would want four zip code groups, two for Tom and two for Jane.
Example:
Sales Person Zip Code
Tom Smith 01000
Tom Smith 01001
Tom Smith 01002
Jane Gray 01003
Jane Gray 01004
Tom Smith 01005
Jane Gray 01006
Thanks!
Example:
Sales Person Zip Code
Tom Smith 01000
Tom Smith 01001
Tom Smith 01002
Jane Gray 01003
Jane Gray 01004
Tom Smith 01005
Jane Gray 01006
Thanks!