How can I rank my top referral channels based on their frequency in a dynamic order?

%3CLINGO-SUB%20id%3D%22lingo-sub-2093104%22%20slang%3D%22en-US%22%3EHow%20can%20I%20rank%20my%20top%20referral%20channels%20based%20on%20their%20frequency%20in%20a%20dynamic%20order%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2093104%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20column%20with%20600%2B%20referral%20channels.%3C%2FP%3E%3CP%3EI%20want%20to%20rank%20the%20top%2010%20in%20a%20dynamic%20order%2C%20such%20that%20excel%20returns%20to%20me%20%3CSTRONG%3Ethe%20name%20of%20the%20channel%3C%2FSTRONG%3E%2C%20%3CSTRONG%3Ethe%20number%20of%20referrals%20made%3C%2FSTRONG%3E%20(from%20a%20CountIf%20function)%2C%20and%20%3CSTRONG%3Ethe%20rank%3C%2FSTRONG%3E%20correspondingly%20%3CEM%3E(similar%20to%20the%20table%20below)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22306%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22306%22%3EReferrals%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ERank%3C%2FTD%3E%3CTD%3EName%3C%2FTD%3E%3CTD%3EReferrals%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E2%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E3%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E4%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E5%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E6%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E7%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E8%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E9%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E10%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3EHere's%20a%20sample%20of%20the%20data%3C%2FU%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EReferral%20Channels%3C%2FSTRONG%3E%3C%2FP%3E%3CTABLE%20width%3D%22165%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EKhalid%20AK%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EKhalid%20AK%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EReem%20S%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EZeina%20Z%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EAya%20D%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EHazem%20N%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EZeina%20Z%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3ESumer%20K%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EKhalid%20AK%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EGuru%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EZeina%20Z%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3ERami%20Z%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3ERami%20Z%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EJad%20K%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EYara%20D%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EKarim%20K%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EAhmad%20S%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3ESumer%20K%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EN.D.%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EKhalid%20AK%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EAhmad%20S%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22164.167px%22%20height%3D%2229px%22%3EAhmad%20S%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2093104%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2098165%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20rank%20my%20top%20referral%20channels%20based%20on%20their%20frequency%20in%20a%20dynamic%20order%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2098165%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F941297%22%20target%3D%22_blank%22%3E%40Khalidwak%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESounds%20like%20a%20good%20use%20of%20a%20pivot%20table%2C%20where%20it%20could%20be%20ordered%20by%20frequency%20of%20name%20or%20sum%20of%20referrals.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I have a column with 600+ referral channels.

I want to rank the top 10 in a dynamic order, such that excel returns to me the name of the channel, the number of referrals made (from a CountIf function), and the rank correspondingly (similar to the table below)

 

Referrals
RankNameReferrals
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  

 

 

Here's a sample of the data

 

Referral Channels

Khalid AK
Khalid AK
Reem S
Zeina Z
Aya D
Hazem N
Zeina Z
Sumer K
Khalid AK
Guru
Zeina Z
Rami Z
Rami Z
Jad K
Yara D
Karim K
Ahmad S
Sumer K
N.D.
Khalid AK
Ahmad S
Ahmad S

 

Thank you.

1 Reply

@Khalidwak 

 

Sounds like a good use of a pivot table, where it could be ordered by frequency of name or sum of referrals.