Rank Cells Alphabetically, Multiple Criteria and Seperate Segments

willmana

New Member
Joined
Oct 9, 2014
Messages
2
I have a set of data which I need to attach a fairly complex rank to. I have the headings: Sales Person, Company and Status. Firstly I need to separate the ranking by the different statuses, then rank first by Sales Person then Company. All are text values so will need to be ranked in alphabetical order.

For Example:

Sales Person
Company
Status
Rank
David
AAA
Authorised
1
Fiona
BBB
Authorised
4
Bianca
CCC
Authorised
3
Fiona
DDD
Un-Authorised
2
David
EEE
Authorised
2
Fiona
FFF
Un-Authorised
3
Fiona
GGG
Authorised
5
Bianca
HHH
Un-Authorised
1
Fiona
III
Un-Authorised
4

<tbody>
</tbody>


Does anyone have experience with this sort of thing? I would really appreciate any assistance at all.

Thanks in advance.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
please define rank - is it by number of companies per name

you can sort by name alphabetically and then company alphabetically and then by status, but I suspect that is not what you want.
 
Upvote 0
Hi Oldbrewer,

The ranks is not counting the number of companies or anything like that, I'm just after something which can place the rows in order from A-Z, first by Sales Person, then by Company.

My plan is to transfer this data onto another tab using these numbers.


I just realised I mixed up my example it should be as follows:

Sales Person
Company
StatusRank
David
AAA
Authorised2
Fiona
BBB
Authorised4
Bianca
CCC
Authorised1
FionaDDD
Un-Authorised2
DavidEEE
Authorised3
FionaFFFUn-Authorised3
FionaGGG
Authorised
5
Bianca
HHH
Un-Authorised1
FionaIIIUn-Authorised
4

<tbody>
</tbody>


So looking at it in order it would look like:

Sales Person
Company
StatusRank
Bianca
CCC
Authorised
1
David
AAA
Authorised
2
David
EEE
Authorised
3
Fiona
BBB
Authorised
4
Fiona
GGG
Authorised
5
Bianca
HHH
Un-Authorised
1
Fiona
DDD
Un-Authorised
2
Fiona
FFF
Un-Authorised
3
Fiona
III
Un-Authorised
4

<tbody>
</tbody>

Thanks
 
Upvote 0
data,sort and choose your fields in desired order - very easy

but you havenot sorted by person as bianca occurs twice

oops you sorted by auhorised etc first
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,891
Messages
6,127,606
Members
449,388
Latest member
macca_18380

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top