I need help with counting numbers in a column after running total is calculated. How would I get the results to show like (C ) below?
A) DATA
Dept Color
10 Blue
10 Blue
10 Blue
10 Red
11 Blue
11 Blue
11 Green
12 Green
B) Running Total on Number of Orders
Dept Color Number of Orders
10 Blue 3
10 Red 1
11 Blue 2
11 Green 1
12 Green 1
C) Count of the Number of Orders of the running total By Color
Dept Color Number of Orders
10 Blue 3
10 Red 1
Sub-Total-10 4
11 Blue 2
11 Green 1
Sub-Total-11 3
12 Green 1
Sub-Total-12 1
A) DATA
Dept Color
10 Blue
10 Blue
10 Blue
10 Red
11 Blue
11 Blue
11 Green
12 Green
B) Running Total on Number of Orders
Dept Color Number of Orders
10 Blue 3
10 Red 1
11 Blue 2
11 Green 1
12 Green 1
C) Count of the Number of Orders of the running total By Color
Dept Color Number of Orders
10 Blue 3
10 Red 1
Sub-Total-10 4
11 Blue 2
11 Green 1
Sub-Total-11 3
12 Green 1
Sub-Total-12 1