+ Reply to Thread
Results 1 to 4 of 4

if one drop down has a selection then the other drop down will be cleared

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    if one drop down has a selection then the other drop down will be cleared

    Hello, I have 2 drop down type data validation options on my worksheet and I need one of them to be clear of any visible selections if the other drop down has a visible selection picked. Ideally the can both be blank or only one of them can have a visible selection at any given time; so depending on the drop down menu option one picks it will clear the other.

    I was hoping for some help to do this primarily using a
    Please Login or Register  to view this content.
    type code if possible. Cell m6:P6 and cell M11:P11 have my drop down menu options.

    Appreciate your time and help!
    Attached Files Attached Files
    Last edited by lilsnoop; 04-19-2021 at 01:56 PM.

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: if one drop down has a selection then the other drop down will be cleared

    I think a list box or a combo box might be a better solution, but if you really want a drop down list you could do it with this code and variable length named ranges.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Croweater; 04-19-2021 at 06:13 AM.

  3. #3
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: if one drop down has a selection then the other drop down will be cleared

    Thanks Croweater! I'll give it a test run today at work! Appreciate your help!

  4. #4
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: if one drop down has a selection then the other drop down will be cleared

    No worries. Let me know if you need more help.

+ 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. Replies: 4
    Last Post: 01-16-2019, 10:20 AM
  2. Change the drop down values, based on selection in other columns(drop downs)
    By zeebee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2017, 01:16 PM
  3. [SOLVED] Clear up to three dependent drop down lists based on selection in superior drop down list
    By theletterh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-04-2016, 09:31 PM
  4. Post drop down selection in html data dependent on drop down is not coming
    By wfm007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2015, 08:57 AM
  5. Replies: 3
    Last Post: 01-31-2013, 06:22 PM
  6. Auto-update initial drop-down selection based on previous drop-downs
    By thornomad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2010, 09:55 AM
  7. controlling a form drop down based on selection of another drop down
    By flurry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2006, 11:31 AM

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