I'm trying to use the "From Folder" option of connecting to Excel Files to pull in multiple named ranges from multiple Workbooks. I'm hoping that I can find a way to make it so that new Workbooks and/or new Tabs that contain this named range will automatically get included.
My thought was to use the same Named Range in Excel, with a "Worksheet" scope (so that users can duplicate the Sheet name, which will automatically create a new version of the Named Range with the scope of that new Worksheet.
The named range would be rng_Data, so then I might have 1 workbook with 2 Sheets that have this Named Range, and another with 4 Sheets, etc.
workbook1.xlsx!Sheet1!rng_Data
workbook1.xlsx!Sheet2!rng_Data
workbook2.xlsx!Sheet1!rng_Data
workbook2.xlsx!Sheet2!rng_Data
workbook2.xlsx!Sheet3!rng_Data
workbook2.xlsx!Sheet3!rng_Data
etc.
I've used the "From Folder" option, chosen Combine and Transform, and then in the Combine Files pop-up I've chosen one of the rng_Data Tables. I'm getting the following error:
(BBB is one of the Sheet names).
If I go back to an earlier step, and click through the Binary on one of the Workbooks, and click through the Table associated with this range on this worksheet, I am able to see the data from the range, so Power Query is recognizing the Range and the data in it.
So, I'm not understanding why the "key isn't matching".
Is what I'm trying to do possible?
My thought was to use the same Named Range in Excel, with a "Worksheet" scope (so that users can duplicate the Sheet name, which will automatically create a new version of the Named Range with the scope of that new Worksheet.
The named range would be rng_Data, so then I might have 1 workbook with 2 Sheets that have this Named Range, and another with 4 Sheets, etc.
workbook1.xlsx!Sheet1!rng_Data
workbook1.xlsx!Sheet2!rng_Data
workbook2.xlsx!Sheet1!rng_Data
workbook2.xlsx!Sheet2!rng_Data
workbook2.xlsx!Sheet3!rng_Data
workbook2.xlsx!Sheet3!rng_Data
etc.
I've used the "From Folder" option, chosen Combine and Transform, and then in the Combine Files pop-up I've chosen one of the rng_Data Tables. I'm getting the following error:
(BBB is one of the Sheet names).
If I go back to an earlier step, and click through the Binary on one of the Workbooks, and click through the Table associated with this range on this worksheet, I am able to see the data from the range, so Power Query is recognizing the Range and the data in it.
So, I'm not understanding why the "key isn't matching".
Is what I'm trying to do possible?