Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Max Length in a row
I am trying to find a formula or a quicker way to get the length of the largest value in a row of text values. Basically, it's a validation step in a large (1,000s of rows) table.
I can use the LEN function to get the length of any individual cell, or use a formula like =max(len(a1),max(b1),max(c1)). But I've got 30+ columns and would like to make it easier on the typing. Any thoughts/hints/tips? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Max Length in a row
"Commish" wrote:
I am trying to find a formula or a quicker way to get the length of the largest value in a row of text values. [....] I can use the LEN function to get the length [...]. I've got 30+ columns By "largest", I assume you mean "longest". Enter the following array-entered formula (press ctrl+shift+Enter instead of just Enter): =max(len(a1:ad1)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Length that falls within a length interval? | Excel Worksheet Functions | |||
Finding a string of unknown length in a string of unknown length, Help! | Excel Discussion (Misc queries) | |||
Validation length, Range length | Excel Discussion (Misc queries) | |||
Length | Excel Programming | |||
Max Length | Excel Programming |