Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Data filtering(?) Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BryGuy77 - 27 May 2008 04:02 GMT
Hi all,

How can I list the most common word in a given range? I have office 2007, if
this matters. The range could all potentially carry the same value, or there
could be blank lines as well, so considering the blank line issue would be
appreciated. Thanks for the help!
T. Valko - 27 May 2008 04:26 GMT
Try this array formula** :

=INDEX(A1:A20,MODE(IF(A1:A20<>"",MATCH(A1:A20,A1:A20,0))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Signature

Biff
Microsoft Excel MVP

> Hi all,
>
[quoted text clipped - 4 lines]
> could be blank lines as well, so considering the blank line issue would be
> appreciated. Thanks for the help!
Dave Curtis - 27 May 2008 09:59 GMT
Hi,

For some reason, using MODE doesn't work for me with text, perhaps because
I'm using Excel 2003?

This similar array formula seems to do the trick.

{=INDEX(A1:A20,MATCH(MAX(COUNTIF(A1:A20,A1:A20)),COUNTIF(A1:A20,A1:A20),0))
}

Dave

url:http://www.ureader.com/msg/103456964.aspx
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.