Excel Maximum Cell Length in a Range
Finding the maximum length string in a range of cells can be handy especially if you are using the max length for another purpose. The following custom function will find the maximum cell length in a range.
Function LongString(rng)
LongString = Evaluate("Max(len(" & rng.Address & "))")
End Function
The custom function is called as follows:
= LongString(A1:A10)
Read MoreFeatured Posts
Recent Posts
Inflation Over Multiple Years in a Single Cell January 10, 2025
Hubspot Dashboard October 3, 2024
Monthly Dashboard With Supporting Metrics September 25, 2024
Excel Show Missing Sheet Tabs July 29, 2024
Run Macro Overnight Automatically June 24, 2024
Split File into Parts and Save to Directory April 20, 2024
Most Popular Author December 14, 2023
Creating an Excel Dashboard - A Guide with Templates December 8, 2023
Real Estate Excel Dashboard October 11, 2023
Updating Excel Dashboards September 29, 2023