adding a count

S

sally

On a file I have a list of client ids like the following:
clientID
111111
111111
111111
222222
222222
333333
444444
444444
444444
444444
What I would like is a fomula that will count each set of
client ids so it will look like this:
clientID Count
111111 1
111111 2
111111 3
222222 1
222222 2
333333 1
444444 1
444444 2
444444 3
444444 4

Please somebody help me I am at my whits end!!
thanks
 
P

Paul Falla

Dear Sally

The easiest way to do this is to use the sub-total
function. Open the Data menu, select subtotals. When
prompted select 'Count' from the drop-down box.

Hope this helps

Paul Falla
 
B

Bob Phillips

Sally,

Put this formula in B1 and copy down

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

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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