Hi, jfrageme02.
First, this is in addtion to what DBlank already posted. I just wanted to let you know that the way you want grouping to work is not the purpose of grouping. Grouping is inherently grouping all like items in the selected field. However, you can use a formula to create a custom grouping field to combine multiple fields to help group on multiple "fields" at the same time rather than 1 field and then another. I have created a sample table without grouping, then grouped with a single field, and then grouped with a custom grouping field, so you can see the result of doing so. (I used some of your data as a basis.)
Second, why do you need to keep the analyst group in order of their appearance? I'm confused by that requirement. It negates the benefit of having grouping at all.
TABLE WITH NO GROUPING
DESC DEPT ANALYST GROUP LOCATION
Desc1 1001 1 1 NE
Desc2 1001 1 2 SE
Desc3 1001 1 3 SW
Desc4 1001 1 4 NW
Desc5 1001 1 1 SW
Desc6 1001 1 2 SW
Desc7 1001 1 3 NW
Desc8 1001 1 4 N
Desc1 1001 2 1 S
Desc2 1001 2 2 NE
Desc3 1001 2 3 SE
Desc4 1001 2 4 SW
Desc5 1001 2 1 NW
Desc6 1001 2 2 SW
Desc7 1001 2 3 SW
Desc8 1001 2 4 NW
TABLE GROUPED BY "GROUP" COLUMN
DESC DEPT ANALYST GROUP LOCATION
GROUP 1
Desc1 1001 1 1 NE
Desc5 1001 1 1 SW
Desc5 1001 2 1 NW
Desc1 1001 2 1 S
GROUP 2
Desc2 1001 1 2 SE
Desc6 1001 1 2 SW
Desc2 1001 2 2 NE
Desc6 1001 2 2 SW
GROUP 3
Desc3 1001 1 3 SW
Desc7 1001 1 3 NW
Desc3 1001 2 3 SE
Desc7 1001 2 3 SW
GROUP 4
Desc4 1001 1 4 NW
Desc8 1001 1 4 N
Desc4 1001 2 4 SW
Desc8 1001 2 4 NW
TABLE GROUPED BY "@CustomGroup"
1. Create a custom grouping field called "@CustomGroup" using "GROUP" & "LOCATION"
2. Used the new field as my group field
3. Then used a custom group name to change the group name to be more meaningful.
DESC DEPT ANALYST GROUP LOCATION
GROUP 1 LOCATION NE
Desc1 1001 1 1 NE
GROUP 1 LOCATION NW
Desc5 1001 2 1 NW
GROUP 1 LOCATION S
Desc1 1001 2 1 S
GROUP 1 LOCATION SW
Desc5 1001 1 1 SW
GROUP 2 LOCATION NE
Desc2 1001 2 2 NE
GROUP 2 LOCATION SE
Desc2 1001 1 2 SE
GROUP 2 LOCATION SW
Desc6 1001 1 2 SW
Desc6 1001 2 2 SW
GROUP 3 LOCATION NW
Desc7 1001 1 3 NW
GROUP 3 LOCATION SE
Desc3 1001 2 3 SE
GROUP 3 LOCATION SW
Desc3 1001 1 3 SW
Desc7 1001 2 3 SW
GROUP 4 LOCATION N
Desc8 1001 1 4 N
GROUP 4 LOCATION NW
Desc4 1001 1 4 NW
Desc8 1001 2 4 NW
GROUP 4 LOCATION SW
Desc4 1001 2 4 SW
Edited by DaBoujibo - 24 Aug 2012 at 12:13pm