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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

al_b_cnu

Well-known Member
Joined
Jul 18, 2003
Messages
4,518
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
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,491
Messages
5,764,681
Members
425,229
Latest member
Rashid mahmood

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
Top