PC Review


Reply
Thread Tools Rate Thread

Counting Various repeating entries

 
 
Gavin
Guest
Posts: n/a
 
      27th Apr 2007
Hi,

I need to create a 'tool' that counts the number of times a particular
country appears in a list. The countries are never the same, and the
number of entries is never the same, so i need to be able to generate
a list of the coutries that appear, and then count the frequency of
which they appear.

Sorry if this is the wrong forum to post this question. I have tried
working on some basic formulas but have come to a standstill.

Thanks in advance for your help.

Gavin

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      27th Apr 2007
Assuming the data is in column A.

B1: = A1
B2: =IF(ISERROR(MATCH(0,COUNTIF(B$1:B1,$A$1:$A$20&""),0)),"",
INDEX(IF(ISBLANK($A$1:$A$20),"",$A$1:$A$20),MATCH(0,COUNTIF(B$1:B1,$A$1:$A$20&""),0)))

B2 is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

C1: =IF(B1="","",COUNTIF(A:A,B1))

copy B2 and C1 down.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Gavin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I need to create a 'tool' that counts the number of times a particular
> country appears in a list. The countries are never the same, and the
> number of entries is never the same, so i need to be able to generate
> a list of the coutries that appear, and then count the frequency of
> which they appear.
>
> Sorry if this is the wrong forum to post this question. I have tried
> working on some basic formulas but have come to a standstill.
>
> Thanks in advance for your help.
>
> Gavin
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting repeating cell values Matt G Microsoft Excel Worksheet Functions 2 10th Oct 2008 08:58 PM
Counting non-repeating dates =?Utf-8?B?U291dGhDYXJvbGluYQ==?= Microsoft Excel Misc 8 23rd May 2006 07:50 AM
Repeating Entries Ian Microsoft Access 2 14th Dec 2004 11:55 AM
Repeating entries Gary Fitz Microsoft Excel Worksheet Functions 2 30th Dec 2003 06:29 PM
Re: Repeating Entries Dave Peterson Microsoft Excel Misc 0 30th Dec 2003 04:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:18 PM.