I have the following data:
Client Type Sales
A Red 12
B Blue 17
C Blue 3
D Green 43
E Blue 27
F Red 6
G Green 30
I would like to add a rank column which ranks the Type (red, blue, green) depending on Sales for each client.
E.g
Client Type Sales Rank by Type
A Red 12 1
B Blue 17 2
C Blue 3 3
D Green 43 1
E Blue 27 1
F Red 6 2
G Green 30 2
Does anyone know how to rank like this?
Client Type Sales
A Red 12
B Blue 17
C Blue 3
D Green 43
E Blue 27
F Red 6
G Green 30
I would like to add a rank column which ranks the Type (red, blue, green) depending on Sales for each client.
E.g
Client Type Sales Rank by Type
A Red 12 1
B Blue 17 2
C Blue 3 3
D Green 43 1
E Blue 27 1
F Red 6 2
G Green 30 2
Does anyone know how to rank like this?