Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Restrict cell value to unique value within column.

I am trying to create a spreadsheet which contains names of people in
column C.

I would like to configure the spreadsheet, so that as I enter names
into the cells in column C, excel gives me an error if the name being
entered already exists in another cell in Column C.

Anyone know how to do that?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Restrict cell value to unique value within column.

Look he

http://www.cpearson.com/excel/NoDupEntry.htm

In article ,
Hobbieman wrote:

I am trying to create a spreadsheet which contains names of people in
column C.

I would like to configure the spreadsheet, so that as I enter names
into the cells in column C, excel gives me an error if the name being
entered already exists in another cell in Column C.

Anyone know how to do that?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Restrict cell value to unique value within column.

From the ToolsOptions menu on the Edit tab, check the
"Enable AutoComplete for cell values" checkbox.

Now, Excel will try to AutoFill the entry, such that if you have already
typed
"Jane Doe" somewhere in the list and you begin typing "Jan", it will attempt
to fill in "Jane Doe".
If that happens with the name you are trying to enter, press escape and go
on to the next name.

"Hobbieman" wrote in message
...
I am trying to create a spreadsheet which contains names of people in
column C.

I would like to configure the spreadsheet, so that as I enter names
into the cells in column C, excel gives me an error if the name being
entered already exists in another cell in Column C.

Anyone know how to do that?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Restrict cell value to unique value within column.

Less intrusive would be just to highlight the cell (see bottom of the post
for another suggestion)

Select the column, with C1 as the active Cell

In the menu to

Format=Conditional Formatting

Change Cell Value is to Formula is

Enter a formula

=Countif($C$1:C1,C1)1

click the format button and then select the patterns tab, select a color
like Red

then OK out of the dialogs.

Now if you enter a duplicate value, the cell will turn red.

You could do something similar with the Menu Data=Validation using the
custom formula.

This will put up an error message.

--
Regards,
Tom Ogilvy

Hobbieman wrote in message
...
I am trying to create a spreadsheet which contains names of people in
column C.

I would like to configure the spreadsheet, so that as I enter names
into the cells in column C, excel gives me an error if the name being
entered already exists in another cell in Column C.

Anyone know how to do that?



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
Maddening Dilemma - Compare each cell within column a to each cell in column b and find unique matches [email protected] Excel Worksheet Functions 66 May 1st 23 03:44 AM
Filer for unique records and return all column data for unique rec bseeley Excel Discussion (Misc queries) 1 September 12th 09 12:17 AM
I would like to copy UNIQUE data from a column in a SINGLE CELL Yogi Excel Discussion (Misc queries) 2 July 14th 07 07:20 AM
How can I restrict cell data display to column width? Sally Excel Discussion (Misc queries) 0 January 6th 06 06:32 PM
Restrict Find to one column Matt. Excel Programming 2 July 10th 03 06:49 PM


All times are GMT +1. The time now is 02:06 AM.

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"