No Duplicate Entries

buz

Board Regular
Joined
May 30, 2002
Messages
230
I have a dyn named DB with col D:D a numeric value that I want to eliminate the possibliity of duplicate entries. Is there a way to do this?

tfyh
Buz
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Looks like I have some studying to do re List Manager / Wizard - I'll see if I can figure this out

Thanks Aladin
 
Upvote 0
Just go to Data/Validation. In the Allow dropdown, select Custom. In the Formula box below that, type in Aladin's formula including the equal sign(don't forget to put in your range and your first cell reference.)
 
Upvote 0
tbardoni

thank you - I seem to be having trouble with it though.

The named range is MtrlData and the column where I do not want duplicate entries is D

I have tried =COUNTIF(MtrlData,D:D)<=1
and =COUNTIF(MtrlData,$D$2)<=1 (Row 1 is column headings)

Then typing in a duplicate entry produces no warning.

Had a thought and used COUNTIF(MtrlData,D:D)<=1 (no = in front) and now it works. Question now is: Where/How can i view the Data Validation formula/set up again? I'm not sure at this point whether I used D:D or $D$2 in the formula that is working.
 
Upvote 0
buz said:
...The named range is MtrlData and the column where I do not want duplicate entries is D...

Why do you bring in MtrlData? What range does it currently refer to? Is column D part of it?
 
Upvote 0

Forum statistics

Threads
1,221,691
Messages
6,161,322
Members
451,696
Latest member
Senthil Murugan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top