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 / New Users / December 2007

Tip: Looking for answers? Try searching our database.

Finding the cell with the most characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
arcandio@gmail.com - 15 Dec 2007 00:22 GMT
Alright, fir one of my current projects, I need to output the contents
of the cell with the most text in it from a column. How would I do
this? I've tried arrays based on LEN, but I get the number of
characters instead of the cell contents.
Ron Rosenfeld - 15 Dec 2007 01:41 GMT
>Alright, fir one of my current projects, I need to output the contents
>of the cell with the most text in it from a column. How would I do
>this? I've tried arrays based on LEN, but I get the number of
>characters instead of the cell contents.

This *array* formula (enter with <ctrl><shift><enter>) should return the
contents of the cell with the most characters.  Rng refers to the appropriate
column (e.g. rng refers to: A1:A100).

=INDEX(rng,MATCH(MAX(LEN(rng)),LEN(rng),0))

--ron
arcandio@gmail.com - 15 Dec 2007 22:00 GMT
> On Fri, 14 Dec 2007 16:22:00 -0800 (PST), "arcan...@gmail.com"
>
[quoted text clipped - 11 lines]
>
> --ron

Thanks very much Ron! I actually ended up solving the thing by adding
each cell to the one above it till it got to the top. This will help a
lot in other parts though!

Rate this thread:






 
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.