?
Solved

How count maximum character could in a row

Posted on 2013-10-25
5
Medium Priority
?
213 Views
Last Modified: 2013-10-25
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
Comment
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
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 15

Expert Comment

by:unknown_routine
ID: 39600278
How many cells are in each row? one?
0
 
LVL 15

Expert Comment

by:unknown_routine
ID: 39600299
You can use EXcel's Len Function

for example =LEN(A1)
0
 

Author Comment

by:SteveL13
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

by:
NBVC earned 2000 total points
ID: 39600317
Try:

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

Author Closing Comment

by:SteveL13
ID: 39600499
Perfect.  Thanks!
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question