Consolidating a cell range from multiple worksheets - need final step

mhagerman

New Member
Joined
Oct 3, 2004
Messages
37
So I've been through multiple tutorials and online examples and I feel like I'm almost there but none of them have examples of using a range instead of a single value.

I have a directory full of 24 files and I want to do the automated equivalent of copying and pasting the same data range of C2:E10 from all 24 files into one table. Better still would be to copy only C2:C10 and E2:E10 (leave out column D).

How do I specify a range (not a named range) instead of a single cell reference when using Power Query?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I suggest you do this
1 give a name to the 2 ranges you want to import In one of your workbooks
2 import a named ranges.
3 turn on the formula bar and Look at the M code. substitute the name with the range and see if it works.

Alternatively, import the sheet and navigate to the ranges that way.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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