Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Clearwater Tim
 
Posts: n/a
Default How do I prevent duplicate numbers from being entered in a column.

I am trying to set a check register example and want to prevent the user from
entering the same check number twice. Is this possible in Excel?
  #2   Report Post  
Bob Umlas
 
Posts: n/a
Default

Select the column, assuming D1 is the active cell, for example, do this:
Use Data/Validation, select Custom from the first dropdown, enter this in
the Formula:
=Countif(D:D,D1)=1
then set the appropriate error alert in the error alert tab.

Bob Umlas
Excel MVP

"Clearwater Tim" <Clearwater wrote in message
...
I am trying to set a check register example and want to prevent the user

from
entering the same check number twice. Is this possible in Excel?



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
Data validation to prevent duplicate entry. vishu Excel Discussion (Misc queries) 0 March 14th 05 11:33 AM
prevent duplicate entry for range of numbers 00001 to 99999 in ex. TK Excel Discussion (Misc queries) 4 March 6th 05 03:35 AM
Prevent duplicate entries Teri Excel Worksheet Functions 1 March 4th 05 01:28 AM
How do you find duplicate values in excel- 2 columns of numbers rickmanz Excel Discussion (Misc queries) 1 December 15th 04 11:16 PM
Add numbers for duplicate entries then delete Chillygoose Excel Worksheet Functions 1 November 2nd 04 04:35 PM


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