+ Reply to Thread
Results 1 to 5 of 5

Different dropdown lists based on one cell value

  1. #1
    Registered User
    Join Date
    12-01-2019
    Location
    porto
    MS-Off Ver
    office 365
    Posts
    2

    Exclamation Different dropdown lists based on one cell value

    Hi,
    I want cell A to display a dropdown list. (that's done). I want cell B to display a dropdown list based on cell A value (so far so good). I want cell C to display a dropdown list based cell A value. I'm not able to use indirect function because it show's up cell B drop down list. IF formulas are not working as well. Dependent lists also do not work because they are not single value. Any solution?

    Thank you

    IS
    Attached Files Attached Files
    Last edited by ines.serodio; 12-01-2019 at 08:25 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Different dropdown lists based on one cell value

    It might get lengthy if there are a LOT of possible options in the column A drop down, but you can use IF/THEN formulas in the DV Source to select drop down lists if you give them NAME RANGES.

    Let's say your lists on a sheet called LISTS. In column A you have the source for you first main drop down. In each of the following columns you have additional drop down lists, and you highlight each one and give them a name in the NAME MANAGER.

    Let's say columns B C and D have named ranges List1, List2 and List3.

    For your DV source formula in column C that is looking at column A, something like:
    =IF($A1="Cat", List1, IF($A1="Dog", List2, IF($A1="Bird", List3)))

    Hopefully that will send you down a usable road.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

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

    Re: Different dropdown lists based on one cell value

    Hi Ines,

    I think we can help you a lot better if you post an example file, please look at the yellowbanner at the top of the screen on how to upload a file what it should look like.

    I will try to explain in words without example..
    I think you can use Indirect function but you may need to add a little part to it make unique references for B and C

    so lets say col A has Apples, Banana, Orange and you pick Banana.

    then you use INDIRECT(A2) to get the Banana options

    but if you use INDIRECT(A2)&"B" and INDIRECT(A2)&"C" and you make the columnheaders "BananaB" and "BananaC" then you can make different dropdown lists based on the same Col A value

  4. #4
    Registered User
    Join Date
    12-01-2019
    Location
    porto
    MS-Off Ver
    office 365
    Posts
    2

    Re: Different dropdown lists based on one cell value

    Tried both ways but no results. excell attached
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: Different dropdown lists based on one cell value

    Attached is the file with Roel's proposal employed.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] dropdown lists based on previous cell values
    By var in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-10-2016, 03:46 PM
  2. [SOLVED] Help with if statements based on dropdown lists
    By cobrien64 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-18-2015, 02:44 PM
  3. [SOLVED] Selecting a table based on two dropdown lists.
    By nudiekap in forum Excel General
    Replies: 7
    Last Post: 02-18-2014, 11:40 AM
  4. Lookup value based on two dropdown lists
    By bellicusa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2011, 01:13 PM
  5. chart based on 2 dropdown lists
    By aftabn10 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-21-2011, 07:28 AM
  6. Hide/Unhide rows Based on Value from Dropdown Lists
    By 2Deep in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2010, 09:43 PM
  7. Reset Dropdown Lists based on Other inputs / cells
    By jonreynolds in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-12-2009, 12:20 PM

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