Build a brokerage worksheet in Excel with your current broker charges as explicit inputs. MarketXLS India can supply supported Zerodha account records and market prices; it does not make an old fee table permanently correct.
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
Start with the order book — India
Install MarketXLS India, connect Zerodha in the add-in and enter this in an empty area:
=MXLSIN.ZerodhaGetOrders()
Get MarketXLS India · Read the broker order-book guide
The output is an order-book view, not an instruction to place orders. Check order status and filled quantity before calculating costs; an unfilled order is not an executed trade.
Make the cost inputs editable — India
Create separate inputs for brokerage, taxes and other charges applicable to your segment and transaction. Source current rates from Zerodha's charges page and your contract note. Record when you checked them. Do not copy rates from an old example without rechecking applicability.
Put quantity, executed price, transaction side and segment on each trade row. Calculate turnover from executed price times executed quantity, then apply the relevant charge rules. Include minimums, caps and rounding where the current schedule requires them.
Reconcile against actual records — India
Compare the worksheet's total with the broker contract note for a completed trading day. Keep any difference visible until you identify whether it comes from execution quantities, segment-specific charges or rounding. The order book alone may not contain every field needed for a final cost statement.
Separate scenarios from executions — India
For a planning scenario, use =MXLSIN.ZerodhaLast("RELIANCE:IN") as an observed quote. Label that value as a quote, not a fill. Actual execution price and quantity belong in a different section.
Use the India function library for supported fields. This workflow does not provide tax advice or guarantee a final brokerage amount; the broker's actual transaction records remain the reconciliation source.
Next step — India
Get MarketXLS India and use the India function library to check each formula. Continue with the India Excel workflow series.
