# Is there a way to sort text by frequency within Excel?

1. ## Is there a way to sort text by frequency within Excel?

Let's say I have a thousand branch offices, each with a unique alpha
identifier. I start with a list, sorted by date range, of which offices have
placed orders. There is an entry in the spreadsheet for every instance an
office has placed an order. As on order comes in, it's added to the
spreadsheet, but not grouped by office. If office "AAA" placed 3 orders that
month, it's entries might appear in rows 8, 25, and 334. By sorting the
office column by alpha, I can now see see that office "AAA" placed 3 orders
(rows 2-4) , and that office "AAB" placed 5 orders (rows 5-9). But which of
the 1,000 offices placed the most orders? The least?

2. ## Re: Is there a way to sort text by frequency within Excel?

One way would be to use a helper column..........assuming your list is in
column A, in B1 put
=COUNTIF(A:A,A1)
Then sort on column B as the first key and column A as the second
key.........

Vaya con Dios,
Chuck, CABGx3

"jellis1919" <jellis1919@discussions.microsoft.com> wrote in message
news:21856DB8-E247-466E-A4D3-7C445C5E6DCB@microsoft.com...
> Let's say I have a thousand branch offices, each with a unique alpha
> identifier. I start with a list, sorted by date range, of which offices

have
> placed orders. There is an entry in the spreadsheet for every instance an
> office has placed an order. As on order comes in, it's added to the
> spreadsheet, but not grouped by office. If office "AAA" placed 3 orders

that
> month, it's entries might appear in rows 8, 25, and 334. By sorting the
> office column by alpha, I can now see see that office "AAA" placed 3

orders
> (rows 2-4) , and that office "AAB" placed 5 orders (rows 5-9). But which

of
> the 1,000 offices placed the most orders? The least?

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1