How to get current share price in excel

How to get current share price updates in Excel using formulas?

Use Excel’s STOCKHISTORY or web query functions to import live or historical share prices directly into your spreadsheet.