+ Reply to Thread
Results 1 to 4 of 4

Display dropdown list after previous selection

  1. #1
    Registered User
    Join Date
    05-16-2011
    Location
    curacao
    MS-Off Ver
    Excel 2003
    Posts
    1

    Display dropdown list after previous selection

    HI,

    I would like to do the following but can't get it to work. I appreciate some help.

    This is what I would like to do:

    IF C4 = NORTH OR EAST IN CELL B5 WILL BE DISPLAYED ORDER STATUS AND IN CELL C5 WILL BE DISPLAYED A DROPDOWN LIST WITH THE OPTIONS OPEN, SHIPPED, BOTH

    IF C4= SOUTH OR WEST CELL B4 WILL BE DISPLAYED DO NOT VALIDATE

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Display dropdown list after previous selection

    Hi norm188

    Welcome to the Forum!!

    Here's a VBA Solution. Place this Code in the Worksheet Module. Right Click in the Sheet Tab, select View Code, Copy Paste the below Code into the Right Hand Window. Save the File as a Macro Enabled File.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    08-30-2013
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Display dropdown list after previous selection

    Hi- I was looking for some similar functionality and I was able to get your code working "sort of"
    My situation is slightly different in that I have a table, there are multiple columns.
    I have two columns [Column 1] & [Column 2], each of them has a drop down list.
    The values displayed in the drop down for [Column 2] are dependent on what was chosen from the drop down in [Column 1].
    I have used the INDIRECT function to properly display the right list of values.

    I have a couple of values in [Column 1], "Unstained" & "HE_Stain" for which I do not want the drop down to appear in [Column 2], all other values should activate the drop down list in [Column 2] and invoke the INDIRECT function.
    I was able to use you code to get things working beautifully in the first row of my table, does exactly what I want it to.
    Can't figure out how to get it to work on the rest of the rows in the table (which can vary depending on if the user is adding or deleting rows.

    Including your code as I have modified it to work. G16 is the location of first row [Column 1], H16 is the location of first row [Column 2]

    Please Login or Register  to view this content.
    any help you can provide is much appreciated!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Display dropdown list after previous selection

    Hi ptmald

    Sorry...see Forum Rule #2
    2. Don't post a question in the thread of another member -- start your own. If you feel it's particularly relevant, provide a link to the other thread. You may include up to 3 links to other URLs in a single post, no more, so only link to the relevant pages

+ 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. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM
  2. Replies: 1
    Last Post: 02-17-2012, 05:19 PM
  3. Replies: 2
    Last Post: 08-11-2011, 01:32 AM
  4. Re: Dropdown List, Dependent on Previous Column's Text
    By Cidona in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-04-2010, 12:06 AM
  5. Dropdown List, Dependent on Previous Column's Text
    By nickls in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 04-29-2010, 03:29 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