+ Reply to Thread
Results 1 to 8 of 8

Excel- Data Validation

  1. #1
    Registered User
    Join Date
    12-31-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Excel- Data Validation

    Hey guys

    I have drop-down list in Column 1 and based on my selection in Column 1, a new drop-down list appears in Column 2.

    The problem I am facing is that if I change my selection in Column 1, Column 2 list does not change correspondingly. I am attaching my excel sheet for your reference.

    Please suggest what could be the possibilities with/without using macro.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Excel- Data Validation

    Hello & Welcome to the forum,

    Take a look at the Test tab and cells F3 and G3. I did not want to change your setup, but instead, show you an example.

    The named range used with G3 is MyChoices
    Attached Files Attached Files
    Last edited by jeffreybrown; 01-02-2013 at 03:20 PM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    12-31-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Excel- Data Validation

    Thank you very much Jeff for the prompt response. Let me describe my question in more detail.

    So for Test Tab- The problem is that while I am changing my selection in Column F3, Column G3 doesnt get reset. It still shows the earlier selected values.

    For eg. I select "Auto trip" in Column F3 and correspondingly "Auto 1" in Column G3. But then I decide to change my selection to "Air Train" in Column F3.

    I wanted to check if there is a way that Column G3 gets reset to blank after my change in selection in Column F3 and doesnt show "Auto 1" anymore.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Excel- Data Validation

    You will need vba to do this. Is that what you want?

  5. #5
    Registered User
    Join Date
    12-31-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Excel- Data Validation

    Yes. I also think VBA it could be done with VBA but want sure.. I am not very good at VBA. Really appreciate if you could help me with this.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Excel- Data Validation

    Attachment in post #2 updated with a worksheet event. To the code, right click on the first tab and view code.

  7. #7
    Registered User
    Join Date
    12-31-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Excel- Data Validation

    You are awesome...Thank you very much Really appreciate the help.

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Excel- Data Validation

    You are very welcome and thanks for the feedback.

+ 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