vstack targeting indirect list of table names

dsehguht

New Member
Joined
Dec 29, 2015
Messages
10
I am building a workbook that will build a BOM off of several different selection variables (21) from the user. the user output is a list of table names that correspond to the tables i want to vstack().
this is what i have so far.
The aim is for this workbook to contain no macros. i have the table list through a power query, its the only thing i know how to do with power queries.

=VSTACK(IFERROR(INDIRECT(J6),""),IFERROR(INDIRECT(J7),""),IFERROR(INDIRECT(J8),""),IFERROR(INDIRECT(J9),""),IFERROR(INDIRECT(J10),""),IFERROR(INDIRECT(J11),""),IFERROR(INDIRECT(J12),""),IFERROR(INDIRECT(J13),""),IFERROR(INDIRECT(J14),""),IFERROR(INDIRECT(J15),""),IFERROR(INDIRECT(J16),""),IFERROR(INDIRECT(J17),""))

it works very well but i would like for it to be something like this instead, for quicker later updates.
Neither of these versions work.

=VSTACK(INDIRECT(J6#))
or
=VSTACK("indirect("&J6#&")")
or
=VSTACK(INDEX("indirect("&J6#&")","indirect("&J6#&")"))

J6# is a filtered array output
=FILTER(FILTER(List_Tables[Name],List_Tables[Name]<>"Skip"),IF(ISNUMBER(SEARCH("Qty",FILTER(List_Tables[Name],List_Tables[Name]<>"Skip"))),FALSE,TRUE))
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,254
Messages
6,123,893
Members
449,132
Latest member
Rosie14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top