• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Depedent Data Validation

Prashantvk123

New Member
Hi all,

Hope you ared doing well.

Please refer attached excel.
I am trying to get the dependent data validation in the attached excel.
this tracker is basically used for audit purpose and we are tracking associates accuracy in this tracker.
The data for validation is in cell P2:s46 there are monthly, daily and weekly activities and they are having different CTQs.
I want to add a data validation for e.g. if I select “frequency” in cell D10 as “Monthly” then in cell E10 (“Activity name”) it should give me only those “Activities” which are “Monthly”. Next when I select particular “Activity” in cell E10 it should give me “CTQs” assigned only for that particular “Activity” in cell F10. Need a macro free solution

Could you please assist??
 

Attachments

  • Quality Monitoring Form.xlsx
    21.7 KB · Views: 10
If all your activity descriptions are unique, you can use the approach set out at either http://chandoo.org/wp/2014/02/25/robust-dynamic-cascading-dropdowns-without-vba/ or http://chandoo.org/wp/2014/02/13/dynamic-cascading-dropdowns-that-reset/ (just ignore the macro component on that last link...all the macro does is clear any 'stranded' downstream choices if upstream choices change, and is not essential)

This is a bit tricky to set up.

Otherwise I have another solution that uses some PivotTables. I'm in the process of coding up a 'Dependent Data Validation' wizard for the Excel book I'm writing, and so might be able to provide you with a working beta in a couple of days.
 
Note that the approach at that link requires you to manually set up named ranges, and that all categories & sub categories are unique. My approach doesn't.
 
For better result plz mentioned output result in respective cell.
I have attach file. plz go through.
 

Attachments

  • Quality Monitoring Form1.xlsx
    24.7 KB · Views: 7
@atul khandekar: The problem with that approach is that every item then appears in the dropdown list. If there are hundreds or thousands of items, this makes using dropdowns a pain. Using cascading dropdowns removes that pain.
 
Hi

I have applied the logic for your Frequency and activity column, follow the logic and apply for rest of the drop downs , the key here is use of name ranges and choose function see the attached.

Thanks
Nebu
 

Attachments

  • Quality Monitoring Form.xlsx
    22.7 KB · Views: 7
Hi

I have applied the logic for your Frequency and activity column, follow the logic and apply for rest of the drop downs , the key here is use of name ranges and choose function see the attached.

Thanks
Nebu
Yes agree. I think offset option also suitable.
 
Back
Top