ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   Character count within a cell (https://www.excelbanter.com/setting-up-configuration-excel/120876-character-count-within-cell.html)

Mhunter

Character count within a cell
 
How many characters are allowed within one cell? I found a way to count words
but is there a way to count characters?

Gord Dibben

Character count within a cell
 
LEN includes spaces but may not be a problem for you.

More info on "how many characters are allowed"

Excel Help on "limits" or "specifications" reveals that Excel will allow
32,767 characters to be entered in a cell.

However, it goes on to state that "only 1024 characters will be visible or can
be printed"

To work around this limitation, stick a few ALT + ENTERs in at appropriate
spots, about every 100 characters..

The ALT + ENTER forces a line-feed and expands the 1024 limit.

How far is not really known. Just experiment.

.........From Dave Peterson..........

I put this formula in A1:
="xxx"& REPT(REPT("asdf ",25)&CHAR(10),58)&"yyy"

And adjusted the columnwidth, rowheight and font size and I got about 7300
characters to print ok.

.........End Dave P.................

Failing that, use a Text Box to store the text or MS Word which is a word
processing application, unlike Excel which is not.


Gord Dibben Excel MVP

On Thu, 30 Nov 2006 09:01:00 -0800, Mhunter
wrote:

Thank you!

"Gary''s Student" wrote:

Thousands of characters

=LEN(A1) will display the number of characters in A1
--
Gary's Student


"Mhunter" wrote:

How many characters are allowed within one cell? I found a way to count words
but is there a way to count characters?


Gord Dibben MS Excel MVP

Gary''s Student

Character count within a cell
 
Thank you Gord, good information.
--
Gary's Student


"Gord Dibben" wrote:

LEN includes spaces but may not be a problem for you.

More info on "how many characters are allowed"

Excel Help on "limits" or "specifications" reveals that Excel will allow
32,767 characters to be entered in a cell.

However, it goes on to state that "only 1024 characters will be visible or can
be printed"

To work around this limitation, stick a few ALT + ENTERs in at appropriate
spots, about every 100 characters..

The ALT + ENTER forces a line-feed and expands the 1024 limit.

How far is not really known. Just experiment.

.........From Dave Peterson..........

I put this formula in A1:
="xxx"& REPT(REPT("asdf ",25)&CHAR(10),58)&"yyy"

And adjusted the columnwidth, rowheight and font size and I got about 7300
characters to print ok.

.........End Dave P.................

Failing that, use a Text Box to store the text or MS Word which is a word
processing application, unlike Excel which is not.


Gord Dibben Excel MVP

On Thu, 30 Nov 2006 09:01:00 -0800, Mhunter
wrote:

Thank you!

"Gary''s Student" wrote:

Thousands of characters

=LEN(A1) will display the number of characters in A1
--
Gary's Student


"Mhunter" wrote:

How many characters are allowed within one cell? I found a way to count words
but is there a way to count characters?


Gord Dibben MS Excel MVP



All times are GMT +1. The time now is 07:47 PM.

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