It is working even without array formula. . no need to hit combination of keys. BTW thank a lot.Try ARRAY formula in C2 for case sensitive (copy down)
Code:=SUM((LEN($D$2)-LEN(SUBSTITUTE(UPPER($D$2),UPPER(B2),"")))/LEN(B2))
Assume your formula put in Column C and copied down, and some problems appeared as in :Try ARRAY formula in C2 for case sensitive (copy down)
Code:=SUM((LEN($D$2)-LEN(SUBSTITUTE(UPPER($D$2),UPPER(B2),"")))/LEN(B2))
Yes you are right, How we can avoid such problem ?Assume your formula put in Column C and copied down, and some problems appeared as in :
1] In C4 formula result =1, then, "jump" is equal to "jumps" ???
2] In C12 formula result =2, then, "the" is equal to "there" ??? ( there is only 1 "the")
Regards
Bosco
Hello experts,
i have list of some words, and i have wrote an essay in another cell where i want to see the words in UK Edubirdie list how many time used in essay.
example workbook attached herewith.
= WordCountλ(text,list)
= LAMBDA(txt,lst,
LET(
k, SEQUENCE(LEN(" "&txt)),
break, IF(CODE(MID(txt,k,1))=32,k,""),
start, FILTER(break,ISNUMBER(break)),
end, SEARCH(" ",txt&" ",start+1),
words, TRIM(MID(txt,start,end-start)),
MAP(lst,
LAMBDA(lw, SUM(N(words=lw)))
)
)
)
= REDUCE(sourceText, punctuation, replaceMarkλ)
replaceMarkλ
= LAMBDA(txt,chr, SUBSTITUTE(txt, chr, spc))
No post #18 eu respondi a versão do Excel