Sort column by amount of same content cells

M

Mike M

I got data in column A, B C and D

I need to sort by column A based on the quantity of cells with same content.

I got this:

banana
banana
boat
tape
banana
boat

I need it sorted like this:
banana
banana
banana
boat
boat
tape

Is that possible?

Regards
Mike
 
P

Pete_UK

Use column E as a helper column, with a formula like:

=COUNTIF(A$1:A$100,A1)

This assumes you have 100 rows of data - adjust to suit and copy this
down.

Then you can sort the range A1:E100, using column E as the sort key.
Afterwards, you can delete column E.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top