D
Dylan @ UAFC
needing a formulas that will count the charcter in a rnage
please advise
please advise
....Glenn said:sure to commit the array-formulas with CTRL+SHIFT+ENTER).
4. Contains exact case (result = 6)
=COUNT(--(FIND(B1,A1:A15)>0))
5. Starting with either case (result = 8)
=SUM(--(LEFT(A1:A15,1)=B1))
....6. Total occurrences of exact case (result = 9)
=SUM(LEN(A1:A15))-SUM(LEN(SUBSTITUTE(A1:A15,B1,"")))
8. Total occurrences of either case (result = 18)
=SUM(LEN(A1:A15))-SUM(LEN(SUBSTITUTE(SUBSTITUTE(A1:A15,LOWER(B1),""),
UPPER(B1),"")))
Inefficient. Use
=SUMPRODUCT(LEN(A1:A15)-LEN(SUBSTITUTE(LOWER(A1:A15),LOWER(B1),"")))
....How would this formula compare efficiency-wise?
=SUMPRODUCT(COUNTIF(range,"*"&REPT(char&"*",instance_array)))
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.