+ Reply to Thread
Results 1 to 9 of 9

How to Reset Dependant Validation Data?

  1. #1
    Registered User
    Join Date
    02-03-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    11

    How to Reset Dependant Validation Data?

    My spreadsheet has a validation list for each of the cells A3:A34. Cells G3:G34 have a validation list dependant on the input on the A3:A34 cells. For example, if you select "Materials" from the drop-down list in cell A3, the validation list for G3 is limited to only material codes. If you select "Labor" from the drop-down list in cell A4, the validation list for G4 is limited to only material codes.

    The issue I'm having is that the user selects the data from the A3 cell, selects from the filtered list in the G3 cell, and then revises the A3 cell selection. The G3 cell does not reset and has incorrect data based on the original selection. How can I rest the dependant G3 cell back to blank if the A3 cell is changed?

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: How to Reset Dependant Validation Data?

    Look at this tutorial and see if your set is the same or if you are missing something

    http://mauriceausum.wordpress.com/20...oxes-in-excel/
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-03-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to Reset Dependant Validation Data?

    Quote Originally Posted by alansidman View Post
    Look at this tutorial and see if your set is the same or if you are missing something

    http://mauriceausum.wordpress.com/20...oxes-in-excel/
    Thanks, but the provided link only gives you instruction on how to setup a dependant validation list. It does not address my specific issue.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: How to Reset Dependant Validation Data?

    Yes, but is yours set up the same way? Your specific issue cannot be diagnosed without seeing your file and any VBA code you may have used. I failed mind reading in college. I thought that you might be able to self diagnose looking at a tutorial that works.

  5. #5
    Registered User
    Join Date
    02-03-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to Reset Dependant Validation Data?

    I used the validation tool to assign the range named "type" as the list of values to be selected for cells A3. I used the validation tool again for the G3 cell and used "=INDIRECT(A3)". The cells in rows, 4, 5, 6,7, 8...up to row 34 work the same way.

    I do not have any VBA codes for this sheet associated with this task. The VBA code to solve the issue is what I'm trying to get.

    Does a screenshot help? I'm just not sure how to give you any more info on the problem.
    Last edited by coreyjo; 11-20-2013 at 05:59 PM.

  6. #6
    Registered User
    Join Date
    02-03-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to Reset Dependant Validation Data?

    Attached is a simplified sample excel sheet that illustrates the issue.
    Attached Files Attached Files

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: How to Reset Dependant Validation Data?

    Running out for some exercise. Will check back in a couple of hours. If no one has helped by then, I will see what I can do. I am confident that it can be fixed.

    Alan

  8. #8
    Registered User
    Join Date
    02-03-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to Reset Dependant Validation Data?

    Quote Originally Posted by alansidman View Post
    Running out for some exercise. Will check back in a couple of hours. If no one has helped by then, I will see what I can do. I am confident that it can be fixed.

    Alan
    Thanks for trying to help out. I do appreciate it.

  9. #9
    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: How to Reset Dependant Validation Data?

    Hi coreyjo

    Place this Code in the Worksheet Module (Right Click on the Sheet Tab ---> View Code ---Paste the Code in the Right Hand Window)
    Please Login or Register  to view this content.
    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.

+ 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. Dependant data validation with dependant default value
    By JamesMeek in forum Excel General
    Replies: 2
    Last Post: 04-08-2013, 10:16 AM
  2. Dependant Data Validation
    By peperammi69 in forum Excel General
    Replies: 1
    Last Post: 03-04-2013, 06:24 AM
  3. [SOLVED] Reset dependant validation list when the previous validation list is changed.
    By Rimmu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2012, 09:23 AM
  4. Dependant Data Validation
    By rhlongo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-05-2008, 12:32 PM
  5. Dependant? Data Validation
    By matrixskydiver in forum Excel General
    Replies: 1
    Last Post: 12-08-2007, 08:10 AM

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