Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default No repeated/duplicated record

Hi all,
any1 tried before this?
the column will set it in a way that no repeated/duplicated record is
allowed to enter.

---------------------------------------------------------------------
For example:
Column1
Test1
Test2
---------------------------------------------------------------------
when user enter"test3", it will become like this:
For example:
Column1
Test1
Test2
test3
---------------------------------------------------------------------
But when user enter "Test1", it will prompt the user that record is already
inside. Please enter new record.

Thanks~

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default No repeated/duplicated record

COUNTIF(A:A,A1)=1

"kyoshirou" wrote:

Hi all,
any1 tried before this?
the column will set it in a way that no repeated/duplicated record is
allowed to enter.

---------------------------------------------------------------------
For example:
Column1
Test1
Test2
---------------------------------------------------------------------
when user enter"test3", it will become like this:
For example:
Column1
Test1
Test2
test3
---------------------------------------------------------------------
But when user enter "Test1", it will prompt the user that record is already
inside. Please enter new record.

Thanks~

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default No repeated/duplicated record

First, select the range A1:A100. Then, go to the Data menu, and select the
Validation menu item. This will display the Data Validation dialog. From
the "Allow" drop down box, select Custom, and enter the following formula in
the Formula box:

=COUNTIF($A$1:$A$100,A1)=1

Then, select the "Error Alert" tab, and enter the message you want to
display when the user enters a duplicate value. Finally, press OK.


*** Please do rate ***







"kyoshirou" wrote:

Hi all,
any1 tried before this?
the column will set it in a way that no repeated/duplicated record is
allowed to enter.

---------------------------------------------------------------------
For example:
Column1
Test1
Test2
---------------------------------------------------------------------
when user enter"test3", it will become like this:
For example:
Column1
Test1
Test2
test3
---------------------------------------------------------------------
But when user enter "Test1", it will prompt the user that record is already
inside. Please enter new record.

Thanks~

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
Unable to record Macro Can not Record Macro Excel Discussion (Misc queries) 1 July 29th 06 01:11 AM
Record data on two lines Dan Excel Discussion (Misc queries) 2 November 14th 05 02:08 PM
Record information is on two lines Dan Excel Discussion (Misc queries) 1 November 12th 05 03:31 PM
Can't go to 'Last Record' in one step in a Word doc. linked To Exc Earl Excel Discussion (Misc queries) 0 September 26th 05 05:57 PM
Always show new record Jenn Excel Discussion (Misc queries) 0 September 19th 05 07:59 PM


All times are GMT +1. The time now is 12:10 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"