Longest string in a column
Thanks v much. I guess the limitation is the reference has to be an
enumerated row range, not just A:A, e.g. I don't necessarily know the number
of rows in the column, but since I'm looking for MAX, an arbitrarily long
(high) number works, the empty cells at the bottom are < MAX so don't affect
the result.
"Ron Coderre" wrote:
You actually have the right idea:
=MAX(LEN(A1:A10))
Commit that array formula by holding down the [Ctrl]+[Shift] when you press
[Enter]
Does that help?
***********
Regards,
Ron
"Jeff Kantner" wrote:
Hi,
I'm looking for the function combination to determine, in a column of text,
what is the maximum number of characters in any one cell. max(len(cell))
works for any one cell, but max(len(A:A)) manufactures a number from
somewhere but whatever it is, it's not the number of characters in the
longest cell. Perhaps an array function? But my attempt at that ended with
#NUM!.
Thx.
|