NSE Nifty Put Call Ratio in Excel

In this article

Get Nifty put-call ratio in Excel with MarketXLS India and a connected broker. Use PCR for a selected expiry and inspect the option chain when you need to understand the ratio's inputs.

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

Put Call Ratio analysis and interpretation in Excel with MarketXLS formulas

Get MarketXLS India · India Excel function library

Get the ratio — India

=MXLSIN.PCR("NIFTY", 1, "oi")

The example requests the nearest expiry and open-interest basis. Use the PCR reference for the supported parameters. Keep the underlying, expiry and basis visible above the result.

OI versus volume — India

Open-interest PCR divides total put open interest by total call open interest. Volume PCR compares traded put and call volume. They describe different activity, so label the basis rather than displaying an unexplained number.

A ratio alone does not tell you whether puts were bought or written, nor does it establish the direction of the next price move. Check the selected chain and consider it alongside price and your own process.

Inspect the chain — India

=MXLSIN.ZerodhaOptionChain("NIFTY")

Use AngelOneOptionChain for an Angel One connection. Ensure the chain you inspect corresponds to the expiry used by PCR. Leave room for the table to spill and check the broker session if values stop updating.

Build a complete worksheet — India

Put PCR beside max pain and the underlying price, with expiry labels next to each calculation. The live Nifty PCR and max pain guide walks through that layout.

These functions summarize a current chain. They do not promise historical PCR data or a complete historical chain archive. Get MarketXLS India to connect the supported broker workflow to your Excel workbook.

About the authors
Robin

About Robin

Co-Founder & COO, MarketXLS

Robin is a co-founder and the COO of MarketXLS. He works with Ankur and Anagh on the MarketXLS blog, creating articles together about market data and spreadsheet workflows.

Written collaboratively by Robin, Ankur and Anagh.

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