LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Harlan Grove
 
Posts: n/a
Default

N Harkawat wrote:
=LEN(A1)-SUMPRODUCT(--ISNUMBER(-RIGHT(A1,ROW(INDIRECT("1:"&LEN(A1)))))

will tell you the number of text characters in the cell

....

Not reliably. If A1 contained JDR89765X, your formula returns 9 rather
than 4.

An alternative that works no matter how decimal numerals and other
characters are scrambled is

=SUMPRODUCT(LEN(SUBSTITUTE(G2,{0;1;2;3;4;5;6;7;8;9 },"")))-9*LEN(G2)

 
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
Can a Formula in Cell X modify Cell Y? alMandragor Excel Discussion (Misc queries) 7 February 10th 05 09:51 PM
Display answer only in another cell of one containing a formula Mally Excel Discussion (Misc queries) 5 January 21st 05 01:07 PM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
How do I do math on a cell name in formula? Mark Mulik Excel Worksheet Functions 3 November 23rd 04 03:43 PM


All times are GMT +1. The time now is 02:13 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"