Indian Stock Prices in Excel: Live and Historical

In this article

To get Indian stock prices into Excel, install MarketXLS India, connect your broker and enter:

See it in actionMarketXLS video
View current plans

Try it in your own spreadsheet

Get the free MarketXLS sample workbook (.xlsx).

No account needed. MarketXLS live data requires a paid plan. Preview workbook

Indian Stock Prices in Excel - real-time NSE BSE data and analysis with MarketXLS add-in
=MXLSIN.ZerodhaLast("RELIANCE:IN")
=MXLSIN.AngelOneLast("SBIN:IN")

Choose an India subscription, then connect the broker named in the formula. These examples return a single price; keep the symbol in a worksheet cell when building a reusable watchlist.

Build a live watchlist — India

Put supported symbols such as RELIANCE:IN and SBIN:IN in column A. In B2 enter =MXLSIN.ZerodhaLast(A2) and fill down. With Angel One, use =MXLSIN.AngelOneLast(A2) instead. Add headings so you can distinguish price, volume and other outputs.

For Zerodha, use =MXLSIN.ZerodhaVolume(A2) for volume and =MXLSIN.ZerodhaPreviousClose(A2) for the previous close. Use the matching Angel One functions when connected to Angel One. Check the catalog for each output's units: similar names do not always imply identical units across brokers.

Get historical candles — India

=MXLSIN.ZerodhaHistory("RELIANCE", "day", "2026-01-01 09:15", "2026-03-31 15:30")
=MXLSIN.AngelOneHistory("SBIN", "day", "2026-01-01 09:15", "2026-03-31 15:30")

These are sample historical date ranges. Replace them with the period you need. Leave the table's output area empty and confirm the returned timestamps and candles before charting. History availability, interval support and limits depend on the broker and instrument.

A live quote is a current snapshot or stream; a history function returns a date-bounded dataset. Keep the two in separate sections so a current price is not mistaken for an earlier day's close.

Add indicators without writing code — India

Use the RSI guide or Supertrend guide when you want indicator calculations. Use the Nifty 50 screener to work with a defined watchlist. Select the same interval across comparisons.

Check the connection — India

If data is missing, reconnect in the India add-in and test one known symbol. For #NAME?, check the function spelling and India namespace. For #SPILL!, clear the output cells. Broker access and market-data permissions are prerequisites; an Excel formula cannot bypass them.

Can I use generic US MarketXLS formulas? — India

Use the India MXLSIN. catalog for this workflow. US-market examples such as generic Last or QuoteMedia historical formulas are not substitutes for the broker-connected India functions.

Next step — India

Get MarketXLS India and use the India function library to check each formula. Continue with the India Excel workflow series.

Important Disclaimer

The information provided in this article is for educational and informational purposes only and should not be construed as investment advice, a recommendation, or an offer to buy or sell any securities. MarketXLS is a financial data platform and is not a registered investment advisor, broker-dealer, or financial planner. Always conduct your own research and consult with a qualified financial professional before making any investment decisions. Past performance is not indicative of future results. Trading and investing involve substantial risk of loss.

See MarketXLS in action

Bring this workflow into Excel.

Book a demo with our team to see how MarketXLS supports your market research.

Ankur
AnkurFounder & CEO, MarketXLS