+ Reply to Thread
Results 1 to 6 of 6

Drop Down List to Not Repeat Selected Value

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Drop Down List to Not Repeat Selected Value

    To lay down the foundation...I have 1 Workbook that contains 2 Sheets. Sheet 1 is where the drop down list will be located and Sheet 2 will hold the list that Sheet 1 will be referencing. Within Sheet 1 I have 2 separate columns, Column A that is for Dogs and a Column C that is Cats. Then in Sheet 2, I have Column A that has a list of different breeds of dogs and Column B that has a list of different types of cats. Also in Sheet 1, there is Column B in case the dog is a mixed breed and Column D in case the cat is a mix.

    So far I've made it so that the drop down list in Sheet 1 Column A lists the different types of dogs in the list in Sheet 2 Column A, while in Sheet 1 Column C lists the different types of cats in the list in Sheet 2 Column B. What I'm trying to do is to have Columns B and D in Sheet 1 show the drop down list without repeating the selected value in Column A and C, respectively.

    Attached is the document in case the description above was confusing. Thank you in advance for all of the help.
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Drop Down List to Not Repeat Selected Value

    Try this in Sheet1 module.
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Re: Drop Down List to Not Repeat Selected Value

    So I tried applying this code/concept to my real worksheet and I'm having some issues.

    So my cat/dog example Columns 1 and 2 and then Column 3 and 4 correspond to my real version as Column 4 and 5 and then Columns 7 and 8.
    In addition Dog is called "Applicable Bus (1)" and Cat is called "Applicable Data (1)"

    So I made the necessary changes in green but I run into an issue at the red text.

    Please Login or Register  to view this content.
    What am I doing in correctly? And how do i adjust it?
    Last edited by superdrno; 06-03-2014 at 02:49 PM.

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Drop Down List to Not Repeat Selected Value

    I not aware that you can create a Named Range like "Applicable Box (1)" with spaces in the Name.
    If that's what the names refer too. !!!!! Please Expand on your Thinking !!

  5. #5
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Re: Drop Down List to Not Repeat Selected Value

    I apologize I am not a frequent user of VBA and have to use it for this single occasion. Ok well I tried taking out the spaces and adding in underscores in the code and it still does not work. And so I changed it to simply "Business" and "Data" in the code and in the excel changed it to Business 1 Business 2 Data 1 Data 2 and I still have the same error. Is it the number of characters that's the issue? With "Dog" and "Cat" they were both 3 letter words so it worked perfectly.

    Please Login or Register  to view this content.

  6. #6
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Drop Down List to Not Repeat Selected Value

    Try this:-
    Attached Files Attached Files

+ 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. Drop down list that changes selected sheet
    By Mike_StGeorge in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 06-22-2017, 01:39 PM
  2. Replies: 2
    Last Post: 02-19-2014, 05:14 PM
  3. [SOLVED] Deleting Name When Selected from a Drop Down List
    By Grabaka in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-20-2013, 12:56 PM
  4. Drop down list with pre selected value.
    By nukecity83 in forum Excel General
    Replies: 9
    Last Post: 08-31-2009, 03:03 AM
  5. Value selected on drop down list, look-up on different sheet
    By liseladele in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2006, 10:30 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