Google-sheets – How to import data from Investing.com into spreadsheet

formulasgoogle sheetsimporthtmlimportxmlworksheet-function

I want to import the live individual stock price in the Google Sheets
as highlighted on the image.

Is that possible?

https://in.investing.com/equities/jagson-airlines-bo

enter image description here

Best Answer

=IMPORTXML("https://in.investing.com/equities/jagson-airlines-bo", 
           "//span[@id='last_last']")

=IMPORTXML("https://in.investing.com/equities/jagson-airlines-bo", 
           "//span[@class='arial_26 inlineblock pid-987852-last']")

=INDEX(IMPORTHTML("https://in.investing.com/equities/jagson-airlines-bo", 
                  "TABLE", 12), 2, 3)