![]() |
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? |
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)) |
All times are GMT +1. The time now is 04:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com