+ Reply to Thread
Results 1 to 13 of 13

Need help with Dependent drop down boxes

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    Harrisburg, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    4

    Need help with Dependent drop down boxes

    Good afternoon all!

    I have been given a spreadsheet consisting of 2 columns of data (county and assigned rep name). What I'm trying to accomplish is - when you select a particular county, the rep assigned automatically populates in the next cell. Is this possible? PLEASE HELP!!!!

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with Dependent drop down boxes

    Hi legalsec,

    Welcome to the forum.
    Yes.. this is possible, you can first define the names and then those names can be used with combination of Indirect function to achieve the desired results.

    Try doing this, in case of any issues, upload the sample file. thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    05-08-2012
    Location
    Harrisburg, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need help with Dependent drop down boxes

    I've tried that method, but with our success. Attached is the file I'm working on.
    Attached Files Attached Files

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with Dependent drop down boxes

    Hi legalsec,

    I have used the below dynamic name to achieve the desired results:-

    =OFFSET(Sheet2!$E$1,MATCH(Sheet2!$A$8,Sheet2!$D:$D,0)-1,0,COUNTIF(Sheet2!$D:$D,Sheet2!$A$8),1)

    phone tree.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    05-08-2012
    Location
    Harrisburg, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need help with Dependent drop down boxes

    Thank you SO much for your help last ween. I am continuing to work on the same spreadsheet - I am not attempting to connect the corresponding contact information with the selected associate? can you assist me with creating another drop down box?
    Attached Files Attached Files

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with Dependent drop down boxes

    Hi legalsce0331,

    See the attached file where i have changed the reference this time to address, rest all logic is same as before :-

    phone tree 050812.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  7. #7
    Registered User
    Join Date
    05-08-2012
    Location
    Harrisburg, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need help with Dependent drop down boxes

    I think there is an error. When I choose Adams county, Denise should populate the next drop down - however when I do this Mark is populated, not Denise.

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with Dependent drop down boxes

    Ooops.. yes.. the original reference to the cell (which supposed to be offset everytime) has moved to one cell down.. now its corrected.. see attached

    phone tree 050812.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  9. #9
    Registered User
    Join Date
    05-24-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Need help with Dependent drop down boxes

    DILIpandey where are you entering those formulas? It looks like a data validation drop down list but when I go to data validation there is no formula. Where are you inputing the offset/count if formula?

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Need help with Dependent drop down boxes

    Try Ctrl + F3 >> Name Manager
    HTH
    Regards, Jeff

  11. #11
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with Dependent drop down boxes

    Hi Baseball21,

    Welcome to the forum.

    Press Alt + I +N+D or (Ctrl + F3 as suggested by Jeff) to get to see "Name Manager" window and check the formula used in creating the name. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  12. #12
    Registered User
    Join Date
    05-24-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Need help with Dependent drop down boxes

    I have tried for the past few hours to implement this formula into my sheet with no luck. I have searched the internet for any sort of solution to my issue and have not found a solution. So I hope you guys can help. It is along the same lines as the one we just solved... but I will explain further.

    I want to have two data validations when I place an order... for each order
    1) the first drop down data validation list will allow me to select my vendor
    2) the 2nd drop down data validation list will allow me to select products that only that vendor sells.

    I accomplished the first data validation using a pivotable from the VendorProducts Sheet. It enabled me to eliminate the duplicate vendors in the product list. Instead of seeing Taylormade, Taylormade, Taylormade then Nike Nike Nike... I now only see my 6 vendors.

    However, this is where I am stuck. I want that second list to only list Taylormade products when I select Taylormade from my first list. I thought I would be able to achieve this through pivot tables... which would enable me to have a dynamic range. I would like to be able to add products to my product list and immediately be able to select it in the data validation drop down menu.

    I have put together a file with only the pages involved.

    On the PJ(Purchase Journal) sheet, I would like to be able to select the vendor and then select from a list of that vendor's products. I hope you guys can help... its been a long night. Much Thanks
    Attached Files Attached Files

  13. #13
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with Dependent drop down boxes

    Hi Baseball21,


    See the attached file with the required resolution.. again I have used a dynamic name "data" which is doing the task there.. See the name manager to understand more. thanks.

    DataValidation.xlsm

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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