Power Query (web page to Excel) - when there is no table?

GabrielAIK

New Member
Joined
Apr 23, 2018
Messages
20
Hi,

I would like to fetch data from an Internet page to Excel, but the problem is that the web page in question does not have a table that is importable.

Is it still possible to fetch the data, or is there no hope?

I'd like to fetch information from a website called Avanza.

E.g. this stock: https://www.avanza.se/aktier/om-aktien.html/82987/nokia-oyj

If you scroll down you see something called "Mäklarstatistik" (Broker statistics). I want to sort this by "Köpt" and then fetch the top 5 rows to Excel.

Is this possible?

Thanks!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
That data is in a table.

What's happening when you try to access it using Power Query?
 
Upvote 0
Oh alright!

I thought there needed to be a yellow arrow next to the table, for me to be able to select it. However, I cannot see such an arrow.

I can access the website using Power Query, but it looks just as if I opened it through a regular Chrome session.
 
Upvote 0
I think I fixed it?

I imported the whole website to a sheet, and then just removed all rows that I did not want. Then I went to the "Köpt"-column, and in Excel sorted from Largest to Smallest.

Should be it? I will double check later on when there are updated trades
 
Upvote 0
When I use goto Data>New Query>From Other Sources>From Web and enter the URL you posted I, eventually get to a Navigator page.

The Navigator page has 2 tabs, Table View and and Web View, and when I select Table View I get a list of tables.

The table you want, I think, is Table 0.
 
Upvote 0
When I use goto Data>New Query>From Other Sources>From Web and enter the URL you posted I, eventually get to a Navigator page.

The Navigator page has 2 tabs, Table View and and Web View, and when I select Table View I get a list of tables.

The table you want, I think, is Table 0.

Perhaps I have another version. I cannot find a Navigator page in my "New Web Query". Where do you see it?
 
Upvote 0
These are the steps I followed.

1 Opened a new instance of Excel.

2 Went to the Data>Get & Transform tab, this might be different on different versions of Excel.

3 Selected New Query>From Other Sources>From Web.

4 In the From Web dialog I entered the URL you posted and clicked OK.

5 This opened the Navigator dialog I mentioned, where I selected Table 0 and clicked Load.
 
Last edited:
Upvote 0
These are the steps I followed.

1 Opened a new instance of Excel.

2 Went to the Data>Get & Transform tab, this might be different on different versions of Excel.

3 Selected New Query>From Other Sources>From Web.

4 In the From Web dialog I entered the URL you posted and clicked OK.

5 This opened the Navigator dialog I mentioned, where I selected Table 0 and clicked Load.

Alright, thanks!

Seems we have different versions.

My steps:

1. Open Excel
2. Press on the Data tab
3. Press "From Web"
4. In the Adress-field, I enter the link: https://www.avanza.se/aktier/om-aktien.html/82987/nokia-oyj
5. Press Go

Then it looks like this: https://i.imgur.com/NeHxJSa.jpg
 
Last edited:
Upvote 0
That doesn't look like Power Query.

Which version of Excel do you have?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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