TrueData TrueData Sheets
search
Searching...
functions Formulas
menu_book Pages
manage_search Content Match
search_off

No results for ""

Loading Content
functions

Formula Reference

Live Market Data Formulas

sensors

Real-time WebSocket Data

These formulas are powered by a live WebSocket connection, ensuring your spreadsheet data updates instantly as the market moves.

Symbol ID

Unique identifier for the symbol

A B
1 TCS 100001528
Last Trade Time

Time of last trade

A B
1 TCS 3:27:32 PM
Last Trade Price

Return the last traded price

A B
1 TCS 2520.56
Last Trade Quantity

Return last traded quantity

A B
1 TCS 226
Average Trade Price

Returns average traded price

A B
1 TCS 2341.36
Total Volume

Returns total traded volume

A B
1 TCS 225180
Day Open

Return opening price of the day

A B
1 TCS 2349.7
Day High

Return highest price of the day

A B
1 TCS 2354.5
Day Low

Return lowest price of the day

A B
1 TCS 2332.3
Previous Close

Return previous closing price

A B
1 TCS 2349.7
Today OI

Return current open interest

A B
1 CRUDEOIL-I 8528
Previous OI Close

Return previous open interest

A B
1 CRUDEOIL-I 8807
Turnover

Return total traded value

A B
1 TCS 899700285
Tick Sequence No

Return sequence number of tick

A B
1 TCS 1285
Bid

Return highest bid price

A B
1 TCS 2344.2
BidQty

Return quantity at best bid

A B
1 TCS 31
Ask

Return lowest ask price

A B
1 TCS 2345
AskQty

Return quantity at best ask

A B
1 TCS 322
Change

Return price change from previous close

A B
1 TCS -5.2
Change Percentage

Return percentage price change

A B
1 TCS -0.0019
OI Change

Return change in open interest

A B
1 CRUDEOIL-I -329
OI Change Percentage

Return percentage change in OI

A B
1 CRUDEOIL-I -3.78%
Rho

Return option's sensitivity to a 1% change in interest rate

A B
1 NIFTY26092922800CE 2.1215
Vega

Return option's sensitivity to a 1% change in implied volatility

A B
1 NIFTY26092922800CE 11.65
Theta

Return option's daily time decay in premium value

A B
1 NIFTY26092922800CE -12.8103
Gamma

Return rate of change of Delta for a 1 point move in underlying

A B
1 NIFTY26092922800CE 0.0012
Delta

Return option's sensitivity to a 1 point change in underlying price

A B
1 NIFTY26092922800CE 0.5977
Implied Volatility

Return the market-implied volatility of an option contract

A B
1 NIFTY26092922800CE 11.2
Indicative Close Price

Return the indicative close price

A B
1 RELIANCE 2520.56
Indicative Quantity

Return the indicative quantity

A B
1 RELIANCE 1500
Reference Price

Return the reference price

A B
1 RELIANCE 2518.30

Historical Market Data Formulas

Formula Category Description Copy
▶ TICKS
Tick Data Tick by Tick data for a date and time range
▶ BARS
Bar Data OHLCV candlestick bars for a date/time range
▶ LASTNTICKS
Tick Data Most recent N ticks without needing a date range
▶ LASTNBARS
Bar Data Most recent N completed candles at any interval
▶ TOPNGAINERS
Market Movers Top N gainers in a segment with auto-refresh
▶ TOPNLOSERS
Market Movers Top N losers in a segment with auto-refresh
▶ TOPNVOLUMEGAINERS
Market Movers Most actively traded stocks by volume

Option Chain Formulas

Formula Category Description Copy
▶ OPTIONCHAIN
Chain Data Full CE + PE chain for any underlying and expiry
▶ OPTIONCHAINWITHGREEKS
Chain Data Full chain including Delta, Theta, Gamma, Vega, and IV
▶ COMPANYNAME
Contract Info Fetches company name for a symbol from EQ/BSEEQ segment.
▶ LOTSIZE
Contract Info Fetches lot size for an NSE or BSE symbol.
▶ EXPIRY
Expiry Fetches the N-th expiry date for an underlying symbol on NSE and BSE.
▶ EXPIRIES
Expiry Fetches all expiry dates for a symbol and lists them in the cells below.
▶ ATMSTRIKE
Strike Info Fetches the ATM strike for a symbol and expiry.
▶ STRIKESTEP
Strike Info Fetches the strike step (gap between consecutive strikes) for a symbol and expiry.

Market Movers Formulas

Formula Category Description Copy
▶ OIGAINERS
OI Movers Strikes with the highest OI build-up
▶ OILOSERS
OI Movers Strikes with the largest OI unwinding
▶ INDEXGAINERS
Index Movers Top gaining stocks within a specific index
▶ INDEXLOSERS
Index Movers worst performing stocks within a specific index
▶ INDUSTRYGAINERS
Industry Movers Top performing stocks within a specific industry
▶ INDUSTRYLOSERS
Industry Movers Worst performing stocks within a specific industry
▶ MOSTACTIVEBYTURNOVER
Most Active stocks with the highest total traded value
▶ MOSTACTIVEBYVOLUME
Most Active stocks with the highest number of shares traded

Built-In Formulas

Formula Category Description Copy
▶ UNIQUE
Array Remove duplicates, return unique values
▶ RANDARRAY
Array Fill grid with random numbers
▶ TOROW
Array Flatten range into a single horizontal row
▶ TOCOL
Array Flatten range into a single vertical column
▶ TEXTSPLIT
Array Split text into cells using a delimiter
▶ WRAPROWS
Array Wrap a list into a 2D table by row
▶ WRAPCOLS
Array Wrap a list into a 2D table by column
▶ TAKE
Array Return first or last N rows from a range
▶ DROP
Array Remove first or last N rows from a range
▶ SEQUENCE
Array Generate sequential numbers with custom step
▶ CHOOSEROWS
Array Pick specific rows by row number
▶ CHOOSECOLS
Array Pick specific columns by column number
▶ EXPAND
Array Expand a range with padding to a larger size
▶ SORT
Array Sort a range by a column, asc or desc
▶ SORTBY
Array Sort a range using values from another column
▶ DATE
Date Build a date from year, month, day numbers
▶ TIME
Date Build a time value from hour, minute, second
▶ DAY
Date Extract the day number (1–31) from a date
▶ MONTH
Date Extract the month number (1–12) from a date
▶ YEAR
Date Extract the 4-digit year from a date
▶ HOUR
Date Extract the hour (0–23) from a time value
▶ MINUTE
Date Extract the minute (0–59) from a time value
▶ SECOND
Date Extract the second (0–59) from a time value
▶ NOW
Date Return the current date and time
▶ DATEDIF
Date Difference between two dates in days/months/years
▶ DATEVALUE
Date Convert date text to a date serial number
▶ DAYS
Date Count calendar days between two dates
▶ DAYS360
Date Days between dates on 360-day year basis
▶ EDATE
Date Return date exactly N months from a start date
▶ EOMONTH
Date Return the last day of the month N months away
▶ ISOWEEKNUM
Date ISO 8601 week number for a date
▶ NETWORKDAYS
Date Count working days between two dates
▶ NETWORKDAYS.INTL
Date Working days with custom weekend definition
▶ TIMEVALUE
Date Convert time text to a decimal time value
▶ WEEKNUM
Date Week number of the year for a date
▶ WEEKDAY
Date Day-of-week number for a date
▶ WORKDAY
Date Date that is N working days from start
▶ WORKDAY.INTL
Date Working days from start with custom weekends
▶ YEARFRAC
Date Fraction of year between two dates
▶ ACCRINT
Finance Accrued interest for periodic-interest security
▶ PMT
Finance Fixed periodic payment to repay a loan
▶ FV
Finance Future value of an investment with periodic payments
▶ DB
Finance Depreciation using fixed-declining balance method
▶ DDB
Finance Depreciation using double-declining balance
▶ DOLLAR
Finance Format a number as currency text
▶ DOLLARDE
Finance Convert fractional bond price to decimal
▶ DOLLARFR
Finance Convert decimal bond price to fractional notation
▶ EFFECT
Finance Effective annual rate from nominal rate
▶ FVSCHEDULE
Finance Future value with variable interest rates
▶ IRR
Finance Internal rate of return on a set of cash flows
▶ IPMT
Finance Interest portion of a specific EMI payment
▶ ISPMT
Finance Interest paid under straight-line principal repayment
▶ NPV
Finance Net present value of discounted future cash flows
▶ NOMINAL
Finance Nominal rate from effective annual rate
▶ NPER
Finance Periods to pay off a loan or reach a savings goal
▶ PDURATION
Finance Periods to reach a future value (no payments)
▶ PPMT
Finance Principal portion of a specific EMI payment
▶ PV
Finance Present value of future payments or a lump sum
▶ SYD
Finance Depreciation using Sum-of-Years Digits method
▶ TBILLPRICE
Finance Price per ?100 of a Treasury Bill
▶ TBILLYIELD
Finance Yield of a Treasury Bill from its market price
▶ ISBLANK
Info Check if a cell is completely empty
▶ ISBINARY
Info Check if a value contains only 0s and 1s
▶ ISEVEN
Info Check if a number is even
▶ ISODD
Info Check if a number is odd
▶ ISNONTEXT
Info Check if a cell does NOT contain text
▶ ISNUMBER
Info Check if a cell contains a numeric value
▶ ISTEXT
Info Check if a cell contains a text value
▶ N
Info Convert a value to its numeric equivalent
▶ IF
Logic Return one of two values based on a condition
▶ AND
Logic TRUE only if ALL conditions are true
▶ NOT
Logic Reverse a logical value (TRUE?FALSE, FALSE?TRUE)
▶ OR
Logic TRUE if AT LEAST ONE condition is true
▶ FALSE
Logic Return the logical value FALSE
▶ TRUE
Logic Return the logical value TRUE
▶ INDEX
Lookup Return value at a specific row/column in a range
▶ XMATCH
Lookup Find position of a value - modern MATCH
▶ XLOOKUP
Lookup Modern flexible replacement for VLOOKUP/HLOOKUP
▶ LOOKUP
Lookup Find a value and return from same position in another range
▶ HLOOKUP
Lookup Search top row of table, return value from a specified row
▶ VLOOKUP
Lookup Search left column of table, return from specified column
▶ MATCH
Lookup Find position of a value in a range
▶ CHOOSE
Lookup Pick a value from a list by index number
▶ ABS
Numbers Absolute value - remove the negative sign
▶ ACOS
Numbers Arccosine (inverse cosine) of a number, in radians
▶ ACOSH
Numbers Inverse hyperbolic cosine of a number
▶ ACOT
Numbers Arccotangent of a number, in radians
▶ ACOTH
Numbers Inverse hyperbolic cotangent of a number
▶ ADD
Numbers Add two numbers (Google Sheets operator function)
▶ ARABIC
Numbers Convert a Roman numeral text string to a number
▶ ASIN
Numbers Arcsine (inverse sine) of a number, in radians
▶ ASINH
Numbers Inverse hyperbolic sine of a number
▶ ATAN
Numbers Arctangent of a number, in radians
▶ ATAN2
Numbers Arctangent of y/x using both coordinates (avoids divide-by-zero)
▶ ATANH
Numbers Inverse hyperbolic tangent of a number
▶ AVEDEV
Numbers Average of absolute deviations from the mean
▶ AVERAGE
Numbers Arithmetic mean of a range
▶ AVERAGEA
Numbers Mean including text (=0) and logical values
▶ BASE
Numbers Convert a number to a text string in a given base
▶ BINOMDIST
Numbers Binomial distribution probability (legacy syntax)
▶ BINOM.DIST
Numbers Binomial distribution probability (modern syntax)
▶ BINOM.DIST.RANGE
Numbers Binomial probability for a range of successes
▶ BINOM.INV
Numbers Smallest k where cumulative binomial = target probability
▶ BITAND
Numbers Bitwise AND of two non-negative integers
▶ BITLSHIFT
Numbers Shift a number left by N bits (multiply by 2^N)
▶ BITOR
Numbers Bitwise OR of two non-negative integers
▶ BITRSHIFT
Numbers Shift a number right by N bits (divide by 2^N)
▶ BITXOR
Numbers Bitwise XOR (exclusive OR) of two integers
▶ CEILING
Numbers Round up to nearest multiple of significance
▶ COMBIN
Numbers Number of combinations (n choose k)
▶ COMBINA
Numbers Combinations with repetition allowed
▶ COMPLEX
Numbers Create a complex number from real and imaginary parts
▶ CORREL
Numbers Correlation coefficient between two data sets
▶ COS
Numbers Cosine of an angle given in radians
▶ COSH
Numbers Hyperbolic cosine of a number
▶ COT
Numbers Cotangent of an angle in radians
▶ COTH
Numbers Hyperbolic cotangent of a number
▶ COUNT
Numbers Count cells containing numbers
▶ COUNTA
Numbers Count all non-empty cells (any type)
▶ COUNTBLANK
Numbers Count empty cells in a range
▶ COVAR
Numbers Population covariance between two data sets (legacy)
▶ COVARIANCE.P
Numbers Population covariance (modern syntax)
▶ COVARIANCE.S
Numbers Sample covariance between two data sets
▶ CSC
Numbers Cosecant of an angle in radians (1/sin)
▶ CSCH
Numbers Hyperbolic cosecant of a number
▶ DEC2BIN
Numbers Convert decimal integer to binary text
▶ DEC2HEX
Numbers Convert decimal integer to hexadecimal text
▶ DEC2OCT
Numbers Convert decimal integer to octal text
▶ DECIMAL
Numbers Convert a number string in any base to decimal
▶ DEGREES
Numbers Convert radians to degrees
▶ DELTA
Numbers Test whether two numbers are equal (returns 1 or 0)
▶ DEVSQ
Numbers Sum of squared deviations from the mean
▶ DIVIDE
Numbers Divide two numbers (Google Sheets operator function)
▶ EQ
Numbers Check if two values are equal (returns TRUE/FALSE)
▶ ERF
Numbers Error function - integral of Gaussian distribution
▶ ERFC
Numbers Complementary error function (1 - ERF)
▶ EVEN
Numbers Round a number up to the nearest even integer
▶ EXP
Numbers e raised to the power of a number
▶ FACT
Numbers Factorial of a number (n!)
▶ FACTDOUBLE
Numbers Double factorial of a number (n!!)
▶ FISHER
Numbers Fisher transformation of a correlation coefficient
▶ FISHERINV
Numbers Inverse Fisher transformation - convert z back to r
▶ FLOOR
Numbers Round down to the nearest multiple of significance
▶ GAMMA
Numbers Gamma function value for a number
▶ GCD
Numbers Greatest common divisor
▶ GEOMEAN
Numbers Geometric mean of a set of positive numbers
▶ GESTEP
Numbers Test whether a number is = a step value (returns 1 or 0)
▶ GT
Numbers Test if first value is greater than second (returns TRUE/FALSE)
▶ GTE
Numbers Test if first value is greater than or equal to second
▶ HARMEAN
Numbers Harmonic mean of a set of positive numbers
▶ HEX2BIN
Numbers Convert a hexadecimal text to binary
▶ HEX2DEC
Numbers Convert a hexadecimal text to decimal integer
▶ HEX2OCT
Numbers Convert a hexadecimal text to octal
▶ IMABS
Numbers Absolute value (modulus) of a complex number
▶ IMAGINARY
Numbers Extract the imaginary coefficient of a complex number
▶ IMCONJUGATE
Numbers Complex conjugate - flip the sign of imaginary part
▶ IMCOS
Numbers Cosine of a complex number
▶ IMCOSH
Numbers Hyperbolic cosine of a complex number
▶ IMCOT
Numbers Cotangent of a complex number
▶ IMCSC
Numbers Cosecant of a complex number (1/sin)
▶ IMCSCH
Numbers Hyperbolic cosecant of a complex number
▶ IMDIV
Numbers Divide one complex number by another
▶ IMEXP
Numbers Exponential of a complex number (e^z)
▶ IMLN
Numbers Natural logarithm of a complex number
▶ IMPOWER
Numbers Raise a complex number to a power
▶ IMPRODUCT
Numbers Product of multiple complex numbers
▶ IMREAL
Numbers Extract the real coefficient of a complex number
▶ IMSEC
Numbers Secant of a complex number (1/cos)
▶ IMSECH
Numbers Hyperbolic secant of a complex number
▶ IMSIN
Numbers Sine of a complex number
▶ IMSINH
Numbers Hyperbolic sine of a complex number
▶ IMSQRT
Numbers Square root of a complex number
▶ IMSUB
Numbers Subtract one complex number from another
▶ IMSUM
Numbers Sum of multiple complex numbers
▶ IMTAN
Numbers Tangent of a complex number
▶ INT
Numbers Round a number DOWN to the nearest integer
▶ LARGE
Numbers Return the Nth largest value in a range
▶ LN
Numbers Natural logarithm (base e)
▶ LOG
Numbers Logarithm to a specified base
▶ LOG10
Numbers Base-10 logarithm
▶ LT
Numbers Test if first value is less than second (returns TRUE/FALSE)
▶ LTE
Numbers Test if first value is less than or equal to second
▶ MAX
Numbers Largest value in a range
▶ MEDIAN
Numbers Middle value of a sorted data set
▶ MIN
Numbers Smallest value in a range
▶ MINUS
Numbers Subtract two numbers (Google Sheets operator function)
▶ MOD
Numbers Remainder after dividing by a divisor
▶ MROUND
Numbers Round to the nearest multiple of a number
▶ MULTINOMIAL
Numbers Multinomial coefficient - (sum)! ÷ (n1!×n2!×…)
▶ MULTIPLY
Numbers Multiply two numbers (Google Sheets operator function)
▶ NE
Numbers Test if two values are not equal (returns TRUE/FALSE)
▶ OCT2BIN
Numbers Convert an octal text to binary
▶ OCT2DEC
Numbers Convert an octal text to decimal integer
▶ OCT2HEX
Numbers Convert an octal text to hexadecimal
▶ ODD
Numbers Round a number up to the nearest odd integer
▶ PERCENTILE
Numbers Kth percentile of a data set
▶ PERCENTILE.INC
Numbers Kth percentile - inclusive of 0 and 1 (modern syntax)
▶ PERCENTILE.EXC
Numbers Kth percentile - exclusive of 0 and 1
▶ PERMUT
Numbers Number of permutations (ordered arrangements)
▶ PI
Numbers Return the value of p (3.14159…)
▶ POW
Numbers Raise a number to a power (Google Sheets alias for POWER)
▶ POWER
Numbers Raise a number to a power
▶ PRODUCT
Numbers Multiply all numbers in a range together
▶ QUARTILE
Numbers Quartile of a data set (Q1, Q2, Q3) - legacy syntax
▶ QUARTILE.INC
Numbers Quartile - inclusive of 0 and 4 (modern syntax)
▶ QUARTILE.EXC
Numbers Quartile - exclusive (quart must be 1, 2, or 3)
▶ QUOTIENT
Numbers Integer part of a division (discard remainder)
▶ RADIANS
Numbers Convert degrees to radians
▶ RAND
Numbers Random decimal number between 0 and 1
▶ RANDBETWEEN
Numbers Random integer between two bounds (inclusive)
▶ ROMAN
Numbers Convert an integer to Roman numeral text
▶ ROUND
Numbers Round to a specified number of decimal places
▶ ROUNDDOWN
Numbers Round toward zero to N decimal places
▶ ROUNDUP
Numbers Round away from zero to N decimal places
▶ SEC
Numbers Secant of an angle in radians (1/cos)
▶ SECH
Numbers Hyperbolic secant of a number
▶ SIGN
Numbers Return sign of a number: 1, 0, or -1
▶ SIN
Numbers Sine of an angle given in radians
▶ SINH
Numbers Hyperbolic sine of a number
▶ SMALL
Numbers Return the Nth smallest value in a range
▶ SQRT
Numbers Square root of a number
▶ SQRTPI
Numbers Square root of (number × p)
▶ STDEV
Numbers Sample standard deviation
▶ STDEV.S
Numbers Sample standard deviation (modern syntax)
▶ STDEV.P
Numbers Population standard deviation (modern syntax)
▶ STDEVA
Numbers Sample std dev including text (=0) and logicals
▶ STDEVP
Numbers Population std dev - legacy syntax
▶ STDEVPA
Numbers Population std dev including text and logicals
▶ STEYX
Numbers Standard error of predicted y values in a regression
▶ SUBTOTAL
Numbers Aggregate that ignores hidden/filtered rows
▶ SUM
Numbers Sum all numbers in a range
▶ SUMPRODUCT
Numbers Sum of products of corresponding range elements
▶ SUMSQ
Numbers Sum of squares of all values
▶ SUMX2MY2
Numbers Sum of (x²-y²) for corresponding elements
▶ SUMX2PY2
Numbers Sum of (x²+y²) for corresponding elements
▶ SUMXMY2
Numbers Sum of (x-y)² for corresponding elements
▶ TAN
Numbers Tangent of an angle in radians
▶ TANH
Numbers Hyperbolic tangent of a number
▶ TRUNC
Numbers Truncate to integer by removing decimal part
▶ VAR
Numbers Sample variance - legacy syntax
▶ VAR.S
Numbers Sample variance - modern syntax
▶ VAR.P
Numbers Population variance - modern syntax
▶ VARA
Numbers Sample variance including text (=0) and logicals
▶ VARP
Numbers Population variance - legacy syntax
▶ VARPA
Numbers Population variance including text and logicals
▶ WEIBULL
Numbers Weibull distribution - legacy syntax
▶ WEIBULL.DIST
Numbers Weibull distribution - modern syntax
▶ CONCATENATE
Text Join multiple text strings into one
▶ LEFT
Text Extract N characters from the start of text
▶ MID
Text Extract N characters from the middle of text
▶ RIGHT
Text Extract N characters from the end of text
▶ LOWER
Text Convert text to all lowercase
▶ UPPER
Text Convert text to ALL CAPS
▶ PROPER
Text Capitalise first letter of every word
▶ TRIM
Text Remove leading, trailing, and extra spaces
▶ LEN
Text Count total characters including spaces
▶ CHAR
Text Return character for a given ASCII code
▶ CLEAN
Text Remove non-printable characters (ASCII 0–31)
▶ CODE
Text ASCII code of the first character in text
▶ EXACT
Text Case-sensitive comparison of two strings
▶ FIND
Text Position of text in a string (case-sensitive)
▶ FIXED
Text Round and format a number as text with commas
▶ NUMBERVALUE
Text Convert number text with custom separators to number
▶ REGEXEXTRACT
Text Extract first substring matching a regex pattern
▶ REGEXMATCH
Text Test if text matches a regex pattern
▶ REGEXREPLACE
Text Replace all regex matches with new text
▶ REPT
Text Repeat text N times
▶ SEARCH
Text Position of text in string (case-insensitive, wildcards ok)
▶ SUBSTITUTE
Text Replace all occurrences of text with new text
▶ T
Text Return text if value is text, or empty string ("")
▶ JOIN
Text Join a range into one string with a delimiter
▶ REPLACE
Text Replace characters at a known position with new text
▶ ARRAYTOTEXT
Text Convert an array or range to a text string
▶ SUMIF
Numbers Sums cells that meet a single criteria
▶ SUMIFS
Numbers Sums cells that meet multiple criteria across multiple ranges
▶ COUNTIF
Numbers Counts cells that satisfy a single criteria
▶ COUNTIFS
Numbers Counts cells that satisfy multiple conditions simultaneously
▶ AVERAGEIF
Numbers Calculates the average (arithmetic mean) of cells that meet a given condition
▶ AVERAGEIFS
Numbers Calculates the average of cells that meet multiple criteria
▶ MAXIFS
Numbers Returns the maximum value among cells specified by a given set of conditions
▶ MINIFS
Numbers Returns the minimum value among cells specified by a given set of conditions

Fundamental Data Formulas

Formula Category Description Copy
▶ PNLRESULTS
Financial Statements Profit & Loss statement of a company
▶ BALSHEET
Financial Statements Balance Sheet of a company
▶ CASHFLOW
Financial Statements Cash Flow statement of a company
Truedata Icon Sheets by Truedata

Empowering traders and analysts with high-performance real-time market data directly within their spreadsheets.

© 2026 TrueData Market Data Services LLP. All rights reserved.