ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL? (https://www.excelbanter.com/excel-worksheet-functions/75416-count-number-letters-including-spaces-cell.html)

zurafz6

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify my
list.

Thanks. It will be a great help.

JudithJubilee

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Hello zurafz6,

You can use the LEN function. This counts the number of charcters in a cell.

=LEN(Cell)

Judith

"zurafz6" wrote:

Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify my
list.

Thanks. It will be a great help.


Ragdyer

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Try this:


=LEN(A1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"zurafz6" wrote in message
...
Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a

function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify

my
list.

Thanks. It will be a great help.



Biff

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Hi!

=LEN(A1)

You could also set it up to reject codes longer than 30 characters, if you
were so inclined.

Biff

"zurafz6" wrote in message
...
Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a
function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify
my
list.

Thanks. It will be a great help.




zurafz6

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Hi Biff
Thanks it helps. How do I then formulate to reject codes more than 30. What
is the formula and will it help me identify. Thanks again.

"Biff" wrote:

Hi!

=LEN(A1)

You could also set it up to reject codes longer than 30 characters, if you
were so inclined.

Biff

"zurafz6" wrote in message
...
Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a
function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify
my
list.

Thanks. It will be a great help.





zurafz6

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Thanks. It works.

"Ragdyer" wrote:

Try this:


=LEN(A1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"zurafz6" wrote in message
...
Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a

function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify

my
list.

Thanks. It will be a great help.




zurafz6

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Thanx a million. It helps.

"JudithJubilee" wrote:

Hello zurafz6,

You can use the LEN function. This counts the number of charcters in a cell.

=LEN(Cell)

Judith

"zurafz6" wrote:

Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces and
symbols. Now I have my list but it will be easy for me if there is a function
which will help me count the number of characters in a cell. From there I
will be able to identify those codes which exceed 30 characters and modify my
list.

Thanks. It will be a great help.


Biff

COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
 
Hi!

It would not help to identify as that would be "after the fact". It will
prevent** you from entering codes longer than 30 characters in the first
place.

Select the range of cells in question.
Assume that range is A1:A1
Goto DataValidation
Allow: Text length
Data: Less than or equal to
Maximum: 30
OK

** - prevent means, if the codes are manually typed in. Validated cells can
still be pasted into or dragged to.

Biff

"zurafz6" wrote in message
...
Hi Biff
Thanks it helps. How do I then formulate to reject codes more than 30.
What
is the formula and will it help me identify. Thanks again.

"Biff" wrote:

Hi!

=LEN(A1)

You could also set it up to reject codes longer than 30 characters, if
you
were so inclined.

Biff

"zurafz6" wrote in message
...
Im currently creating codes for our inventory list. The system provider
mentioned that my codes can only have 30 characters including spaces
and
symbols. Now I have my list but it will be easy for me if there is a
function
which will help me count the number of characters in a cell. From there
I
will be able to identify those codes which exceed 30 characters and
modify
my
list.

Thanks. It will be a great help.








All times are GMT +1. The time now is 03:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com