dirtywizard
New Member
- Joined
- May 1, 2015
- Messages
- 32
H
I'm working with Excel 2010 have a lookup table for a report I'm trying to build that looks like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Campaign[/TD]
[TD]Channel[/TD]
[TD]Cell[/TD]
[TD]Sub Cell[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]#1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]#2[/TD]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]#3[/TD]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]#1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]#2[/TD]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#3[/TD]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#4[/TD]
[TD]D[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#5 [/TD]
[TD]E[/TD]
[TD]E[/TD]
[/TR]
</tbody>[/TABLE]
My aim is to make 4 drop down lists containing de-duped values for each column (e.g. the 'campaign' list would be "A,B,C"), with the added wrinkle that the drop down lists should be conditional and only see the values that are relevant (e.g. if campaign "A" was selected, the drop down list for 'channel' would not have "#4, #5 " in it, because these are invalid options within the table). It's also worth noting this table will change over time with new records being added.
So far I've made four pivot tables (one for each column), and dynamic named ranges which i'm currently using for the drop downs. This gets me part of the way in creating de-duped lists for each column, but doesn't include the critical step to make the lists conditional.
How can I achieve these dynamic, conditional drop down lists? (happy for a VBA solution, though would prefer the lists themselves to be done via data validation as the end users are non-technical)
Thanks for taking the time to read this!
I'm working with Excel 2010 have a lookup table for a report I'm trying to build that looks like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Campaign[/TD]
[TD]Channel[/TD]
[TD]Cell[/TD]
[TD]Sub Cell[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]#1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]#2[/TD]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]#3[/TD]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]#1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]#2[/TD]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#3[/TD]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#4[/TD]
[TD]D[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]#5 [/TD]
[TD]E[/TD]
[TD]E[/TD]
[/TR]
</tbody>[/TABLE]
My aim is to make 4 drop down lists containing de-duped values for each column (e.g. the 'campaign' list would be "A,B,C"), with the added wrinkle that the drop down lists should be conditional and only see the values that are relevant (e.g. if campaign "A" was selected, the drop down list for 'channel' would not have "#4, #5 " in it, because these are invalid options within the table). It's also worth noting this table will change over time with new records being added.
So far I've made four pivot tables (one for each column), and dynamic named ranges which i'm currently using for the drop downs. This gets me part of the way in creating de-duped lists for each column, but doesn't include the critical step to make the lists conditional.
How can I achieve these dynamic, conditional drop down lists? (happy for a VBA solution, though would prefer the lists themselves to be done via data validation as the end users are non-technical)
Thanks for taking the time to read this!