+ Reply to Thread
Results 1 to 16 of 16

Dependent/Dynamic Drop Down Lists

  1. #1
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Dependent/Dynamic Drop Down Lists

    Friends,

    I have this list of groceries.

    Fruits, Vegetables, Beverages, and etc.

    Fruits' list contains its related items, Vegetables its items, and so on.

    So far, it's done as such.

    But here is the thing, if I select the first list to be "None", then, all other after lists should automatically become to "None" status.

    Furthermore, if I select one item in Fruits but "None" in the after list, then the other after remaining lists should become to "None" status, not touching the status of the list before.

    These lists shouldn't be dependent other than when I select "None" then the lists that are after the list should also become to "None" status.

    It's not complicated, it's just I am not good at explaining stuff.

    I really hope everyone understand where I am coming from.

    Please see attached.
    Attached Files Attached Files

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Dependent/Dynamic Drop Down Lists

    you can use an if statement in the data validation to test if the previous dependant is none and then only show "none" as list option

  3. #3
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    I tried but I couldn't do it. Could you please use the file to show? Please.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Dependent/Dynamic Drop Down Lists

    See attached: I think it does what you want
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    The column shouldn't extend.

    Fruits, Vegetables, Beverages, and etc. should stay in its cells with its lists intact.

    It's confusing because I can select only one item from, for example, in Fruits. If I select Apples in Fruits, then I can continue to select Tomatoes from Vegetables, and so on.

    However, once I select None in Fruits, then, Vegetables, Beverages, and etc., should all become to None.

    Moreover, if I select Apples in Fruits, then None in Vegetables, then, other remaining should become to None.

    It's like unlocking lists when moving forward but once None is selected then going forward comes to a stop.

    Am I making sense?

  6. #6
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    And I really like the idea how the next cell becomes to a stop of None. Which is perfect! Thanks for that!
    But again, the list or cells shouldn't extend.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Dependent/Dynamic Drop Down Lists

    The list only extended cause I dragged the DV list down. Just delete/clear.

    I changed DV to

    =IF($A1="none",None,$G$1:$G$7)

    where None is named range (G2)
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    Yes, almost perfect.

    When I select None, the next cell has to be changed manually to None.

    Can't it be done automatically?

    I mean, as soon as I select None, the others should become None too without having to select it.

    Please.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Dependent/Dynamic Drop Down Lists

    I don't follow your logic:
    the next cell has to be changed manually to None. ........the others should become None too without having to select it.
    - what are "the others"?

    How do we know many cells to change ?

  10. #10
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    Alright, so once I select in A2 the option of None, then, in A3, A4, and A5 should automatically appear to show None, without having to manually select it.

    The way you made it now is that even though there isn't an option other than None to select, I still have to open the drop down list and select it by myself. I want this to happen automatically.

    Once I select None in A2, I want the other cells in A3, A4, and A5 to show automatically None without having to open and select manually.

    Actually, you know what, I think what you have done is also perfect.

    I mean, what you have done is logically and categorically correct and that's how it should be.

    But I am still interested in what I have requested.

    Would you allow me to request or should I mark the thread as closed?
    Last edited by major_johnson; 05-16-2022 at 03:39 AM.

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Dependent/Dynamic Drop Down Lists

    You will need to use VBA to automatically fill in A3:A5 (or any range after "None" is selected).

    And what happens if you select more than one item from a category? and the category is not known from the DV list.

    What you need to consider is having 2 DV lists: first selects the category (Fruit, Vegetables..) the second lists the items in the selected category

    See attached: Select a Category then enter data in B. Select next category and start DV in B after last entry of previous category

    I have not catered for "None" as to my mind it serves no (to me) obvious purpose.
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    I also very much like this idea too.

    I mean, it's another logic way to look at it.

    Anyways, and however, I have got what I needed which is just great.

    So, thank you again, as always, you are the man, man! :D

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Dependent/Dynamic Drop Down Lists

    I did a VBA version but as you appear to be OK with current solution(s) I'll let that lie.

    Thank you for the feedback and rep.

  14. #14
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105

    Re: Dependent/Dynamic Drop Down Lists

    Quote Originally Posted by JohnTopley View Post
    I did a VBA version but as you appear to be OK with current solution(s) I'll let that lie.

    Thank you for the feedback and rep.
    No, no, no, don't let your precious work to lie! I appreciate every single thing that you do in Excel!

    Please do share it with me if you didn't let it go to waste!

  15. #15
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Dependent/Dynamic Drop Down Lists

    Please Login or Register  to view this content.
    Select category in A2

    Select blank cell in B to get list

    Enter data
    move to next blank cell

    Each entry is "hard-coded" so when you move to the next cell the DV list is removed from the previous entry.

    If you want to change an earlier entry, delete it from B then select Category in A2 to get a new DV list.

    Whether you choose you this ....!
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    03-26-2021
    Location
    California, US
    MS-Off Ver
    MS Office 2010
    Posts
    105
    Quote Originally Posted by JohnTopley View Post
    Please Login or Register  to view this content.
    Select category in A2

    Select blank cell in B to get list

    Enter data
    move to next blank cell

    Each entry is "hard-coded" so when you move to the next cell the DV list is removed from the previous entry.

    If you want to change an earlier entry, delete it from B then select Category in A2 to get a new DV list.

    Whether you choose you this ....!
    Wow, this is great Thank you, really! Perfect job!

+ 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. Dynamic Dependent Drop-Down Lists
    By mattmac31 in forum Excel General
    Replies: 5
    Last Post: 03-17-2022, 08:54 PM
  2. VBA for Dynamic Dependent Drop Down Data Validation Lists
    By benjhardie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2019, 03:32 AM
  3. Dependent Drop-Down w/ Dynamic Lists
    By covanpatten2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2016, 02:17 PM
  4. Two Dependent and Dynamic Drop Down Lists
    By marcelkahn5 in forum Excel General
    Replies: 6
    Last Post: 08-02-2015, 03:15 AM
  5. [SOLVED] Make 2 dependent drop down lists dynamic
    By arsene2conde in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-28-2013, 02:57 PM
  6. [SOLVED] Dependent drop down lists based on dynamic data range
    By strud in forum Excel General
    Replies: 15
    Last Post: 04-19-2013, 08:08 AM
  7. Dependent and dynamic drop-down lists
    By csunseri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2011, 04:32 AM

Tags for this Thread

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