Forum Discussion
DebbieLM
Jan 27, 2021Copper Contributor
Sorting a list based on number of times a word appears in a list
Hi, I have a list containing specific words (all repeated at various times). I know how to sort alphabetically, but I then need them sorted and grouped by the number of times each word appears i...
PeterBartholomew1
Jan 27, 2021Silver Contributor
Because Excel 365 is intrinsically array based, the formula
= SORTBY(Fruit, COUNTIFS(Fruit, Fruit), -1)
works without helper ranges or manual sorting.
- SergeiBaklanJan 27, 2021Diamond Contributor
PeterBartholomew1 , that's 2019
- DebbieLMJan 27, 2021Copper ContributorAnd another possibility - thank you!