Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I prevent duplicate entry of a sku in a data table?

I want to keep folks from entering the same sku into a table (i.e. like data
validation does for other parameters).
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 506
Default How do I prevent duplicate entry of a sku in a data table?

Assume that you want to restrict the users from typing the duplicate values
in A Column.

Place the cursor in A1 cell and press Cntrl+Spacebar which will selecte the
A Column. Keep in mind that the active cell should be A1 cell. (Active cell
will have a white background after selection also)

Data ValidationSettingsValidation CriteriaAllowCustom and in
Formula paste this =COUNTIF(A:A,A1)=1

DataValidationError Alert Title enter this €śValue Already Exist€ť

DataValidationError Alert Error Message enter this €śColumn already
consist this Value, So try some other value€ť

Like this you can restrict the users by typing the duplicate value.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"hscja" wrote:

I want to keep folks from entering the same sku into a table (i.e. like data
validation does for other parameters).

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent duplicate data from being entered into the same column Char Excel Worksheet Functions 3 August 29th 07 03:28 PM
prevent data entry into cell? keif Excel Worksheet Functions 3 April 3rd 06 08:37 PM
How do I prevent duplicate data in Excel? PANKAJ KUMAR Excel Discussion (Misc queries) 3 October 19th 05 02:38 PM
Data validation to prevent duplicate entry. vishu Excel Discussion (Misc queries) 0 March 14th 05 11:33 AM
prevent duplicate entry for range of numbers 00001 to 99999 in ex. TK Excel Discussion (Misc queries) 4 March 6th 05 03:35 AM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"