Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Comparing a column of names

I need to have an error message occur if the same name is used more than once
in that column. Is there a function or set of functions that I could use to
do that?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Comparing a column of names

What does "used more than once" mean?

Does that mean entered into only one cell in a range of cells?

If that's the case you can use data validation for this.

Assume you enter the names in the range A1:A10 and you do not want any
duplicates.

Select the range A1:A10
Goto the menu DataValidation
Select Custom
Formula:

=COUNTIF(A$1:A$10,A1)<=1

Biff

"lorik" wrote in message
...
I need to have an error message occur if the same name is used more than
once
in that column. Is there a function or set of functions that I could use
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
How do I replace A, B, C, Column names, with my own names? Lugojanul Excel Discussion (Misc queries) 1 March 15th 07 07:46 PM
Comparing Excel # and JPEG Names I Am Cdn Excel Worksheet Functions 3 November 22nd 06 11:11 PM
Comparing two dates in one column Koveras Excel Discussion (Misc queries) 1 November 11th 06 11:03 PM
comparing column values gall Excel Worksheet Functions 3 May 26th 06 05:07 PM
comparing names in a list ferde Excel Discussion (Misc queries) 6 March 22nd 06 05:11 AM


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