The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Excel drop-down list based on cell value

    Discussion in 'Apple and Mac OS X' started by bvawter, May 20, 2011.

  1. bvawter

    bvawter Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    I've seen dozens of posts showing how to create drop down lists based on the value selected in a different drop-down list. That doesn't help me, though.

    I'm looking for a way to have a drop-down list based on the result of a FORMULA in another cell.

    Ex:
    - If a certain condition is met, the cell value is 1
    - if a different condition is met, the cell value is 2

    - If the cell value is 1, then I want the next cell to have a drop-down list with options Low, Medium, High

    Any suggestions?
     
  2. toyota_scion_tc

    toyota_scion_tc Notebook Consultant

    Reputations:
    0
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    30
    Research conditional formatting or validation.
     
  3. nautikal

    nautikal Notebook Enthusiast

    Reputations:
    0
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    5
    You have to do this kind of an indirect way. The first step is to use an area of cells hidden or on another sheet for your validation list. There should be three cells with the formula something like: =IF($A$2=1,"Low",""). A2 would be the cell with possible values 1 or 2. So the formula says if A2 = 1 then the cell has a value "Low". Otherwise the cell is blank. Do this for medium and high as well.

    Part 2: For the cell where you want the list to appear, go to data validation (data then validation or simply ALT + D + L). Select List. Under source, select the range of cells we just created above. You may want to name that range to reduce the possibility of error.

    After doing the above steps, the drop down menu will be "Low, Medium, High" if the cell you are referencing is "1", and otherwise it will be blank. If you want another set of possible values for if the cell is not "1" then you can change the formula to something like: =IF($A$2=1,"Low","ASDF").


    Is this what you are looking for?
     
  4. bvawter

    bvawter Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    That worked like a charm. Thank you for your help!
     
  5. nautikal

    nautikal Notebook Enthusiast

    Reputations:
    0
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    5
    Glad to help!