Only unique numbers allowed

brisbane bob

Board Regular
Joined
Aug 9, 2007
Messages
70
I wish to enter the numbers 1 thru 10 anywhere within column A from A1 to A30 (i.e. some of the cells will remain empty). I don't want to use any of the 1 thru 10 numbers more than once without being alterted.

Is this possible?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
If i understand you correctly and you dont want to repeat 1 through 10 more than once........?

select the range being used in this case A1:A30
Choose validation from the DATA menu
From the 'allow' list choose custom
enter this formula

=COUNTIF($A$1:$A$30,A1)=1

You wont be able to enter any of the range 1 through 10 more than once.
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,998
Members
448,539
Latest member
alex78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top