RE: Counting Texts
- From: Shane Devenshire <ShaneDevenshire@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jul 2009 16:29:10 -0700
Try this spreadsheet formula:
=LEN(A1)-LEN(SUBSTITUTE(A1,"w",""))
since SUBSTITUTE is case sensitive you can modify this to read
=LEN(A1)-LEN(SUBSTITUTE(LOWER(A1),"w",""))
--
If this helps, please click the Yes button.
Cheers,
Shane Devenshire
"Keith" wrote:
If cell A1 contains a paragraph of texts and if I want to count just letter.
"W"s (Upper or lower case), How can I achieve this?
Example: A1 contains "How now brown cow" the formula should return "4".
Thank you.
- Follow-Ups:
- RE: Counting Texts
- From: Keith
- RE: Counting Texts
- References:
- Counting Texts
- From: Keith
- Counting Texts
- Prev by Date: Re: Incremental Salary Adjustment Formula
- Next by Date: Re: a formula to pick up a column's filter condition
- Previous by thread: Re: Counting Texts
- Next by thread: RE: Counting Texts
- Index(es):
Relevant Pages
|