Importing Data in Excel through Web query from web page with multiple pages under same URL

salilbhatnagar

New Member
Joined
Aug 23, 2016
Messages
2
I have a web query to import yearly financial results from moneycontrol.com with URL

"http://www.moneycontrol.com/financials/relianceindustries/results/yearly/RI"


Data on the web page is organized in sets of 5 years per page. The query imports first 5 columns (Most recent 5 Financial years data) in excel. I want to import additional previous 5 years of data which is displayed on screen by clicking "previous years" on the web page. The issue is that the URL does not change when the link is clicked and hence data query is not able to import previous financial years data in excel.

Can anyone please help how to make web query import data from multiple pages organized under same URL?

Thanks in advance!


Here is the web query

WEB
1
-http://www.moneycontrol.com/financials/relianceindustries/results/yearly/RI-
Selection=5,6
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,216,037
Messages
6,128,439
Members
449,453
Latest member
jayeshw

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