Vai al contenuto principale

Come trovare il testo più frequente con criteri in Excel?

Questo articolo parlerà di come trovare il testo più verificato in base ai criteri specifici da un intervallo di celle in Excel. Allo stesso tempo, introdurrò anche la formula per estrarre il testo più frequente in una colonna.

Trova il testo più frequente Trova il testo più frequente in base a criteri

Trova il testo che ricorre più di frequente in una colonna con formula di matrice

Se vuoi solo trovare ed estrarre il testo più verificato da un elenco di celle, aggiungi la formula seguente:

La sintassi della formula generica è:

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

1. Inserisci o copia questa formula in una cella vuota in cui desideri visualizzare il risultato:

=INDEX(A2:A15,MODE(MATCH(A2:A15,A2:A15,0)))
  • Suggerimenti:: In questa formula:
  • A2: A15: è l'elenco di dati che si desidera trovare il maggior numero di volte in cui compare un testo.

2. E poi, premi CTRL + MAIUSC + INVIO tasti contemporaneamente e otterrai il risultato corretto come mostrato nell'immagine sottostante:


Trova il testo più frequente in base a criteri con formule di matrice

A volte, potrebbe essere necessario trovare il testo che si verifica più di frequente in base a una condizione specifica, ad esempio, si desidera trovare il nome più verificato quale Progetto è Progetto A come mostrato nell'immagine sottostante:

La sintassi della formula generica è:

=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. Inserisci o copia la formula seguente in una cella vuota:

=INDEX($B$2:$B$15,MODE(IF($A$2:$A$15=D2,MATCH($B$2:$B$15,$B$2:$B$15,0))))
  • Suggerimenti:: In questa formula:
  • B2: B15: è l'elenco di dati che si desidera trovare il maggior numero di volte in cui compare un nome.
  • A2: A15 = D2: è l'intervallo di celle che contiene i criteri specifici su cui si desidera trovare il testo in base.

2. E poi, premere CTRL + MAIUSC + INVIO chiavi contemporaneamente, è stato estratto il nome più frequente del progetto A, vedi screenshot:


Trova il testo che si verifica più di frequente tra due date date con la formula di matrice

Questa sezione parlerà di come trovare il testo più comune che si trova tra due date date. Ad esempio, per trovare il nome più frequente in base alle date comprese tra il 6/28/2019 e il 7/5/2019, la seguente formula di matrice può aiutarti:

1. Si prega di applicare la formula seguente in una cella vuota:

=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))
  • Suggerimenti:: In questa formula:
  • B2: B15: è l'elenco di dati che si desidera trovare il maggior numero di volte in cui compare un nome.
  • A2: A15 <= E2: è l'intervallo di date inferiore o uguale a una data specifica su cui si desidera trovare il nome.
  • A2: A15> = D2: è l'intervallo di date maggiore o uguale a una data specifica in base alla quale si desidera trovare il nome.

2. E poi, premi CTRL + MAIUSC + INVIO chiavi insieme, è stato estratto il nome più frequente tra le due date specifiche, vedi screenshot:


Articoli di testo più relativi più frequenti:

  • Trova il secondo numero o testo più comune / frequente in Excel
  • Possiamo applicare la funzione MODALITÀ per scoprire il numero più frequente da un intervallo a nostro agio in Excel. Tuttavia, che ne dici di scoprire il secondo numero più frequente da una colonna? E se scoprissi il secondo valore di testo più comune da una colonna? Ecco alcune soluzioni alternative per te.
  • Trova il valore più comune (numero o stringa di testo) da un elenco in Excel
  • Supponendo di avere un elenco di nomi che contengono alcuni duplicati, e ora, si desidera estrarre il valore che appare più frequentemente. Il modo diretto è contare i dati uno per uno dall'elenco per ottenere il risultato, ma se ci sono migliaia di nomi nella colonna, in questo modo sarà fastidioso e dispendioso in termini di tempo. Il seguente tutorial ti introdurrà alcuni trucchi per risolvere questo compito in modo rapido e conveniente.
  • Ordina i dati in base al valore più frequente in Excel
  • Supponendo che tu abbia un lungo elenco di dati nel tuo foglio di lavoro e ora vorresti ordinare questo elenco in base alla frequenza con cui ricorre ogni parola. Vale a dire, il valore più comune (ad esempio, compare quattro volte nella colonna) viene elencato per primo, quindi seguito dalle parole che ricorrono tre volte, due volte e una volta come mostrato nelle schermate seguenti. Come hai potuto risolvere questa attività in Excel?

  • Bar Super Formula (modifica facilmente più righe di testo e formula); Layout di lettura (leggi e modifica facilmente un gran numero di celle); Incolla su intervallo filtrato...
  • Unisci celle / righe / colonne e conservazione dei dati; Contenuto delle celle divise; Combina righe duplicate e somma / media... Impedisci celle duplicate; Confronta intervalli...
  • Seleziona Duplica o Unico Righe; Seleziona Righe vuote (tutte le celle sono vuote); Super Find e Fuzzy Find in molte cartelle di lavoro; Selezione casuale ...
  • Copia esatta Più celle senza modificare il riferimento della formula; Riferimenti di creazione automatica a più fogli; Inserisci punti elenco, Caselle di controllo e altro ...
  • Formule preferite e di inserimento rapido, Intervalli, grafici e immagini; Crittografa celle con password; Crea mailing list e invia email ...
  • Estrai testo, Aggiungi testo, Rimuovi per posizione, Rimuovi spazio; Creare e stampare totali parziali di paging; Converti contenuto e commenti tra celle...
  • Super filtro (salva e applica schemi di filtri ad altri fogli); Ordinamento avanzato per mese / settimana / giorno, frequenza e altro; Filtro speciale in grassetto, corsivo ...
  • Combina cartelle di lavoro e fogli di lavoro; Unisci tabelle in base a colonne chiave; Suddividi i dati in più fogli; Conversione in batch xls, xlsx e PDF...
  • Raggruppamento tabelle pivot per numero della settimana, giorno della settimana e altro ... Mostra celle sbloccate e bloccate da diversi colori; Evidenzia le celle che hanno formula / nome...
scheda kte 201905
  • Abilita la modifica e la lettura a schede in Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Apri e crea più documenti in nuove schede della stessa finestra, piuttosto che in nuove finestre.
  • Aumenta la produttività del 50% e riduce ogni giorno centinaia di clic del mouse!
fondo officetab
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