Editing 'Get Data from Web'

rjbinney

Active Member
Joined
Dec 20, 2010
Messages
293
Office Version
  1. 365
Platform
  1. Windows
I am pulling down data from a Wikipedia page that has many tables. I can easily use the "Get Data" function to pull down the tables individually.

But once I pull down, say, "Table 4", it would be great if I could just replicate all of that to do "Table 5," "Table 6," etc. instead of running a new query each time.

It sounds petty even as I'm typing it, so chalk it up to curiousity?

Thanks
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
if the tables have the same structure it can definitely be done. You would have to create one query using a Parameter to specify the table name (eg, Table 1). You can then right click the query and create a function from it. Then you load a list of table names in a new query, add a new column that invokes the function using the table name column as the input to the function. Finally expand the new column.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,344
Members
452,638
Latest member
Oluwabukunmi

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