#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,560
Default Duplicated cell

Hi,

Is it possible to give an error message if you insert a duplicated field in
a excel cell like it can be done in ms access?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Duplicated cell

Data Validation: Formula: COUNTIF(B$1:B1,B1)=1
--
David Biddulph

"David" wrote in message
...
Hi,

Is it possible to give an error message if you insert a duplicated field
in
a excel cell like it can be done in ms access?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Duplicated cell

Name a range you want to check, in this case myrange and paste this in

=IF(MAX(COUNTIF(myrange,myrange))1,"There are duplicates","There are no
duplicates")

"David" wrote:

Hi,

Is it possible to give an error message if you insert a duplicated field in
a excel cell like it can be done in ms access?

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Duplicated cell

sorry should have said this is an array formula, Enter with CTRL + Shift +
Enter

"Mike" wrote:

Name a range you want to check, in this case myrange and paste this in

=IF(MAX(COUNTIF(myrange,myrange))1,"There are duplicates","There are no
duplicates")

"David" wrote:

Hi,

Is it possible to give an error message if you insert a duplicated field in
a excel cell like it can be done in ms access?

Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Duplicated cell

Hi Mike,
I want to have a field getting inputs and adding it to an excel sheet, as it
is possible in access.

Thanks,
Daoud

"Mike" wrote:

Name a range you want to check, in this case myrange and paste this in

=IF(MAX(COUNTIF(myrange,myrange))1,"There are duplicates","There are no
duplicates")

"David" wrote:

Hi,

Is it possible to give an error message if you insert a duplicated field in
a excel cell like it can be done in ms access?

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
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM


All times are GMT +1. The time now is 09:31 AM.

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"