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 to avoid duplicate string value input in one column?

Hi,

I want to set a constraint on one excel column so that when the input
is duplicate
with other column, excel sheet will refuse to accept. It's string
type. Does anyone
know how to implement it in excel 2003?

Thanks,
--Wavelet

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to avoid duplicate string value input in one column?

Use data validation

Assume you want to restrict entry into column A if column B already contains
the value

Select column A
Goto the menu DataValidation
Select Custom
Formula:

=COUNTIF(B:B,A1)=0

OK out

Note that a user can still copy/paste or drag-n-drop a restricted value into
column A.

Biff

"Wavelet" wrote in message
oups.com...
Hi,

I want to set a constraint on one excel column so that when the input
is duplicate
with other column, excel sheet will refuse to accept. It's string
type. Does anyone
know how to implement it in excel 2003?

Thanks,
--Wavelet



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
avoid duplicate names in legend Khoshravan Charts and Charting in Excel 1 July 3rd 06 06:39 AM
i maintain DB of URLs in Excel. how can i avoid duplicate entry? Ajesh Excel Worksheet Functions 1 April 4th 06 05:48 PM
Avoid duplicate number entry when only start and stop numbers given. almk05 Excel Discussion (Misc queries) 1 March 26th 06 02:42 AM
How to avoid duplicate characters if only typed once? bonniep53 Excel Worksheet Functions 3 December 28th 05 03:42 PM
How can I avoid circular reference AND extra input maintchief New Users to Excel 3 November 10th 05 12:39 PM


All times are GMT +1. The time now is 04:35 PM.

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

About Us

"It's about Microsoft Excel"