+ Reply to Thread
Results 1 to 4 of 4

How to change drop down values based on another cell value?

  1. #1
    Registered User
    Join Date
    01-13-2005
    Posts
    10

    How to change drop down values based on another cell value?

    My query is as follows:
    I want to change the drop down values in cell B1, based on the value entered in cell A1. The drop down values in B1 should dynamically change as A1 is changed.

    The range of drop down values allowed for a value of A1 will be stored in another sheet (for e.g.)

    Please help.


    Thanks !

    Puneet Arora

  2. #2
    Debra Dalgleish
    Guest

    Re: How to change drop down values based on another cell value?

    You can create dependent data validation lists. There are instructions
    here:

    http://www.contextures.com/xlDataVal02.html


    puneetarora_12 wrote:
    > My query is as follows:
    > I want to change the drop down values in cell B1, based on the value
    > entered in cell A1. The drop down values in B1 should dynamically
    > change as A1 is changed.
    >
    > The range of drop down values allowed for a value of A1 will be stored
    > in another sheet (for e.g.)




    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


  3. #3
    Dan
    Guest

    RE: How to change drop down values based on another cell value?

    Step as follow:
    Create 2 drop-down list (A1, A2) which you would like to have reference to.
    Data->Validation

    e.g. On Sheet1, A1, which is referring to Sheet1,"B1:B10"
    e.g. On Sheet1, A2, which is referring to Sheet2,"A1:A10"

    Write VBA for with private sub "Worksheet_SelectionChange" which check if
    the target cells is A1. If yes, refresh the list on Sheet2. The
    drop-downlist will refresh value inside automatically.

    "puneetarora_12" wrote:

    >
    > My query is as follows:
    > I want to change the drop down values in cell B1, based on the value
    > entered in cell A1. The drop down values in B1 should dynamically
    > change as A1 is changed.
    >
    > The range of drop down values allowed for a value of A1 will be stored
    > in another sheet (for e.g.)
    >
    > Please help.
    >
    >
    > Thanks !
    >
    > Puneet Arora
    >
    >
    > --
    > puneetarora_12
    > ------------------------------------------------------------------------
    > puneetarora_12's Profile: http://www.excelforum.com/member.php...o&userid=18406
    > View this thread: http://www.excelforum.com/showthread...hreadid=473257
    >
    >


  4. #4
    paul
    Guest

    RE: How to change drop down values based on another cell value?

    i can email you a small sample sheet which uses vlookup and match to do this
    with comboboxes from the forms toolbar
    --
    paul
    remove nospam for email addy!



    "puneetarora_12" wrote:

    >
    > My query is as follows:
    > I want to change the drop down values in cell B1, based on the value
    > entered in cell A1. The drop down values in B1 should dynamically
    > change as A1 is changed.
    >
    > The range of drop down values allowed for a value of A1 will be stored
    > in another sheet (for e.g.)
    >
    > Please help.
    >
    >
    > Thanks !
    >
    > Puneet Arora
    >
    >
    > --
    > puneetarora_12
    > ------------------------------------------------------------------------
    > puneetarora_12's Profile: http://www.excelforum.com/member.php...o&userid=18406
    > View this thread: http://www.excelforum.com/showthread...hreadid=473257
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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