Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
roxigirl85 la Simpatie.ro
Femeie
25 ani
Bucuresti
cauta Barbat
30 - 46 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Count the Number of Occurrences of a String in Cell/Range Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 8 ani
Postari: 904
key words: occurrence ocurrence occurence count appearances

I want to count how many times the "X" string appears in each cell in a range of cells.

You can simply use something like the formula below and drag down:

=LEN(A5)-LEN(SUBSTITUTE(A5;"X";""))

From the total number of characters in the cell - LEN(A5) - you subtract the total number of characters after removing the ones you want to count with SUBSTITUTE.

For a range, you can work with SPILL:

=LEN(A5:A100)-LEN(SUBSTITUTE(A5:A100;"X";""))


pus acum 5 zile
   
Pagini: 1  

Mergi la