+ Reply to Thread
Results 1 to 6 of 6

How to display list of values in cells after using data validation drop down?

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    How to display list of values in cells after using data validation drop down?

    I have created drop down lists, now I want to display list of values in the cells corresponding to the option selected from the second drop down list. How do I do this?
    When I tried index and indirect function I got an error message and I dint know how to resolve it.
    I would appreciate any suggestions on how to address this. The file is attached and the values I need in sheet 1 are highlighted and the source values are in sheet 2.
    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How to display list of values in cells after using data validation drop down?

    hi Yahvi, welcome to the forum. in B15, try:
    =INDEX(Sheet2!$C$5:$AX$8,MATCH(A15,Sheet2!$B$5:$B$8,0),MATCH($B$14,Sheet2!$C$4:$AX$4,0))

    Model Name seems to be unique, so i'm basing on that. in B23 is a 0 value, but there are no 0 values found in Sheet2. so the formula for B24 onwards is:
    =INDEX(Sheet2!$C11:$AX11,MATCH($B$14,Sheet2!$C$4:$AX$4,0))

    if i'm wrong, let us know which cell is wrong, what should be the correct answer & how do you get that

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: How to display list of values in cells after using data validation drop down?

    Hi and welcome to the forum

    in B15, copied down, use this...
    =INDEX(Sheet2!$B$4:$AX$40,MATCH($A15,Sheet2!$B$4:$B$40,0),MATCH(Sheet1!$B$14,Sheet2!$B$4:$AX$4,0))

    then in B24, copied down, use this...
    =INDEX(Sheet2!$B$4:$AX$40,Sheet1!A24+7,MATCH(Sheet1!$B$14,Sheet2!$B$4:$AX$4,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to display list of values in cells after using data validation drop down?

    Hi benishiryo and FDibbins

    Many thanks to both of you, the solution works like a charm

  5. #5
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to display list of values in cells after using data validation drop down?

    Hi benishiryo and FDibbins

    Many thanks to both of you, the solution works like a charm

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: How to display list of values in cells after using data validation drop down?

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to display list of values in cells after using data validation drop down?

    Thanks for the info! I have marked it solved and starred both the posts. It's really a great help.

+ 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