Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Counting items

Hi,

I have a basic understanding of formulas and such, but I need to do
something and I am yet to find a solution. Its probably easy.

Say I have a list of names;
bob
bill
fred
fred
bob
fred
sandra
fred

I want to make a formula that will say 'fred', or the most common name
that appears.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Counting items


worksheet formula:-

=MODE("your range")

will give you what you want

-----Original Message-----
Hi,

I have a basic understanding of formulas and such, but I

need to do
something and I am yet to find a solution. Its probably

easy.

Say I have a list of names;
bob
bill
fred
fred
bob
fred
sandra
fred

I want to make a formula that will say 'fred', or the

most common name
that appears.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Counting items

Mode only works with Numbers.

You could get a unique list of entries using the Data=Filter=Advanced
filter dialog, select unique in the lower right corner.
Then you could put a countif formula by each and then sort the results

=Countif(A:A,B2)
Where B2 would hold one of the names.

--
Regards,
Tom Ogilvy

"TonyM" wrote in message
...

worksheet formula:-

=MODE("your range")

will give you what you want

-----Original Message-----
Hi,

I have a basic understanding of formulas and such, but I

need to do
something and I am yet to find a solution. Its probably

easy.

Say I have a list of names;
bob
bill
fred
fred
bob
fred
sandra
fred

I want to make a formula that will say 'fred', or the

most common name
that appears.
.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 422
Default Counting items

=INDEX(A10:A19,MAX((COUNTIF(A10:A19,A10:A19)=MAX(C OUNTIF(A10:A19,A10:A19)))*
ROW(INDIRECT("1:"&COUNTA(A10:A19)))))

Of course A10:A19 is my sample range...

<<< Note that this formula is an ARRAY formula
and MUST BE entered with Control+Shift+Enter
KeyBoard Combination

HTH

"Garry" wrote in message
om...
Hi,

I have a basic understanding of formulas and such, but I need to do
something and I am yet to find a solution. Its probably easy.

Say I have a list of names;
bob
bill
fred
fred
bob
fred
sandra
fred

I want to make a formula that will say 'fred', or the most common name
that appears.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matching/Counting items beefneath Excel Discussion (Misc queries) 0 February 23rd 09 12:46 PM
Counting Items Jakobshavn Isbrae Excel Worksheet Functions 20 June 22nd 08 09:27 PM
Counting differing items Django Cat Excel Discussion (Misc queries) 2 May 25th 07 05:12 PM
Counting items dmack Excel Discussion (Misc queries) 0 January 24th 07 09:47 PM
Counting the items Tyrone Lopez Excel Worksheet Functions 4 May 25th 06 07:51 AM


All times are GMT +1. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"