Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Shahzad Zameer
 
Posts: n/a
Default How can I setup in Excel Worksheet Column a number is not repeat?

Dear All,

I want that in a Column a number should not repeat again. Suppose if I write
in Column A a number 7 then it can't be write again in same Column A. Please
help how to do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
RichardM
 
Posts: n/a
Default How can I setup in Excel Worksheet Column a number is not repeat?

Hi Shahzad

Select column A and go to Validation (on the Data menu)
select "Custom" in the "Allow" box and enter the formula:

=MATCH(A1,$A:$A,0)=ROW(A1)

then click OK

Any unique number is now allowed in column A but a duplicate will give
an error

Shahzad Zameer wrote:
Dear All,

I want that in a Column a number should not repeat again. Suppose if I write
in Column A a number 7 then it can't be write again in same Column A. Please
help how to do this?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Shahzad Zameer
 
Posts: n/a
Default How can I setup in Excel Worksheet Column a number is not repe

Thanks a lot Mr. RichardM, it solved my problem.

"RichardM" wrote:

Hi Shahzad

Select column A and go to Validation (on the Data menu)
select "Custom" in the "Allow" box and enter the formula:

=MATCH(A1,$A:$A,0)=ROW(A1)

then click OK

Any unique number is now allowed in column A but a duplicate will give
an error

Shahzad Zameer wrote:
Dear All,

I want that in a Column a number should not repeat again. Suppose if I write
in Column A a number 7 then it can't be write again in same Column A. Please
help how to do this?



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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM
How do I set up a column to repeat on other worksheets in Excel danmc1000 Excel Discussion (Misc queries) 2 January 27th 06 03:25 PM
How can i paste a 16 digit number in a excel worksheet? Rajeshkumar Excel Discussion (Misc queries) 2 January 21st 06 11:19 AM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM


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