Web Query


Are you copying data to excel from some web pages everyday? Why bother when you have web query tool in your arsenal? With web query tool you easily import data to your workbooks and simply refresh them everyday.

There are alot of ways to import external data to excel. But importing a data table from a website is probably the easiest among them. You don’t need to write codes, you don’t even need to mess with menu screens. Here is how it is done:

Lets assume that we need to get daily US stock market figures for our reports. For that task, go to data tab and select “From Web” option from “Get External Data” section.

web_query (1)

After selecting “From Web” option, you will be greeted with a browser window within excel. This is where we setup our web query. Browser window will have your homepage loaded by default, for this example type www.investing.com/markets/united-states or google it from browser and navigate from homepage to US Stock Market figures page. You will notice small arrows around upper left corner of data table. Click on it. Here is how it looks at this stage:

web_query (4)

After you clicked on the arrow, click import button at lower right corner of browser. Now you will be asked about where do you want your data to be placed. Select a cell for that  and you will se a message appaer on that cell stating your data is being imported. This will take a couple of seconds and your data will be placed where you selected. Here have a look:

web_query (5)

Now that all the hard! work is done, do some formatting or insert it into your report. You are done. All that remains is right clicking any cell of this table and select “Refresh” from right click menu. Your data will be refreshed.


To see the finished product and check it yourself download our example workbook (Give it a refresh and see what happens).

You may also like...

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.