Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# How count maximum character could in a row

Posted on 2013-10-25
Medium Priority
219 Views
In an Excel file I need to count the maximum character count in each row.  In other words, say column A has the following data in the cells:

Horse
Dog
Cat

Then the answer for that row is 5.

How can this be done?
0
Question by:SteveL13
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2
• 2

LVL 15

Expert Comment

ID: 39600278
How many cells are in each row? one?
0

LVL 15

Expert Comment

ID: 39600299
You can use EXcel's Len Function

for example =LEN(A1)
0

Author Comment

ID: 39600308
I wrote the question wrong.  I'm trying to get the maximum character count in a column, not a row.

I tried:

=(LEN(B3:B2915))

But it didn't work.
0

LVL 23

Accepted Solution

NBVC earned 2000 total points
ID: 39600317
Try:

=MAX(INDEX(LEN(B3:B2915),0))
0

Author Closing Comment

ID: 39600499
Perfect.  Thanks!
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month11 days, 3 hours left to enroll