Solved

How count maximum character could in a row

Posted on 2013-10-25
5
206 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
  • 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 500 total points
ID: 39600317
Try:

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

Author Closing Comment

by:SteveL13
ID: 39600499
Perfect.  Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now