can you make a drop down list in a drop down list?

can you make a drop down list in a drop down list?

Post by U2J1cmxpbm » Thu, 25 Aug 2005 22:42:14


I have a problem, i created a drop down list of jobs that could have been
preformed i need to create another list for each of those jobs to be more
specific with what exactly was preformed i had this great idea that maybe if
i picked for example warranty work that another list would drop down and let
me pick manufacturing or vendor then another list would drop down and i could
pick what kinda manufact. or vendor warranty it was. this may not be possible
though it would be a great thing to implement in the future i need a way that
is user friendly to detail what work was done. any ideas?
 
 
 

can you make a drop down list in a drop down list?

Post by Don Guille » Thu, 25 Aug 2005 22:47:45

This kind lady will help you.
http://www.yqcomputer.com/


--
Don Guillett
SalesAid Software
XXXX@XXXXX.COM


if
let
could
possible
that

 
 
 

can you make a drop down list in a drop down list?

Post by KR » Thu, 25 Aug 2005 22:53:38

You can set up two separate drop down lists that are linked, if you use the
actual controls and not just the within-cell validation. Now that I think
about it, you could probably use the in-cell validation too, although I'd
have to think about the details if you had a bunch of rows where you wanted
to do this selection.

If you set a cell to equal your first combobox value (or first data
validation cell, etc.), then use that as a source for vlookup which could
return a column letter for your target sub-list. Maybe put this value in
your third column, so that each of your sub-list selection cells would be
able to use it's own pointer to the appropriate sublist. Then set your
second combobox or data validation cell to a named range that picks your
sub-list using the "indirect" worksheet function.

That's just off the top of my head, and the details really will depend on
whether you are using data validation or comboboxes (and maybe whether you
are using comboboxes on the worksheet itself, or on a userform)





if
let
could
possible
that
 
 
 

can you make a drop down list in a drop down list?

Post by U2J1cmxpbm » Thu, 25 Aug 2005 23:17:06

ok maybe i should tell you what exactly it is for... i'm creating a time
sheet for field opperators so they can tell us what they did, for how long,
and on what. ie sam worked 3 hours on warranty(selection from first list) i
want it to prompt him with was it manufacturing or vendor (selection from
second list) then prompt for type of work done (selection from third list)

i used data validation and am not familiar(i don't think) with controls or
comboboxes meaning if i have used them it's been a really long time since. i
asked one of the IT guys and he said access would allow me to do that but
they would like it in excel.

and i thought i knew this program!!!!!
 
 
 

can you make a drop down list in a drop down list?

Post by U2J1cmxpbm » Fri, 26 Aug 2005 00:11:05

ok so i found combobox in the control toolbox however i don't believe this is
what i'm looking for. im beginning to think that i'm going to have to give a
reference list and have them type what job they did. the other issue is that
i can't have this sheet(s) be too long i'm looking for the easiest way using
the least amount of space possible. i'm sorry if im bombarding you and thank
you for your all your help!!!!
 
 
 

can you make a drop down list in a drop down list?

Post by KR » Fri, 26 Aug 2005 03:07:01

ry this, from which you should be able to build what you want.

On sheet1, set up the source lists for validation:
A B C D E F
Sow A 1 Get Seed Fill tank Get rake
Mow B 2 Fill hopper Start mower rake piles
Rake C 3 Spread Seed Mow yard bag piles


A is your main list (job) and D,E,F are your potential sub-lists for each
job. C is just for hours spent, which would be just a normal data validation
list with no dependencies.

Name your ranges for A, D, E, F. You have to use something that isn't a
keyword in Excel (in any language) but you do want to include the reference
from B, so for example A would be "jobs", D would be "A_range", E would be
"B_range", and F would be "C_range". Note that these sub-ranges each have to
have the exact same name except for the letter reference.

Then set your first data validation cell to =jobs. On the cell just to the
right of that one, put in a vlookup, looking for the source data validation
value in your range of A1:B3 on the source sheet described above. Make sure
your last parameter requires an exact match [e.g.
=VLOOKUP(A1,Sheet1!A1:B3,2,FALSE)]. For the sake of this example, let's say
that you have your main JOBS data validation in A1, and your vlookup in B1.
Then in your next data validation cell (the sub-list one) make it
=concatenate(B1 & "_range") and it will pull the appropriate sublist each
time the JOBS cell is changed.

Warning: if you change the main jobs selection, it will not automatically
blank out the previous selection in the sub-list, even though the sub-list
options have changed. There may be a way to do so, but it isn't coming to me
at the moment.

HTH,
Keith



"Sburlingham" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
is
a
that
using
thank
the
think
I'd
wanted
could
be
on
you
been
more
maybe
and
i
way


 
 
 

can you make a drop down list in a drop down list?

Post by U2J1cmxpbm » Fri, 26 Aug 2005 03:50:15

k thank you that helped alot i really appreciate it.

"KR" wrote:

 
 
 

can you make a drop down list in a drop down list?

Post by RGV2S01Eb2 » Thu, 29 May 2008 07:46:01

am attempting to have the above work on my spreadsheet, and I have been
successfull up to the following point from the above post -- "Then in your
next data validation cell (the sub-list one) make it =concatenate(B1 &
"_range") and it will pull the appropriate sublist each time the JOBS cell is
changed. "

I can concatenate and receive the correct data name used for the range of
data I would like to show up in this second list. The problem is getting the
list to appear, it doesn't. How do I create a Data Validate list that uses
the results from the concantenate function?

I have attempted to use the Data Validation window in the following ways to
have the sub-list appear.
1. select "List" and attempt to put in the concatenate function in the
"Source" entry box, but it will not allow it.
2. select "Custom" and put the concantenate function in the function entry
box - doesnt work.
3. select "List" and attempt to referance the cell where the concantenate
function reside - doesnt work
4. Put the Concantenate function in the cell where I want the list to
appear, and then try to make the cell a list cell - doesnt work.

Please clarify the above post by explaining how to have the second list
appear from the results of the concantenate function.

As further background, my named ranges of data are on a seperate worksheet
in this same workbook. I have paid attention to capitalization of the named
ranges and the output of the concantenate function.
"KR" wrote:

 
 
 

can you make a drop down list in a drop down list?

Post by Norman Jon » Thu, 29 May 2008 11:22:48

i Dev,


See Debra Dalgleish at:

Data Validation -- Dependent Dropdowns from a Sorted List
http://www.contextures.com/xlDataVal13.html

and

Data Validation -- Create Dependent Lists
http://www.contextures.com/xlDataVal02.html

See also Bob Phillips Dependent Dropdowns
page at his xlDynamic site:

Dynamic Dependent Dropdowns
http://www.xldynamic.com/source/xld.Dropdowns.html



---
Regards.
Norman


"DevKMDonnan" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...

 
 
 

can you make a drop down list in a drop down list?

Post by Tm9CbG9hdH » Mon, 11 Aug 2008 07:22:01

Comrade Burlingham,

This is actually pretty simple, it just took me about a half hour to figure
out what the syntax is for the IF formula you put in your secondary (or
tertiary, or quaternary, whatever) dropdown list validation cell.

Example: I have a basic list of general property types: Retail, office and
industrial. In cell B1, I want the user to select one of the 3 types. In
B2, though, I want her to select the SUBtype; i.e., if she selects Retail in
B1, I want her to see only the retail subtypes in B2. If she selects Office
or Industrial in B1, I want her to see only the Office or Industrial subtype
list when she clicks the B2 dropdown. Let's say I've created the four
(General, Retail, Office and Industrial) dropdowns in another sheet in the
same workbook and have given each range the names George, Ronald, Oscar and
Izzy, though giving them the same names as the categories is okay, too).
Then I go back to cell B1 in my main sheet and select Data | Validation
(Excel 2007), choose List and write in the formula, =George. When done, if I
select cell B1, I'll have a dropdown that lists Retail, Office and
Industrial. Then I go to cell B2, select Data | Validation, choose List,
and--here's the secret--enter an IF formula as follows:

=IF(B1="Retail",Ronald,IF(B1="Office",Oscar,IF(B1="Industrial",Izzy,"Wrongamundo, Buckwheat!")))

There are 3 IF statements, so you have to have 3 closing parens on the end,
of course. But the trick is to identify the text in B1 in quotes (because
text is what Excel will see there), and the named range WITHOUT quotes,
because Excel sees it as a range address, not as text. The formula really
won't return "Wrongamundo, Buckwheat!" if the user fails to select one of the
three types, because those are the only ones I allowed. But I could have
allowed a user-created entry.

Pretty slick, eh? The cool part is you can create as many dropdown levels
as you have levels of patience to enter long, nested "IF" formulas...
__________________________
 
 
 

can you make a drop down list in a drop down list?

Post by dHJleGNlb » Wed, 20 Aug 2008 05:27:02

found this post very helpful and it answered my questions without posting a
new string. However, I have my first drop down list looking at 20 different
names, and my second dropdown list looking at 20 different lists, contingent
on which name I choose from the first list. There seems to be a limit on how
many levels you can do with the IF function, because I am getting errors when
I try to do this many.

To isolate the problem try this formula in a blank spread sheet, in say cell
B1:

=IF(A1=1,M1:M10,IF(A1=2,N1:N10,IF(A1=3,O1:O10,IF(A1=4,P1:P10,IF(A1=5,Q1:Q10,IF(A1=6,R1:R10,IF(A1=7,S1:S10,IF(A1=8,T1:T10,0))))))))

That works but if you add another two "levels":

=IF(A1=1,M1:M10,IF(A1=2,N1:N10,IF(A1=3,O1:O10,IF(A1=4,P1:P10,IF(A1=5,Q1:Q10,IF(A1=6,R1:R10,IF(A1=7,S1:S10,IF(A1=8,T1:T10,IF(A1=9,U1:U10,0)))))))))

...You get the following error:

The specified formula cannot be entered because it uses more levels of
nesting than are allowed in the current file format.

Can we change the file format? Is there another totally different method to
achieve this? Would the same issues face us if we went to a combobox? (I am
not very familiar with combo boxes) Do you have any remedy for this at all?



"NoBloatwarePlease" wrote:

 
 
 

can you make a drop down list in a drop down list?

Post by Q29zbW9tb2 » Wed, 19 Nov 2008 23:20:05

am trying to do the same thing and the second list will only work for 4 IF
functions, and I have 6. So, how do I get around that limit?

"trexcel" wrote:

 
 
 

can you make a drop down list in a drop down list?

Post by SFNoYW5rZX » Thu, 13 Aug 2009 00:44:01


HI, I have tried the above but when I go to create the drop down list using
the data validation tool and enter "=CONCATENATE(B8 & "_range")" I get an
error message saying that "the list source must be a delimited list, or a
reference to aa single row or column" what does this mean???

Thanks

HShanker
 
 
 

can you make a drop down list in a drop down list?

Post by TEhhbG » Tue, 01 Sep 2009 23:16:01

I, too, am attempting to nest a drop down list within in a validated list;
however, what I would really like to accomplish is this two-tier selection
within one cell. I liken this to a two-tier drop down menu, whereby you
select one item from a menu and a fly-out menu appears, from which you can
select one item (which carries out the appropriate function).

Specifically, in excel, I have a select set of 60 tasks. For 10+ of these
tasks, I have 5 subtasks. In a validated cell, I select any of the 10+
'master' tasks, I would like to have another fly-out list of options appear
(i.e. a list of the 5 subtasks). Upon selecting one of these subtasks, I
would ideally like to have a concatenation of the master task and subtask
appear in the cell (e.g. Task1:substask3). Is this type of programming
possible in Excel? I do not have the option of two different entries in
separate cells (i.e. as described in previous posts with dependent list
solutions). I hope this inquiry makes sense. I welcome your input!!!
 
 
 

can you make a drop down list in a drop down list?

Post by Don Guille » Tue, 01 Sep 2009 23:24:17


http://www.yqcomputer.com/


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
XXXX@XXXXX.COM