Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Text disappears when word wrap is used | Excel Discussion (Misc queries) | |||
text to appear at top of cell | New Users to Excel | |||
Wrap text ceases to function in Excel if cell exceeds 9 lines | Excel Worksheet Functions | |||
Help inserting a Cell Value in a Text Cell | Excel Worksheet Functions | |||
Autofitting a row | Excel Discussion (Misc queries) |