+ Reply to Thread
Results 1 to 7 of 7

Create a drop down list based on the value in a cell

  1. #1
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    Create a drop down list based on the value in a cell

    I have ranges that are named Math, Reading, Science. I would like to create a drop down list in validation that chooses the range based on a value in a particular cell.
    Please Login or Register  to view this content.
    This formula does not work in validation. Is there a way to do this and retain compatibility with the MacIntosh platform?

    Veronica
    Last edited by vjboaz; 10-14-2008 at 05:00 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello vjboaz,

    I have attached a sample of using a two validation drop downs. The first will show the subject science, reading, or math. The second drop down will look at the contents of that cell and then load the second drop down with the classes for that subject. This only requires that you name your ranges.

    Sincerely,
    Leith Ross
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    This works but how do I duplicate it?

    This works absolutely beautifully. I think I may be a little dense. How do I duplicate it, I could only find this VBA code in the workbook:
    Please Login or Register  to view this content.


    How do I duplicate your drop downs? I can't see how to set them the way you have. Sorry to not get it...

    Thanks.

    Veronica

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello vjboaz,

    Sorry about the VBA code. That was a answer to another post. Forgot to remove it. The worksheet uses only validation drop downs and named ranges. Click on the drop down > Data > Validation... to see the references to the named ranges.

    Sincerely,
    Leith Ross

  5. #5
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    Thanks - it works like magic

    Thanks so much... it was the reference code that kind of confused me.

    It works perfectly.

    Veronica

  6. #6
    Registered User
    Join Date
    10-25-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Create a drop down list based on the value in a cell

    6 years ago! I hope you're still reading these! I'm so close to getting this right on my own spreadsheet, but when I create the list and input the source =INDIRECT(ListName), I get an error: "The Source currently evaluates to an error. Do you want to continue?" Can you help me fix this?

    ameyzing1

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Create a drop down list based on the value in a cell

    ameyzing1,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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 within a drop down list.
    By nomad3rider in forum Excel General
    Replies: 4
    Last Post: 11-01-2011, 08:53 AM
  2. Making cell values correspond with Drop down List values
    By jrcream in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2008, 03:14 AM
  3. Dynamic Drop Down List...with Criteria
    By TimE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2008, 11:43 AM
  4. Create an outcome based on two Cell Entries
    By quasifun in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 11-27-2007, 10:30 AM
  5. How to create a vlookup to work with a drop down list
    By Breezey in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-07-2007, 04:24 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