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.
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
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.

