LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default Preventing user entering duplicate values in a cell range

I suggest data validation. Use the Custom mode for column B and
onwards. Enter the formula:
=AND(OR(B2=1,B2=0), COUNTIF($A2:A2,1)=0)
You can select all cells from B2 until G_whatever to enter this at
once. You can also provide messages.
For column A:A just use the simpler formula
=OR(A2=1, A2=0)

HTH
Kostis Vezerides

 
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
cell address rather than range name Angi Bemiss Excel Discussion (Misc queries) 1 December 1st 05 12:46 AM
Default Cell Values & Save Changes Dialog Box timg Excel Discussion (Misc queries) 1 November 4th 05 09:16 PM
Date Range within one cell Cachod1 New Users to Excel 5 October 18th 05 03:30 AM
How to count a range of values in a single cell? nyc_doc Excel Worksheet Functions 3 August 3rd 05 12:30 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


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