If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
help in counting a single character
Is there a formula to count every occurence of a
character. The following formula counts the number of cells with the letter 's'. =COUNTIF(A1:F35,"*s*"). I need to have a count of all occurences of the letter 's'. So if there is 2 's' in one cell, the count will show this. Thanks for any help. |
#2
|
|||
|
|||
help in counting a single character
Hi
try =SUMPRODUCT(LEN(A1:F35)-LEN(SUBSTITUTE(A1:F355,"s",""))) -- Regards Frank Kabel Frankfurt, Germany Jim wrote: Is there a formula to count every occurence of a character. The following formula counts the number of cells with the letter 's'. =COUNTIF(A1:F35,"*s*"). I need to have a count of all occurences of the letter 's'. So if there is 2 's' in one cell, the count will show this. Thanks for any help. |
#3
|
|||
|
|||
help in counting a single character
Thanks, that worked great.
-----Original Message----- Hi try =SUMPRODUCT(LEN(A1:F35)-LEN(SUBSTITUTE(A1:F355,"s",""))) -- Regards Frank Kabel Frankfurt, Germany Jim wrote: Is there a formula to count every occurence of a character. The following formula counts the number of cells with the letter 's'. =COUNTIF(A1:F35,"*s*"). I need to have a count of all occurences of the letter 's'. So if there is 2 's' in one cell, the count will show this. Thanks for any help. . |
Thread Tools | |
Display Modes | |
|
|