Solved

# Sort column based on volume

Posted on 2011-03-03
363 Views
Hello experts

I am trying to sort a list of email addresses based on the quanitity (hi/lo) rather than by A/Z but I can't work out how to do this.

Crude example, If these are my addesses:
carol
ben
carol
denise
ben
carol

Sorting A/Z will place adam at the top, I want to search on the highest number of occurances (which would be carol)

Can you help?
Thanks
0
Question by:wisemat
• 2

LVL 85

Accepted Solution

Rory Archibald earned 500 total points
ID: 35025837
Use a formula in an additional column like:
=COUNTIF(A:A,A1)
to get the number of occurrences for each, then sort on that column.
0

Author Closing Comment

ID: 35025893
Simple and perfect

Thank you
0

LVL 4

Expert Comment

ID: 35025919
Hi,

I would do a quick pivot table and sort by volume. Check the attached excel file Test.xls

http://www.techonthenet.com/excel/pivottbls/create.php - This link would guide you step by step, once you create the pivot table sort by count and it should give you the answer you are looking for.
0

Author Comment

ID: 35025939
Thanks very much, turns out pivot tables aren't as complicated as I originally thought :)
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…