#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Data validation

I have a table of 5 columns the cells in each column refer to a drop down
list (so there are five different lists) i want to prevent more than one of
the five cells being picked if that makes sense so in any one row if you have
picked from the drop down list in one cell you are prevented form doing the
same in any of the other four. hope that makes sense.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Data validation

**Maybe** something like this:

Assume the drop downs are in A1:C1

As the source for A1:

=IF(AND(B1="",C1=""),source,#N/A)

For the source in B1:

=IF(AND(A1="",C1=""),source,#N/A)

For the source in C1:

=IF(AND(A1="",B1=""),source,#N/A)

Where "source" is the range reference or a named range.

If any cells contain an entry when you set this up you may get a message
that says something like: The source currently evaluates to an error....
Just answer Yes at the prompt.

--
Biff
Microsoft Excel MVP


"ian c" wrote in message
...
I have a table of 5 columns the cells in each column refer to a drop down
list (so there are five different lists) i want to prevent more than one
of
the five cells being picked if that makes sense so in any one row if you
have
picked from the drop down list in one cell you are prevented form doing
the
same in any of the other four. hope that makes sense.



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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 09:58 AM.

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"