Guide · Google Sheets

IPO subscription and GMP in Google Sheets

A sheet that keeps up with every open IPO: price band, lot size, dates, how many times each investor category has subscribed, the unofficial grey-market premium, and later the listing gain. One formula per cell, from the IPO API.

Formulas we ran Real output Google Sheets

Set up once

  1. Get a free finance API key. The same key works for mutual funds and market data.
  2. Copy the Apps Script from the Sheets Lab, then in your sheet: Extensions → Apps Script, paste, Save, reload.
  3. Use EJI API → Set API key from the sheet's menu.

You can also try each formula in the Sheets Lab first, without a key.

One IPO, every figure

These are the real answers for Foodlink F&B Holdings (NSE symbol FOODLINK), a mainboard issue open from 26 to 30 November 2026, read at 5:03 pm on 27 November:

Google Sheets
=EJI_IPO_STATUS("FOODLINK")              → open
=EJI_IPO_PRICE("FOODLINK")               → 191        (top of the 181 to 191 band while it is open)
=EJI_IPO_LOT("FOODLINK")                 → 78         (shares per application; 78 × 191 = 14,898)
=EJI_IPO_DATE("FOODLINK", "close")       → 2026-11-30
=EJI_IPO_DATE("FOODLINK", "allotment")   → 2026-12-01
=EJI_IPO_SUBS("FOODLINK")                → 1.47       (times, all categories)
=EJI_IPO_SUBS("FOODLINK", "qib")         → 1.01
=EJI_IPO_SUBS("FOODLINK", "nii")         → 0.72
=EJI_IPO_SUBS("FOODLINK", "retail")      → 3.95
=EJI_IPO_GMP("FOODLINK")                 → 4          (unofficial, see below)

Subscription is the bids from NSE and BSE together against the shares offered in each category, as the exchanges report it during the day. =EJI_IPO_SUBS rounds nothing; format the cell to two decimals.

A tracker for every open IPO

Put NSE symbols in column A, one per row (the IPO explorer lists the open and upcoming ones), and fill these across row 2, then down:

Google Sheets, row 2
A2  FOODLINK
B2  =EJI_IPO_STATUS(A2)
C2  =EJI_IPO_PRICE(A2)
D2  =EJI_IPO_LOT(A2)
E2  =EJI_IPO_DATE(A2, "close")
F2  =EJI_IPO_SUBS(A2)
G2  =EJI_IPO_SUBS(A2, "retail")
H2  =EJI_IPO_GMP(A2)
I2  =IF(H2="", "", H2 / C2)      ← GMP as a share of the price

For Foodlink, I2 gives 2.1% (4 ÷ 191). =EJI_IPO_STATUS, =EJI_IPO_PRICE and =EJI_IPO_LOT also take a whole column, =EJI_IPO_STATUS(A2:A20), and fill one row each. For any other field, =EJI_IPO(A2, "issueSizeCr") reads it by name; leave the field empty to see them all.

After listing

Google Sheets
=EJI_IPO_LIST_GAIN("BCSSL")   → 15.62

That is the listing-day close against the issue price, in percent: BCSSL was issued at 82 and closed at 94.81 on 5 November 2026. The performance endpoint also gives the close 7, 30 and 180 days later; by 27 November BCSSL was at 81.17, 1.01% under its issue price.

About the GMP

The grey-market premium is not an exchange price. It is an unofficial figure that dealers quote before listing, and we copy it from investorgain.com with the time it was read. It is not a forecast and not advice, it can be wrong, and it is often missing for small issues; then =EJI_IPO_GMP is empty. The GMP endpoint keeps its history, so you can see how it moved: for Foodlink it was 7 on the morning of 27 November and 4 by the afternoon.

Related guides

Get a free API key Read the IPO API reference

Information only, not investment advice. Subscription comes from NSE and BSE, listing prices from NSE, GMP from investorgain.com. Sample outputs were produced on 2026-11-27 and change through the day.