Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Rebecca
 
Posts: n/a
Default Longest Entry in Columns

Hi. What is the best / quickest way to find the longest entry (most
characters / numbers, etc.) in a column? Thanks.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

This array formula entered with the key combo of
CTRL,SHIFT,ENTER will tell you how long the longest entry
is in a range of cells:

=MAX(LEN(A1:A100))

If you want to identify that entry, you could use
conditional formatting:

Select the range A1:A100
Goto FormatConditional Formatting
Formula is: =LEN(A1)=MAX(LEN(A$1:A$100))
Click the Format button and select a background fill color
OK out

Biff

-----Original Message-----
Hi. What is the best / quickest way to find the longest

entry (most
characters / numbers, etc.) in a column? Thanks.
.

  #3   Report Post  
Biff
 
Posts: n/a
Default

P.S. -

If you want the longest entry in a range of cells to be
returned in a formula:

Array entered with the key combo of CTRL,SHIFT,ENTER:

=INDEX(A1:A100,MATCH(TRUE,LEN(A1:A100)=MAX(LEN
(A1:A100)),0))

If more than one cell contains the longest entry the
formula will return the first instance of the longest
entry.

Biff

-----Original Message-----
Hi. What is the best / quickest way to find the longest

entry (most
characters / numbers, etc.) in a column? Thanks.
.

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
print excel columns on less pages a_ryan1972 Excel Discussion (Misc queries) 1 February 9th 05 05:41 PM
how to increase maximum number of columns in excel 2003 [email protected] Excel Discussion (Misc queries) 1 January 16th 05 08:13 PM
Filtering Text Data from Multiple columns Brad Excel Worksheet Functions 6 January 1st 05 03:32 PM
Columns in Excel will not allow user to click in them Kim Excel Discussion (Misc queries) 1 December 28th 04 06:37 PM
Counting the Contents of Two Columns Molochi Excel Discussion (Misc queries) 6 December 22nd 04 08:13 PM


All times are GMT +1. The time now is 04:33 AM.

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

About Us

"It's about Microsoft Excel"