UntitledDocument
New Member
- Joined
- Apr 22, 2019
- Messages
- 9
I've got three tables
TableA:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]List of Tables[/TD]
[TD]Other Info[/TD]
[/TR]
[TR]
[TD]TableB[/TD]
[TD]Info1[/TD]
[/TR]
[TR]
[TD]TableC[/TD]
[TD]Info2[/TD]
[/TR]
</tbody>[/TABLE]
TableB:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]stuff[/TD]
[TD]morestuff[/TD]
[/TR]
[TR]
[TD]otherstuff[/TD]
[TD]extrastuff[/TD]
[/TR]
</tbody>[/TABLE]
TableC:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]onestuff[/TD]
[TD]redstuff[/TD]
[/TR]
[TR]
[TD]twostuffs[/TD]
[TD]bluestuff[/TD]
[/TR]
</tbody>[/TABLE]
I ultimately required info from say TableB, ColumnA. I want to get this info via two data validation drop down lists.
the first drop down lets me choose different tables listed in TableA using =INDIRECT("TableA
[List of Tables]"). this I have achieved.
with the second drop down I want to choose an item from Column A in the table previously selected from the first dropdown. This is the one I need help on.
So if my two drop downs selects are shown on a sheet:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]DropDown1=[/TD]
[TD]TableB[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]DropDown2=[/TD]
[TD]otherstuff[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I first chose TableB from my two options (TableB,TableC) from TableA
[List of Tables]
I then chose otherstuff from my two options (stuff, otherstuff) from TableB[Column A]
How would I write the indirect formula for the second drop down? My guess was something like =INDIRECT(C2[Column A])
I'm not really looking for another route around this because in reality my "TableA" is an ever-changing list of table names with an ever-changing amount of information in each table.
Just a heads up in case you think I'm looking for a complicated solution to a simple problem.
Thank you.
TableA:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]List of Tables[/TD]
[TD]Other Info[/TD]
[/TR]
[TR]
[TD]TableB[/TD]
[TD]Info1[/TD]
[/TR]
[TR]
[TD]TableC[/TD]
[TD]Info2[/TD]
[/TR]
</tbody>[/TABLE]
TableB:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]stuff[/TD]
[TD]morestuff[/TD]
[/TR]
[TR]
[TD]otherstuff[/TD]
[TD]extrastuff[/TD]
[/TR]
</tbody>[/TABLE]
TableC:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]onestuff[/TD]
[TD]redstuff[/TD]
[/TR]
[TR]
[TD]twostuffs[/TD]
[TD]bluestuff[/TD]
[/TR]
</tbody>[/TABLE]
I ultimately required info from say TableB, ColumnA. I want to get this info via two data validation drop down lists.
the first drop down lets me choose different tables listed in TableA using =INDIRECT("TableA
[List of Tables]"). this I have achieved.
with the second drop down I want to choose an item from Column A in the table previously selected from the first dropdown. This is the one I need help on.
So if my two drop downs selects are shown on a sheet:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]DropDown1=[/TD]
[TD]TableB[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]DropDown2=[/TD]
[TD]otherstuff[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I first chose TableB from my two options (TableB,TableC) from TableA
[List of Tables]
I then chose otherstuff from my two options (stuff, otherstuff) from TableB[Column A]
How would I write the indirect formula for the second drop down? My guess was something like =INDIRECT(C2[Column A])
I'm not really looking for another route around this because in reality my "TableA" is an ever-changing list of table names with an ever-changing amount of information in each table.
Just a heads up in case you think I'm looking for a complicated solution to a simple problem.
Thank you.