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

I have a series of horizontal cells (7 IN ALL) that we use to track which
phases a document status is currently in.

A. not started=NS
B. in-progress=IP
C. under review=UR
D. reviewed=R
E. approved=A
F. on hold=OH
G. cancelled=C

We simply enter: "0"=NO or"1"=YES (Currently enter this manually and at
times fine that a document has to many "1"'s in a particluar row.

All phases will be populated with a "0" to begin with and the user will
enter/move "1" as the document progresses through each phase.

+---+-----+-----+-----+-----+-----+-----+-----+
| | A | B | C | D | E | F | G |
+---+-----+-----+-----+-----+-----+-----+-----+
| 1 | NS | IP | UR | R | A | OH | C |
+---+-----+-----+-----+-----+-----+-----+-----+
| 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+-----+-----+-----+-----+-----+-----+-----+
| 3 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
+---+-----+-----+-----+-----+-----+-----+-----+
| 4 | 0 | [1] | 0 | 0 | [1] | 0 | 0 | <<I want to avoid
double enteries
+---+-----+-----+-----+-----+-----+-----+-----+
The brackets are merely to highlight the duplicates

To avoid the user entering duplicates 1 in a range of cells i.e. A4:G4. I
want to
incorporate a feature that will not allow the user to enter 1 in multiple
cells in the ROW.

For example: if the user enters a 1 in B4 (In-progress) and then returns
later to update the document phase and enters a 1 in C4 (Under Review)
cells A4, B4, D4, E4, F4, G4 will automatically change their cell value back
to 0 zero. And so on. So, regardless where you enter a 1 all the other
cells will change to 0 zero. Preventing a user from entering multiple 1s


Thanks,
itechxxiv

 
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 04:38 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"