Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how to write a dependent validation with all numbers

need to place a value in A1 and have an associated drop down menu auto placed in A2?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default how to write a dependent validation with all numbers

need to place a value in A1 and have an associated drop down menu auto
placed in A2?


Here's one way.

Put the values for the drop-down lists in consectuive columns someplace; for example,
H1:H7 for A1=1
I1:I10 for A1=2
etc.

Then use
Data Data tools Data Validation Data Validation
and in the dialog box choose
Allow: List
Source: =OFFSET(G1,0,A1,COUNTA(OFFSET(G1,0,A1,10000,1),1))
and fill in the remaining DV settings as desired.

If the A1 values are other constants (that is, if they aren't the counting numbers 1,2,3,...) first use MATCH(A1,...,0) with a list of the allowed A1 values to get a counting number for the Source (in place of simply A1).

Hope this helps getting started.

(I have Excel 2010.)
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
Dependent Validation Paul Excel Worksheet Functions 1 February 13th 09 08:01 AM
Dependent Validation Paul Excel Worksheet Functions 1 February 12th 09 11:57 PM
Dependent Validation Paul Excel Worksheet Functions 1 February 12th 09 11:56 PM
Dependent Validation List Raj[_2_] Excel Programming 2 May 21st 08 07:38 PM
Validation of cells who is dependent on each other Jane Excel Discussion (Misc queries) 2 November 8th 07 01:25 PM


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