Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify duplicate data upon entry of that data
Is there a way to identify an entry as a duplicate in the same column. For
instance, if 4310011192 is already entered in the column and I enter it again, an error will result, informing the user "Duplicate entry". I know you can do this in ACCESS by virtue of the primary key, but don't know how to do it in Excel. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify duplicate data upon entry of that data
Let's say your data in Column A
Select column A:A Go to menu, Data Data Validation under Allow: select Custom under Formula: =COUNTIF(A:A,A1)=1 "Jan Buckley" wrote: Is there a way to identify an entry as a duplicate in the same column. For instance, if 4310011192 is already entered in the column and I enter it again, an error will result, informing the user "Duplicate entry". I know you can do this in ACCESS by virtue of the primary key, but don't know how to do it in Excel. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify duplicate data upon entry of that data
One way via data validation
Assuming data will only be entered manually* down col A .. *as any copy-pasting, or dragging down a cell with input in it will override the validation Select col A (click on the col header "A") Click Data Validation Allow: Custom Formula: =COUNTIF($A:$A,A1)<2 Click OK Test it out .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Jan Buckley" wrote: Is there a way to identify an entry as a duplicate in the same column. For instance, if 4310011192 is already entered in the column and I enter it again, an error will result, informing the user "Duplicate entry". I know you can do this in ACCESS by virtue of the primary key, but don't know how to do it in Excel. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify duplicate data upon entry of that data
I don't want to have to filter to find the dupes. I want them identified upon
entry. "Teethless mama" wrote: Let's say your data in Column A Select column A:A Go to menu, Data Data Validation under Allow: select Custom under Formula: =COUNTIF(A:A,A1)=1 "Jan Buckley" wrote: Is there a way to identify an entry as a duplicate in the same column. For instance, if 4310011192 is already entered in the column and I enter it again, an error will result, informing the user "Duplicate entry". I know you can do this in ACCESS by virtue of the primary key, but don't know how to do it in Excel. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify duplicate data upon entry of that data
Max, thanks so much! Works like a charm.
"Max" wrote: One way via data validation Assuming data will only be entered manually* down col A .. *as any copy-pasting, or dragging down a cell with input in it will override the validation Select col A (click on the col header "A") Click Data Validation Allow: Custom Formula: =COUNTIF($A:$A,A1)<2 Click OK Test it out .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Jan Buckley" wrote: Is there a way to identify an entry as a duplicate in the same column. For instance, if 4310011192 is already entered in the column and I enter it again, an error will result, informing the user "Duplicate entry". I know you can do this in ACCESS by virtue of the primary key, but don't know how to do it in Excel. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify duplicate data upon entry of that data
Delighted, Jan !
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Jan Buckley" wrote in message ... Max, thanks so much! Works like a charm. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sorting 2 colums of numbers and incremening them down | Excel Discussion (Misc queries) | |||
Data entry too slow even with calc set to manual | Excel Discussion (Misc queries) | |||
ranking query | Excel Discussion (Misc queries) | |||
Excel Macro to Copy & Paste | Excel Worksheet Functions | |||
Data validation to prevent duplicate entry. | Excel Discussion (Misc queries) |