+ Reply to Thread
Results 1 to 11 of 11

How to make a Cell look for another cell value then call up a drop down?

  1. #1
    Registered User
    Join Date
    11-21-2007
    Posts
    32

    How to make a Cell look for another cell value then call up a drop down?

    Hi All

    Is there a way to create a multiple dropdown (Similar to Windows Start menu) so that the user can select the item and its properties then the selections be placed into multiple cells? For example, i select wood from drop down list and i get another drop down list asking for the type of wood, I select MDF and another drop down ask for thickness. when I finished my selections, then the selected Items copy themselves into 3 different cells. Please see attached JPG file. Any help is much appreciated.

    Cheers

    ADSK

    HI all

    I have a drop down in (A1) cell and I select an item from it. I want (A2) cell to check the name in (A1) then call up another drop down i already made in (A2). Is that possible? If yes can you please tell me how to do that?

    Thanks

    ADSK
    Attached Images Attached Images
    Last edited by VBA Noob; 12-01-2007 at 12:18 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Quote Originally Posted by ADSK
    HI all

    I have a drop down in (A1) cell and I select an item from it. I want (A2) cell to check the name in (A1) then call up another drop down i already made in (A2). Is that possible? If yes can you please tell me how to do that?

    Thanks
    ADSK
    I don't know about A2 checking anything, but here is some info on Dependant drop down menus
    http://www.contextures.com/xlDataVal02.html

  3. #3
    Registered User
    Join Date
    11-21-2007
    Posts
    32
    Thank you for the link. I am already using INDIRECT formy list. Let me explain what I done and what I need

    I have a list of Materials (ex. wood, Metal, Glass, Fabric, etc...) in A1 cell
    I created other dropdowns for all of the items in this list and used =INDIRECT(A1) command to link them together. they show in (A2) cell

    So when I select Wood from the first drop down (A1), the second dropdown (A2) automatically calls for Wood list (ex. Maple, Rosewood, MDF, etc...). If i select Metal in A1, the second drop down (A2) looks for Metal list instead (ex. Stainless Steel, Aluminum, etc...) and so on. As i mentoned, I used =INDIRECT(A1) command to do this.

    Now, I have colors and finishes in (A3) for these items. If i use INDIRECT again, It will show me the same results as (A2). I need to tell (A3)cell to look at (A1) and see what is in there first. SO if its wood then call up a dropdown which i made for wood colors in (A3).

    Hope I explained it well.

    Thanks
    Last edited by ADSK; 12-01-2007 at 12:27 PM.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if example is what your after

    Cross Dependent Validation Lists

    if not try downloading the examples and I sure you will find what your after

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    11-21-2007
    Posts
    32
    VBA,

    Thank you very much. You been helpful like always.

    Cheers

    ADSK

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Your welcome.

    PS. Please remember to follow forums rules. Duplicate posts are not permitted

    VBA Noob

  7. #7
    Registered User
    Join Date
    11-21-2007
    Posts
    32
    VBA

    I did not make any duplicated posts. When I came back for the second time to check for a reply, I saw my previous postat the top. I don't know how it happened. Anyway, I apologize if I am the cause of this issue. I still dn't knowhow i did it tho

    Btw, I tried the link and yes, it does what i want but i can not figure itout on how it was done. I tried it on my workbook and it dosn't work. I just can't figure it out to how the code should be written. Can you help?

    Cheers

    ADSK

  8. #8
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Sheet DataVal cells B3 to D3 have the following formulas refereing to the name ranges

    B3 formula =IF(OR(AND(C3<>"",C3<>"N/A"),AND(D3<>"",D3<>"N/A")),Yes,IF(OR(C3="N/A",D3="N/A"),No,Eligible))
    C3 formula =IF($B$3="Yes",Dept,NotValid)
    Cell D3 formula =IF($B$3="Yes",Months,NotValid)
    Name ranges on lists tab

    Dept =Lists!$A$1:$A$4
    Eligible =Lists!$G$1:$G$2
    Months =Lists!$C$1:$C$12
    No =Lists!$G$2
    NotValid =Lists!$E$1
    Yes =Lists!$G$1
    HTH

    VBA Noob

  9. #9
    Registered User
    Join Date
    11-21-2007
    Posts
    32
    Yes I did see those in there. But ...
    Lets compare the two files (The sample file and my own)

    Sample file has ONLY two values to choose from (Either yes or No) Mine is a lot more than just yes or no.
    Cells C3, and D3 look for only these two values and respond to it.
    My list is about 20 items not just two. so other cells should check for the entry on B3 then call a dropdown that respond to Cell B3. I am going to send you a file that will explain this a lot better than I can. I dont mean for yo to write me the code. I know i should do the hard work. But I need to understand what I am doing. Maybe a simple line or a sample fle with some explanation would help. Please see the attached sample

    Thank you again for your help.
    Attached Files Attached Files

  10. #10
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if this helps

    Cell F4 data validation use

    =INDIRECT(D4&"finish")
    VBA Noob

  11. #11
    Registered User
    Join Date
    11-21-2007
    Posts
    32
    Thanks again VBA. I'll give it a try.
    Just to let you know, I spent the whole day yesterday working on it and searching on the web for answers. Finally, I thought of doing this another way by grouping all material lists together and run it independantly by itself. So far it works fine but thats the easy way out. I am going to try your suggestion and let you know if it worked.

    Thanks again for all your help.

    ADSK

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1