Preskoči na glavno vsebino

Kako najti najpogostejše besedilo z merili v Excelu?

Ta članek govori o tem, kako najti besedilo, ki se je najbolj zgodilo, na podlagi določenih meril iz številnih celic v Excelu. Hkrati bom predstavil tudi formulo za pridobivanje najpogostejšega besedila v stolpcu.

Poiščite najpogostejše besedilo Poiščite najpogostejše besedilo na podlagi meril

Poiščite najpogostejše besedilo v stolpcu z matrično formulo

Če želite samo najti in izvleči besedilo, ki se je najbolj zgodilo, s seznama celic, uporabite spodnjo formulo:

Sintaksa generične formule je:

=INDEX(range, MODE(MATCH(range, range, 0 )))
  • range: is the list of cells that you want to find the most frequent occurring text.

1. Vnesite ali kopirajte to formulo v prazno celico, kjer želite prikazati rezultat:

=INDEX(A2:A15,MODE(MATCH(A2:A15,A2:A15,0)))
  • nasveti: V tej formuli:
  • A2: A15: je seznam podatkov, ki ga želite najti največkrat, ko se besedilo pojavi.

2. In nato pritisnite Ctrl + Shift + Enter tipke hkrati in dobili boste pravilen rezultat, kot je prikazano spodaj:


Poiščite najpogostejše besedilo na podlagi meril s formulami matrike

Včasih boste morda morali poiskati najpogostejše pojavljajoče se besedilo glede na določen pogoj, na primer, če želite najti najpogostejše ime, ki je projekt Project A, kot je prikazano spodaj:

Sintaksa generične formule je:

=INDEX(range1,MODE(IF(range2=criteria, MATCH(rang1,range1,0))))
  • range1: is the range of cells that you want to find the most frequent occurring text.
  • range2=criteria: is the range of cells contain the specific criteria that you want to find name based on.

1. Prosimo, vnesite ali kopirajte spodnjo formulo v prazno celico:

=INDEX($B$2:$B$15,MODE(IF($A$2:$A$15=D2,MATCH($B$2:$B$15,$B$2:$B$15,0))))
  • nasveti: V tej formuli:
  • B2: B15: je seznam podatkov, ki ga želite najti največkrat, ko se ime pojavi.
  • A2: A15 = D2: obseg celic vsebuje posebna merila, na podlagi katerih želite najti besedilo.

2. In nato pritisnite Ctrl + Shift + Enter tipk hkrati, je bilo izvzeto najpogostejše ime projekta A, glej posnetek zaslona:


Poiščite najpogostejše besedilo med dvema datumoma z matrično formulo

V tem poglavju bomo govorili o tem, kako najti najpogostejše besedilo med dvema datumoma. Če želite na primer poiskati najpogostejše ime na podlagi datumov med 6. 28. 2019 in 7. 5. 2019, vam lahko pomaga naslednja formula matrike:

1. Prosimo, uporabite spodnjo formulo v prazno celico:

=INDEX($B$2:$B$15, MATCH(MODE.SNGL(IF(($A$2:$A$15<=$E$2)*($A$2:$A$15>=$D$2), COUNTIF($B$2:$B$15, "<"&$B$2:$B$15), "")), COUNTIF($B$2:$B$15, "<"&$B$2:$B$15),0))
  • nasveti: V tej formuli:
  • B2: B15: je seznam podatkov, ki ga želite najti največkrat, ko se ime pojavi.
  • A2: A15 <= E2: je obseg datumov, ki so manjši ali enaki določenemu datumu, na katerem želite najti ime.
  • A2: A15> = D2: je obseg datumov, ki so daljši ali enak določenemu datumu, na katerem želite najti ime.

2. In nato pritisnite Ctrl + Shift + Enter tipke skupaj, izvlečeno je najpogostejše ime med posameznima datumoma, glej posnetek zaslona:


Bolj relativni najpogostejši besedilni članki:

  • Poiščite najpogostejšo vrednost (številko ali besedilni niz) s seznama v Excelu
  • Recimo, da imate seznam imen, ki vsebujejo nekaj dvojnikov, in zdaj želite izvleči vrednost, ki se pojavlja najpogosteje. Neposreden način je štetje podatkov enega za drugim s seznama, da dobite rezultat, če pa je v stolpcu na tisoče imen, bo ta način težaven in dolgotrajen. Naslednja vadnica vam bo predstavila nekaj trikov za hitro in priročno reševanje te naloge.
  • Razvrsti podatke po najpogostejši vrednosti v Excelu
  • Recimo, da imate na delovnem listu dolg seznam podatkov, zdaj pa bi radi ta seznam razvrstili po pogostosti pojavljanja posamezne besede. Se pravi, da je najprej navedena najpogostejša vrednost (na primer štirikrat v stolpcu), ki ji sledijo besede, ki se trikrat, dvakrat in enkrat pojavijo na naslednjih prikazanih posnetkih zaslona. Kako lahko to nalogo rešite v Excelu?

  • Vrstica Super Formula (enostavno urejanje več vrstic besedila in formule); Bralna postavitev (enostavno branje in urejanje velikega števila celic); Prilepite v filtrirani obseg...
  • Združi celice / vrstice / stolpce in vodenje podatkov; Vsebina razdeljenih celic; Združite podvojene vrstice in vsoto / povprečje... prepreči podvojene celice; Primerjaj obsege...
  • Izberite Duplicate ali Unique Vrstice; Izberite prazne vrstice (vse celice so prazne); Super Find in Fuzzy Find v mnogih delovnih zvezkih; Naključna izbira ...
  • Natančna kopija Več celic brez spreminjanja sklica formule; Samodejno ustvarjanje referenc na več listov; Vstavi oznake, Potrditvena polja in še več ...
  • Priljubljene in hitro vstavite formule, Obsegi, grafikoni in slike; Šifriraj celice z geslom; Ustvari poštni seznam in pošiljanje e-pošte ...
  • Izvleček besedila, Dodaj besedilo, Odstrani po položaju, Odstrani presledek; Ustvari in natisni vmesne seštevke strani Pretvarjanje med vsebino celic in komentarji...
  • Super filter (shranite in uporabite sheme filtrov za druge liste); Napredno razvrščanje glede na mesec / teden / dan, pogostost in drugo; Poseben filter s krepko, ležeče ...
  • Združite delovne zvezke in delovne liste; Spoji tabele na podlagi ključnih stolpcev; Razdelite podatke na več listov; Paketna pretvorba xls, xlsx in PDF...
  • Razvrščanje vrtilne tabele po številka tedna, dan v tednu in še več ... Prikaži odklenjene, zaklenjene celice po različnih barvah; Označite celice s formulo / imenom...
zavihek kte 201905
  • Omogočite urejanje in branje z zavihki v Wordu, Excelu, PowerPointu, Publisher, Access, Visio in Project.
  • Odprite in ustvarite več dokumentov v novih zavihkih istega okna in ne v novih oknih.
  • Poveča vašo produktivnost za 50%in vsak dan zmanjša na stotine klikov miške za vas!
dno pisarniške mize
Comments (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hello, thank you for your help.
I've used the "Find the most frequent occurring text based on criteria with array formulas" which works well for the 14 rows of data in your example however, when I increase the rows (and the formula values to match with CTRL+SHIFT+ENTER) it is still only searching the first 14 rows and returning "N/A" searching for anything past row 14.

I appreciate your help
Thank you
This comment was minimized by the moderator on the site
Hallo, eine wunderbare Lösung, funktioniert auch super - nur in meinem speziellen Fall noch nicht ganz: wenn im Suchbereich auch Leerzellen sind, also z.B. hier bei "Name" im Bereich "Finden Sie den am häufigsten vorkommenden Text anhand von Kriterien mit Array-Formeln", da sind bei mir auch leere Zellen dabei. Schon kommt überall nur noch "#NV". Gibt es da eine Lösung, um trotzdem noch den häufigsten (Text)-Inhalt zu finden? Vielen Dank!
This comment was minimized by the moderator on the site
...bzw. mit der Formel aus #41657 kommt kein #NV mehr, dafür aber auch nur manchmal ein Ergebnis, was nicht Null ist. Manchmal kommt der richtige Wert, häufig halt nur "0". ..:Danke :-)
This comment was minimized by the moderator on the site
Bagaimana jika range yang kita cari terdapat kolom kosongnya? misal kita buat rumus paten raport, kita ingin mencari akhlak umumnya siswa, kita ambil jangkauan terjauh, misal dalam 1 kelas, jumlah maksimal anak 60. pada suatu kelas lain jumlah siswa cuma 50, sehingga kolom 51 sd 60 kosong. apakah rumus demikian masih valid? saya coba kok #N/A atau mohon pencerahannya!
This comment was minimized by the moderator on the site
Hi, This is great, what I found is that when there is tie or only one record the formula results in N/A. How do I get it to show the single result? this is when I want to find the most common value based on criteria.
This comment was minimized by the moderator on the site
Hello, Yeslam,
To solve your problem, please apply the follwoing formula:

=IFERROR(INDEX($B$2:$B$15,MODE(IF($A$2:$A$15=D2,MATCH($B$2:$B$15,$B$2:$B$15,0)))),INDEX(B2:B15,MATCH(D2,A2:A15,0)))

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
HEY! This is really helpful. I'm wondering if you could help me, with, if there is a tie, to pick one of the top values/strings. thanks!
This comment was minimized by the moderator on the site
This is really helpful. I'm just thinking how to do this with a third criteria for "Find the most frequent text based on criteria"? let say Inventory, Project, Name then get the most occured name.

Thank you so much!
This comment was minimized by the moderator on the site
Hello,
To apply the fromula for three criteria, please apply the below formula:
=INDEX($A$2:$A$12,MODE(IF($A$2:$B$12=F2,IF($C$2:$C$12=G2,IF($D$2:$D$12=H2,MATCH($A$2:$A$12,$A$2:$A$12,0))))))


Tips:If you have more criteria, you just need to add the IF criteria as below:
=INDEX(range,MODE(IF(range1=criteria1,IF(range2=criteria2,IF(range3=criteria3,... MATCH(rang,range,0))))))


Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Halo gan,
bagaimana cara menemukan teks yang paling sering keluar KEDUA, KETIGA dan seterusnya?
Terima kasih :)
This comment was minimized by the moderator on the site
Hello, Dodik,
To solve your problem, please use the following formulas: (Please remember to press Ctrl + Shift + Enter keys together to get the result)

Find the second most common value:
=INDEX(A1:A20,MODE(IF((A1:A20<>"")*(A1:A20<>INDEX(A1:A20,MODE(IF(A1:A20<>"",MATCH(A1:A20,A1:A20,0))))),MATCH(A1:A20,A1:A20,0))))

Find the third most common value:
=INDEX(A1:A20,MODE(IF(((A1:A20<>"")*(A1:A20<>INDEX(A1:A20,MODE(IF(A1:A20<>"",MATCH(A1:A20,A1:A20,0)))))*(A1:A20<>INDEX(A1:A20,MODE(IF((A1:A20<>"")*(A1:A20<>INDEX(A1:A20,MODE(IF(A1:A20<>"",MATCH(A1:A20,A1:A20,0))))),MATCH(A1:A20,A1:A20,0)))))),MATCH(A1:A20,A1:A20,0))))
This comment was minimized by the moderator on the site
Thank you for this information, but what happens if there is a tie? For the generic example, =INDEX(A2:A15,MODE(MATCH(A2:A15,A2:A15,0))), how would the formula be modified to output text indicating that a majority could not be determined?
This comment was minimized by the moderator on the site
Hello, Lauren

If there are more than one result, you can use the below formulas:
First, you can use this array formula: (Note: after inserting the formula, please press Ctrl + Shift + Enter keys together to get the first result.)
=INDEX($A$2:$A$10,MATCH(MIN(MODE(IF(NOT(COUNTIF(C$1:C1,$A$2:$A$10)),(COUNTIF($A$2:$A$10,"<"& $A$2:$A$10)+1)*{1,1}))),COUNTIF($A$2:$A$10,"<"& $A$2:$A$10)+{1},0))

With this formula, you can extract all data from the most occurred value to least common value.
And then, you should use the below formula to count the number of the occurred text:
=COUNTIF($A$2:$A$10, C2)


https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-most-common-value.png


Please try, hope it can help you!
This comment was minimized by the moderator on the site
Very helpful advice in this particular post! It’s the little changes that make the largest changes. Thanks for sharing!  
This comment was minimized by the moderator on the site
Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me. website
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations