Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
This no. already exist
 
Posts: n/a
Default avoid retype the number more than one time withen acolumn

How can I avoid retyping the number more than one time withen acolumn.
I need a message "This no. already exist" to appear when I enter the same
number twice.
Thanks
  #2   Report Post  
Jan Karel Pieterse
 
Posts: n/a
Default

Hi This,

How can I avoid retyping the number more than one time withen acolumn.
I need a message "This no. already exist" to appear when I enter the same
number twice.


Let's say you're in cel A1.

- Select the entire column by clicking the column letter.
- Choose Data, Validation from the menu.
- Click the dropdown next to "Allow" and select Custom.
- Type this formula in the box next to "Formula":
=COUNTIF(A1:$A$1,A1)=1
- Enter an error message and a prompt if you like and hit OK.

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

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 you enter a negative time number in Excel? Thomas99 Excel Discussion (Misc queries) 4 March 17th 05 11:42 PM
Number of employees in the appropriate time column Steve Excel Worksheet Functions 8 March 10th 05 10:55 PM
how do i convert a number into minutes for a time of completion c. dhelmers Excel Discussion (Misc queries) 2 January 29th 05 08:49 AM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
Can excel automatically number itself each time you open a documen Alesha Excel Discussion (Misc queries) 1 January 11th 05 07:40 PM


All times are GMT +1. The time now is 12:28 PM.

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"