Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Validation of multiple selections

What I want to do is a IF then statment to choose which validation area i
want to choose from. is this possible? or what is the best way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Validation of multiple selections

You can create dependent data validation dropdowns, as described he

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


Mark wrote:
What I want to do is a IF then statment to choose which validation area i
want to choose from. is this possible? or what is the best way to do this?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Validation of multiple selections

On May 9, 2:33 pm, Mark wrote:
What I want to do is a IF then statment to choose which validation area i
want to choose from. is this possible? or what is the best way to do this?


Another way of leveraging the example that Debra posted in the link is
an if statement in the data validation. If you have each section as a
named range then you could write a statement as follows for data
validation (using the fruit and veg example from the link in Debra's
Post)

=if(foodSelected ="Fruit",Fruit,if(foodSelected="Vegetable",Vegies, "-
select Food Type"))
Since foodSelected is your first dropdown you can evaluate against it
to populate your next drop down choice. Also as you can see this kind
of set up will allow for a default in the dropdown.

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
multiple selections for data validation ccw Excel Discussion (Misc queries) 4 June 24th 09 09:33 PM
Amend the DV0022 - Update Validation Selections code for more lists [email protected] Excel Worksheet Functions 1 January 4th 09 01:19 PM
Multiple selections Confuddled User!!!!!!!!!!!!! Excel Discussion (Misc queries) 3 August 30th 07 08:56 PM
Creating Multiple GIFs from Multiple Range selections -- I need a volunteer to test my code to see why it fails Father Guido[_5_] Excel Programming 0 November 19th 05 08:52 AM
Code to produce color font in data validation selections bdehning Excel Programming 4 October 22nd 04 01:43 PM


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