Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Data Validation when a list is already in place

I want to be able to allow an option on a drop down list only if another cell
has a particular value.

What I am trying to do is I have a list of people with their title
(Mr,Ms,Mrs,Miss) and I also have Gender (Male,Female). Both of these a
dropdown lists. I would like when Ms,Mrs or Miss is selected, it only allows
an entry of Female to gender, and if Mr is selected it only allows Male for
Gender.

Is there any way to do this?

Cheers
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Data Validation when a list is already in place

See:

http://www.contextures.com/xlDataVal02.html


--
Gary's Student
gsnu200702


"Alex" wrote:

I want to be able to allow an option on a drop down list only if another cell
has a particular value.

What I am trying to do is I have a list of people with their title
(Mr,Ms,Mrs,Miss) and I also have Gender (Male,Female). Both of these a
dropdown lists. I would like when Ms,Mrs or Miss is selected, it only allows
an entry of Female to gender, and if Mr is selected it only allows Male for
Gender.

Is there any way to do this?

Cheers

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Data Validation when a list is already in place

Us a custom type in the DV with a formula of

=IF(OR(H1="Ms",H1="Miss",H1="Mrs"),"Female","Male" )

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Alex" wrote in message
...
I want to be able to allow an option on a drop down list only if another

cell
has a particular value.

What I am trying to do is I have a list of people with their title
(Mr,Ms,Mrs,Miss) and I also have Gender (Male,Female). Both of these a
dropdown lists. I would like when Ms,Mrs or Miss is selected, it only

allows
an entry of Female to gender, and if Mr is selected it only allows Male

for
Gender.

Is there any way to do this?

Cheers



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Data Validation when a list is already in place

Hi Bob

I don't think that will work
I think the Op will need to set up 2 cells, one with M and one with F (I
used K1 and K2)
and use DV with List and enter the following into the List source
=IF(A1="Mr",$K$1,$K$2)

--
Regards

Roger Govier


"Bob Phillips" wrote in message
...
Us a custom type in the DV with a formula of

=IF(OR(H1="Ms",H1="Miss",H1="Mrs"),"Female","Male" )

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Alex" wrote in message
...
I want to be able to allow an option on a drop down list only if
another

cell
has a particular value.

What I am trying to do is I have a list of people with their title
(Mr,Ms,Mrs,Miss) and I also have Gender (Male,Female). Both of these
a
dropdown lists. I would like when Ms,Mrs or Miss is selected, it only

allows
an entry of Female to gender, and if Mr is selected it only allows
Male

for
Gender.

Is there any way to do this?

Cheers





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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM


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