Excel 2000 – Sorting Long Lists

kevsim

Board Regular
Joined
Apr 26, 2003
Messages
118
I am using Excel 2000 and have varying lists in one column with from 100 to about 800 items. I wish to know how many times the same items appear on each list.
I want to know the item name and then the number of times it appears.
I would appreciate some advise on how to write the Query in VB code.
kevsim
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi,

How about
Book1
ABCD
1HeadingHeading
2aa3
3bb2
4cc2
5dd1
6ee1
7ff1
8ag1
9a
10b
11c
12g
Sheet1


The list in column C was created by Data|filter|Advanced Filter and 'Copy to another location' & 'Unique records only'

The formula in column D2 (& copied down) is =COUNTIF(A:A,C2)

HTH

Alan
 
Upvote 0

Forum statistics

Threads
1,222,246
Messages
6,164,807
Members
451,917
Latest member
WEB78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top