How to create a drop down list that results from the choice of another drop down list

I am trying to create a dropdown (pop up menu) that if you choose one item in that drop down creates another dropdown as an example.


First Cell A2 has dropdown has "Color", "Size".


Cell B2 has a drop down or choice of some sort based on your choice from cell A2 with the following.


If you choose "Color" the next column has a dropdown of "Red", "Blue", "Green". If you choose Size then the column has a dropdown of "1 in", "2in", "3in".


Cell C2 manually enter quantity


Cell C3 based on choices from Colomn A2 and B2 and what you enter on C2 will give a price


Not sure if I am explaining this all correctly Please let me know if you need better clarification.


Thank you to all in advance for any help provided.


AJ

MacBook Pro, OS X Mavericks (10.9.2), For numbers

Posted on Apr 19, 2014 12:49 PM

Reply
6 replies

Apr 20, 2014 9:35 AM in response to AJExtreme76

Here is a workaround that may satisfy you. I used conditional highlighting to hide the text in the column that was not related to the first choice by turning the text white.

User uploaded file

The choices in A popup-" •, color, size"

B popup- "choose color, red color, blue color, green color"

C popup- "choose size, big size, medium size, small size"


Someone could still make a choice of color even if color was not chosen in A. I don't see a way around that.


quinn

Apr 20, 2014 11:48 AM in response to AJExtreme76

If all you need is one set of these selections, you can work something out in a column. You would have pop-ups for Size/Color (cell A2), your color choices (A3), and your size choices (A4). You would filter the table to hide/show the correct set of rows (i.e., the correct second pop-up). The color/size pop-up in A2 would always be visible. If you choose "color" in A2, it would unhide row 3 which has the color choice pop-up. If you choose "size" it would unhide row 4 which has the size choice pop-up. Only one of those two rows would be shown. Neither would be shown until you choose either color or size in A2. The formula to determine the price might get a little complicated.


Just realize that with all this showing and hiding of rows to get the job done, your selection(s) have to be in a column, not across a row. Eachj set of selections takes several rows. You could compact it somewhat by moving the price and quantity to column B. Price could go in B2. Quantity could go in both B3 and B4 and your formula will have to determine which one to use.

Apr 20, 2014 8:06 PM in response to AJExtreme76

Hi AJ,


A table called Lookup with Item number, Description and Price

User uploaded file


Invoice Table. Type an Item number in Column A.


User uploaded file


Formula in A2 (and Fill Down):


=IFERROR(VLOOKUP(A2,Lookup::A:B,2,0),"")


VLOOKUP does the work by finding a match for the item number in the Lookup table.


IFERROR is wrapped around it to return "" (NULL) if there is no entry under Item in the Invoice.


Type the quantity into Column C


User uploaded file


D contains


=IFERROR(VLOOKUP(A2,Lookup::A:C,3,0)×C2,"")


Regards,

Ian.

May 4, 2014 7:58 PM in response to Yellowbox

Thank you Yellobox.


I had to modify the formula a little but that got me far enough along, I am able to figure out most of what is left. With your formula and incorporating the Pop-Up menu I think I will be able to bring it all together


Between your answer and the other answers on here it has given me a couple ideas that combines them all to accomplish what I need.


Thank you to all else that posted up and helped me with this.

May 5, 2014 6:40 AM in response to AJExtreme76

Hi AJ,


Thanks for the green tick and your reply. Just thinking about the workflow when filling in an invoice. Move the columns around to Item, Quantity, Description, Cost. Then you can type an Item number in A, press the tab key to enter Quantity in B. Fewer mouse/trackpad clicks!


Please call back if you need help with revising the formulas.


Regards,

Ian.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to create a drop down list that results from the choice of another drop down list

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.