Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Prevent Repeating Data Entry

Howdy,

I need a way to prevent a user from entering duplicate data in a range of
cells (ex. C6:C36). I need to prevent the user from entering an invoice
number twice. I don't know if this is something for Data Validation or not. I
have been trying that and cant get it to work.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Prevent Repeating Data Entry

Ryan,

Select C6:C36, the use Data / Validation... on the "Settings" tab, Select Custom under "Allow"
and use the formula

=COUNTIF($C$6:$C$36,C6)=1

HTH,
Bernie
MS Excel MVP


"Ryan" wrote in message
...
Howdy,

I need a way to prevent a user from entering duplicate data in a range of
cells (ex. C6:C36). I need to prevent the user from entering an invoice
number twice. I don't know if this is something for Data Validation or not. I
have been trying that and cant get it to work.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Prevent Repeating Data Entry

Thanks a lot, thats helped out alot

"Bernie Deitrick" wrote:

Ryan,

Select C6:C36, the use Data / Validation... on the "Settings" tab, Select Custom under "Allow"
and use the formula

=COUNTIF($C$6:$C$36,C6)=1

HTH,
Bernie
MS Excel MVP


"Ryan" wrote in message
...
Howdy,

I need a way to prevent a user from entering duplicate data in a range of
cells (ex. C6:C36). I need to prevent the user from entering an invoice
number twice. I don't know if this is something for Data Validation or not. I
have been trying that and cant get it to work.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Prevent Repeating Data Entry

What If I already have validation Allow=List AND I want to detect duplicates
in range say H13:H20

Validation:
Allow: List
Source: =AccountList

John

"Bernie Deitrick" wrote:

Ryan,

Select C6:C36, the use Data / Validation... on the "Settings" tab, Select Custom under "Allow"
and use the formula

=COUNTIF($C$6:$C$36,C6)=1

HTH,
Bernie
MS Excel MVP


"Ryan" wrote in message
...
Howdy,

I need a way to prevent a user from entering duplicate data in a range of
cells (ex. C6:C36). I need to prevent the user from entering an invoice
number twice. I don't know if this is something for Data Validation or not. I
have been trying that and cant get it to work.




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 can I know when a field is repeating during while data entry Dr Alok Modi MD New Users to Excel 4 July 5th 07 03:02 PM
prevent data entry into cell? keif Excel Worksheet Functions 3 April 3rd 06 08:37 PM
How can I prevent loosing formula during data entry? Thomas Jacob Excel Discussion (Misc queries) 2 June 13th 05 01:06 PM
How Can I Prevent Data Entry In Same Category on the Same Date? [email protected] Excel Programming 5 June 10th 05 07:24 PM
help with macro to save repeating data entry Tom Excel Discussion (Misc queries) 0 February 16th 05 04:24 AM


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

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"