Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JavyD
 
Posts: n/a
Default Count Text in a Cell

Hello, is it possible to count the number of text in a cell. I need to
change descriptions on items if the number of text in that description is
larger than 30. Sort of like a validation I guess. But I just want a
formula so that I can sort by that formula and change those descriptions that
have a text value, including spaces, etc, that is greater than 30.

Thanks.
  #2   Report Post  
Cutter
 
Posts: n/a
Default Count Text in a Cell


Use the LEN() function.

If A1 contains the word test

Then putting the formula =LEN(A1) in another cell will return 4

It also counts spaces.


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=484407

  #3   Report Post  
PCLIVE
 
Posts: n/a
Default Count Text in a Cell

Try:

To count the number of characters in a case, including spaces.
=len(A1)

And to change a description based on greater than 30.
=IF(LEN(A1)30,"description change","no change")

Regards,
Paul

"JavyD" wrote in message
...
Hello, is it possible to count the number of text in a cell. I need to
change descriptions on items if the number of text in that description is
larger than 30. Sort of like a validation I guess. But I just want a
formula so that I can sort by that formula and change those descriptions
that
have a text value, including spaces, etc, that is greater than 30.

Thanks.



  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Count Text in a Cell

=LEN(A1)


--

Regards,

Peo Sjoblom


"JavyD" wrote in message
...
Hello, is it possible to count the number of text in a cell. I need to
change descriptions on items if the number of text in that description is
larger than 30. Sort of like a validation I guess. But I just want a
formula so that I can sort by that formula and change those descriptions

that
have a text value, including spaces, etc, that is greater than 30.

Thanks.



  #5   Report Post  
JavyD
 
Posts: n/a
Default Count Text in a Cell

Man, that was too easy, made me look foolish. You guys are the best!

"Peo Sjoblom" wrote:

=LEN(A1)


--

Regards,

Peo Sjoblom


"JavyD" wrote in message
...
Hello, is it possible to count the number of text in a cell. I need to
change descriptions on items if the number of text in that description is
larger than 30. Sort of like a validation I guess. But I just want a
formula so that I can sort by that formula and change those descriptions

that
have a text value, including spaces, etc, that is greater than 30.

Thanks.




Reply
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
Text disappears when word wrap is used Mark_GS1CA Excel Discussion (Misc queries) 12 October 17th 05 12:44 PM
text to appear at top of cell jenniss New Users to Excel 4 August 30th 05 02:08 AM
Wrap text ceases to function in Excel if cell exceeds 9 lines nycemail Excel Worksheet Functions 1 July 24th 05 06:09 PM
Help inserting a Cell Value in a Text Cell Dave Excel Worksheet Functions 5 March 5th 05 09:06 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM


All times are GMT +1. The time now is 03:19 PM.

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

About Us

"It's about Microsoft Excel"