+ Reply to Thread
Results 1 to 11 of 11

User selects a value from dropdown list and the dependent values gets autopopulated

  1. #1
    Registered User
    Join Date
    02-11-2010
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    5

    User selects a value from dropdown list and the dependent values gets autopopulated

    Hello,

    If user selects a value from the drop down list, then the dependent values which are available for the selected value should get autopopulated in the collumn.

    There are two values in the drop down list that i created - IM and CM. Please find the dependent values for IM and CM below. I have placed the dropdown list in collumn A. If user select the value IM OR CM from any row in column A, I want the dependent values to be autopopulated in the corresponding collumn B as a list. User can select the values IM or CM from any row in the collumn A and the dependent value should get populated. I would appreciate and It would be really helpful if you could help me with the code for this

    Value Dependent Value
    IM In #
    IM Business
    IM Company
    IM Priority
    IM ID
    IM AF


    Value Dependent Value
    CM RC
    CM LOB
    CM Company
    CM CT


    Regards,
    San
    Last edited by biju_u; 05-25-2015 at 01:49 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    Hi. Is this what you had in mind?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    Here is one interpretation of what your requirements could be. If IM is choses then the values for IM are listed under. If the values for CM is chosen then that listing is presented.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    02-11-2010
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    Hello,

    Thanks for your quick response and support.

    i can see that you have created a section Category where I can select the dropdown IM or CM and the corresponding dependent values will be available in a dropdown in section Item.

    Can you please help me to automate this activity. Say if a user selects IM or CM in collumn A, then the dependent values gets autopopulated one after another in collumn B depending on the selection made in collumn A. Hope I am clear with my explanation and would please require your expertise in this regard.

    Thanks
    Santosh

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    Is this what you mean?
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    The way I read it was that the OP wanted to have the freedom to start his list from ANY cell in column A. If that's the case, I suspect it's a VBA solution that's needed.

    "If user select the value IM OR CM from any row in column A"

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    @Glenn

    You are probably right unfortunately. I just wish that proper examples were given when questions were posed. I'm getting tired of "guessing games".

    If I was a betting man, I bet that all the choices are wanted in a single cell too because even with VBA, the cells in column B would be pushing the next available row down and eliminating all the neighbouring cells in column A.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    This is a way to use each row horizontally.
    Attached Files Attached Files

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    If all the choices were wanted in one cell, isn't that simple?
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    02-11-2010
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    Thanks a lot for your solution and it works.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: User selects a value from dropdown list and the dependent values gets autopopulated

    To whichh of us were you referring when you said "your"?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dropdown list that selects ounces or grams
    By Greg7976 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-19-2015, 01:40 PM
  2. [SOLVED] Dependent Dropdown List Using Index and Small Won't Return Multiple Values
    By ebevis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2013, 02:28 AM
  3. Quick and Dirty : User selects from dropdown (sht1)...macro populates data from (sht2)
    By Joecruz749 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2013, 05:06 PM
  4. Listbox-user selects the values
    By cshm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-26-2007, 01:17 PM
  5. [SOLVED] Is this possible...Filter list after user selects location
    By Jan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2005, 04:06 PM

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