Skip i'r prif gynnwys

Sut i atal cofnodion dyblyg mewn colofn yn Excel?

Fel y gwyddom i gyd, mae Dilysu Data yn nodwedd ddefnyddiol iawn yn Excel, gallwch ei ddefnyddio i greu rhestr ostwng mewn cell a chyfyngu ar y gwerthoedd y gall defnyddiwr eu nodi. Ond weithiau efallai y byddwch am atal defnyddwyr rhag nodi gwerthoedd dyblyg mewn ystod o daflen waith. Sut allech chi osgoi cofnodion dyblyg yn Excel?

Atal cofnodion dyblyg gyda nodwedd Dilysu Data

Atal cofnodion dyblyg yn gyflym gydag un clic


swigen dde glas saethAtal cofnodion dyblyg gyda nodwedd Dilysu Data

Er enghraifft, rydw i'n nodi rhif cerdyn adnabod mewn ystod o gelloedd (A1: A20), ac rydw i eisiau sicrhau bod yr holl rifau eitemau a gofnodir yn ystod A1: A20 yn unigryw. Er mwyn atal dyblygu, dilynwch y camau hyn:

1. Dewiswch yr ystod o gelloedd a fydd yn cynnwys rhifau'r eitem.

2. Ewch i Dyddiad > Dilysu Data > Dilysu Data. Gweler y screenshot:

doc-atal-dyblygu-cofnodion1

3. Ac a Dilysu Data bydd blwch deialog yn arddangos. Cliciwch y Gosodiadau tab, yna cliciwch ar y gwymplen o dan Caniatáu, dewiswch Custom, ac yna nodwch y fformiwla hon “= COUNTIF ($ A $ 1: $ A $ 20, A1) = 1”I mewn i’r Fformiwla blwch. Gweler y screenshot:

doc-atal-dyblygu-cofnodion2

4. Ac yna cliciwch Rhybudd Gwall tab, o dan y Teitl blwch, nodwch “Mynediad Dyblyg”, A nodi'r neges gywir yn y blwch neges Gwall, fel“Cofnodwyd y gwerth eisoes. Rhaid i bob Rhif Eitem fod yn unigryw. Trio eto os gwelwch yn dda. "

doc-atal-dyblygu-cofnodion3

5. Cliciwch OK i'w orffen.

Nawr pan fyddwch chi'n nodi rhif dyblyg, bydd Excel yn atal y cofnod ac yn rhybuddio'r defnyddiwr gyda neges gwall, bydd yn ymddangos fel hyn:

doc-atal-dyblygu-cofnodion4


swigen dde glas saethAtal cofnodion dyblyg yn gyflym gydag un clic

Mae hi braidd yn anodd i ni ddefnyddio swyddogaeth Dilysu Data i atal cofnodion dyblyg, nawr byddaf yn cyflwyno ffordd hawdd a chyflym i chi ddatrys y dasg hon.

Kutools ar gyfer Excel: gyda mwy na 300 o ychwanegiadau Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod. Get it Now.

Gyda Kutools ar gyfer Excel, gallwch atal cofnodion dyblyg gydag un clic. Gwnewch fel hyn os gwelwch yn dda:

1. Dewiswch yr ystod rydych chi am atal cofnodion dyblyg.

2. Cliciwch Kutools > Atal Cofrestriadau Dyblyg, gweler y screenshot:

doc-atal-dyblygu-cofnodion5

Nawr pan fyddwch chi'n nodi'r un data â'r data cyntaf yn yr ystod, fe gewch chi'r rhybudd canlynol:

doc-atal-dyblygu-cofnodion6

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
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