LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Counting characters in Excel

Assume data in A1 down

In B1: =LEN(A1)
will return the count of characters

In C1: =LEFT(A1,30)
will return the leftmost 30 characters

You could select B1:C1 and copy down as far as required

If you are setting it up to restrict data entry to < 30 characters, try data
validation

Assume data to be entered in E1 down
Select col E, click Data Validation,
Allow: Custom
Formula: =LEN(E1)<30
Click OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"patsfan" wrote:
Using Microsoft Excel, I need to keep the amount of characters in a column
below 30. I think some are more than that. Using a formula in one column,
can I ask the software to count the number of characters in another column so
I don't have to manually count? Or if it is easier can I just ask it to cut
off the characters after 30?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Counting characters in Excel [email protected] Excel Discussion (Misc queries) 2 January 30th 08 06:18 PM
Counting number of characters? first New Users to Excel 1 August 19th 07 12:46 PM
Counting Characters Ryan Excel Worksheet Functions 7 January 23rd 07 04:44 PM
Counting characters sdmccabe Excel Discussion (Misc queries) 2 March 27th 06 08:10 PM
counting characters in a line Johnny D Excel Discussion (Misc queries) 2 February 1st 06 09:11 PM


All times are GMT +1. The time now is 01:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"