Vai al contenuto principale

Come evitare voci duplicate in una colonna in Excel?

Come tutti sappiamo, la convalida dei dati è una funzionalità molto utile in Excel, puoi usarla per creare un elenco a discesa in una cella e limitare i valori che l'utente può inserire. Ma a volte potresti voler impedire agli utenti di inserire valori duplicati in un intervallo di fogli di lavoro. Come hai potuto evitare voci duplicate in Excel?

Impedisci le voci duplicate con la funzione di convalida dei dati

Evita rapidamente voci duplicate con un clic


freccia blu freccia destraImpedisci le voci duplicate con la funzione di convalida dei dati

Ad esempio, sto inserendo il numero di carta d'identità in un intervallo di celle (A1: A20) e voglio assicurarmi che tutti i numeri di articolo inseriti nell'intervallo A1: A20 siano univoci. Per evitare duplicati, segui questi passaggi:

1. Selezionare l'intervallo di celle che conterrà i numeri degli elementi.

2. Vai a Dati > Convalida dati > Convalida dati. Vedi screenshot:

doc-prevent-duplicate-entry1

3. E a Convalida dati verrà visualizzata la finestra di dialogo. Clicca il Impostazioni profilo scheda, quindi fare clic sull'elenco a discesa sotto Consentirescegli Custom, quindi inserisci questa formula "= COUNTIF ($ A $ 1: $ A $ 20, A1) = 1" nel Formula scatola. Vedi screenshot:

doc-prevent-duplicate-entry2

4. Quindi fare clic su Avviso di errore scheda, sotto il Titolo casella, inserisci "Voce duplicata"E inserisci il messaggio corretto nella casella Messaggio di errore, ad esempio"Il valore è già stato inserito. Tutti i numeri di articolo devono essere univoci. Per favore riprova. "

doc-prevent-duplicate-entry3

5. Clic OK per finirlo.

Ora, quando inserisci un numero duplicato, Excel impedirà l'inserimento e avviserà l'utente con un messaggio di errore, verrà visualizzato in questo modo:

doc-prevent-duplicate-entry4


freccia blu freccia destraEvita rapidamente voci duplicate con un clic

È piuttosto difficile per noi utilizzare la funzione di convalida dei dati per evitare voci duplicate, ora ti presenterò un modo semplice e veloce per risolvere questo compito.

Kutools for Excel: con oltre 300 utili componenti aggiuntivi di Excel, liberi di provare senza limitazioni in 30 giorni. Get it Now.

Con Kutools per Excel, puoi evitare voci duplicate con un clic. Per favore fai così:

1. Selezionare l'intervallo in cui si desidera impedire la duplicazione delle voci.

2. Clic Kutools > Impedisci voci duplicate, vedi screenshot:

doc-prevent-duplicate-entry5

Ora quando inserisci gli stessi dati con i primi dati nell'intervallo, riceverai il seguente avviso:

doc-prevent-duplicate-entry6

I migliori strumenti per la produttività in ufficio

🤖 Assistente AI di Kutools: Rivoluziona l'analisi dei dati basandosi su: Esecuzione intelligente   |  Genera codice  |  Crea formule personalizzate  |  Analizzare i dati e generare grafici  |  Richiama le funzioni di Kutools...
Funzioni popolari: Trova, evidenzia o identifica i duplicati   |  Elimina righe vuote   |  Combina colonne o celle senza perdere dati   |   Round senza formula ...
Super ricerca: VLookup a criteri multipli    VLookup a valori multipli  |   VLookup su più fogli   |   Ricerca fuzzy ....
Elenco a discesa avanzato: Crea rapidamente un elenco a discesa   |  Elenco a discesa dipendente   |  Elenco a discesa a selezione multipla ....
Gestore di colonna: Aggiungi un numero specifico di colonne  |  Sposta colonne  |  Attiva/disattiva lo stato di visibilità delle colonne nascoste  |  Confronta intervalli e colonne ...
Funzionalità in primo piano: Messa a fuoco della griglia   |  Vista di progettazione   |   Grande barra delle formule    Gestore di cartelle di lavoro e fogli   |  Resource Library (Testo automatico)   |  Date picker   |  Combina fogli di lavoro   |  Crittografa/decrittografa le celle    Invia e-mail per elenco   |  Super filtro   |   Filtro speciale (filtro grassetto/corsivo/barrato...) ...
I 15 migliori set di strumenti12 Testo Strumenti (aggiungi testo, Rimuovi personaggi, ...)   |   50+ Grafico Tipi (Diagramma di Gantt, ...)   |   40+ Pratico Formule (Calcola l'età in base al compleanno, ...)   |   19 Inserimento Strumenti (Inserisci il codice QR, Inserisci immagine dal percorso, ...)   |   12 Conversione Strumenti (Numeri in parole, Conversione di valuta, ...)   |   7 Unisci e dividi Strumenti (Combina righe avanzate, Celle divise, ...)   |   ... e altro ancora

Potenzia le tue competenze di Excel con Kutools per Excel e sperimenta l'efficienza come mai prima d'ora. Kutools per Excel offre oltre 300 funzionalità avanzate per aumentare la produttività e risparmiare tempo.  Fai clic qui per ottenere la funzionalità di cui hai più bisogno...

Descrizione


Office Tab porta l'interfaccia a schede in Office e semplifica notevolmente il tuo lavoro

  • 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!
Comments (35)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks....... A Lot...........
This comment was minimized by the moderator on the site
N'a tout simplement pas le comportement que vous décrivez.
This comment was minimized by the moderator on the site
I used your formula to restrict 6-number duplicates. But it gives me a warning to whatever number I enter. I'm sure it is detecting by per digit instead of the whole number? How do i solve this?
This comment was minimized by the moderator on the site
not working properly. only work in manual entry if i use "CTRL+D" then it allows duplicate entry.
This comment was minimized by the moderator on the site
i want to select the name of workers to whom duty allotted to a particular place what excel formula is to be used to find if i use vlook formula is shows the last worker repeatedly
This comment was minimized by the moderator on the site
I have same problem like some other users do. I used this formula, but now i can't enter any value. What might be wrong?
This comment was minimized by the moderator on the site
I used your formula to restrict name duplications. But then it is giving warning to whatever name I enter. Maybe it is detecting by per alphabet instead of the whole name? How can I solve this problem?
This comment was minimized by the moderator on the site
I am currently using this to not allow duplicates for a form of a schedule. However there are some exceptions I need to allow to be duplicated. Is there a way to allow certain values or in my case text to be duplicated while everything else is not allowed?
This comment was minimized by the moderator on the site
How i do the opposite? i have a column of data and want to warn the user if they are entering a NEW item number that doesn't match any previous enteries
This comment was minimized by the moderator on the site
[quote]How i do the opposite? i have a column of data and want to warn the user if they are entering a NEW item number that doesn't match any previous enteriesBy GARY[/quote] Hi Gary As you have mentioned that user is allowed only to enter duplicate data not unique and there are some entries available within particular range. Plz try this.... "=countif($A$1:$A$20,A1)>1"
This comment was minimized by the moderator on the site
thanks alot for the tips, but need your more help as i am working on sheet where i have to record the name of the trainees of the year 2015, so not to train the same trainess again 2017 i have to design the database which shows me the duplicate name by highlighting it, so please help me with it.
This comment was minimized by the moderator on the site
Hi Baseer Plz select both data 2015 and 2017 and follow as below.... Home->conditional Formatting ->Highlight Cells Rules->Duplicate Values... Click on OK. Duplicate names will be highlighted.
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