The paperExchangeCrypto WikiWikiAcademynotitiaplatform.com
Sign in
● LIVE
CAC 408 347,4▼ 0.22%S&P 5007 297,1▼ 1.47%EURO STOXX6 201,5▼ 0.31%BTC/USD46 204▲ 8.52%ETH/USD1 433,1▲ 8.87%EUR/USD1.08▲ 0.03%BRENT91.28▼ 0.38%GOLD3 829,5▲ 1.22%OAT 10Y5.02%▼ 1.06%VIX21.67▲ 17.39%CAC 408 347,4▼ 0.22%S&P 5007 297,1▼ 1.47%EURO STOXX6 201,5▼ 0.31%BTC/USD46 204▲ 8.52%ETH/USD1 433,1▲ 8.87%EUR/USD1.08▲ 0.03%BRENT91.28▼ 0.38%GOLD3 829,5▲ 1.22%OAT 10Y5.02%▼ 1.06%VIX21.67▲ 17.39%
 
Europe edition
Notitia
Reference

293 Notitia Sheets functions

The formulas of Notitia Sheets, the desktop app and the terminal (SHEET function): live prices, indicators, risk, options, bonds and every usual spreadsheet function. Each example can be typed as is in a cell.

Excel model libraryDesktop apps and Excel add-in

Notitia data

NOTITIA.QUOTE(symbol, [field])
Live quote field: price, chg, name, currency, volume, high52, low52, dayHigh, dayLow, prev, exch, time.Example: =NOTITIA.QUOTE("AAPL","price")
NOTITIA.PRICE(symbol)
Live last price.Example: =NOTITIA.PRICE("MC.PA")
NOTITIA.HISTORY(symbols, [range], [header])
Daily closes aligned across symbols, spilled as Date | SYM1 | SYM2. Range 3mo, 6mo, 1y, 2y or 5y.Example: =NOTITIA.HISTORY("AAPL,MSFT","1y")
NX(symbol, [field])
Short name of NOTITIA.QUOTE: live quote field (price, chg, name, volume, currency, high52...).Example: =NX("AAPL","price")
NX.HIST(symbols, [range])
Daily closes of one or more symbols, aligned by date and spilled (3mo, 6mo, 1y, 2y, 5y).Example: =NX.HIST("AAPL,MSFT","1y")
NX.QUOTE(symbol, [field])
Same as NOTITIA.QUOTE: a live quote field.Example: =NX.QUOTE("MC.PA","chg")

Technical indicators

SMA(prices, [window])
Simple moving average, one value per row; blank until the window is full.Example: =SMA({1;2;3;4;5},3) → {blank; blank; 2; 3; 4}
EMA(prices, [window])
Exponential moving average, weight 2 / (n + 1) on the newest price, seeded with the first SMA.Example: =EMA({1;2;3;4;5},3) → {blank; blank; 2; 3; 4}
RSI(prices, [window])
Wilder relative strength index from 0 to 100. Above 70 is often read as overbought, below 30 as oversold.Example: =INDEX(RSI(B2:B253,14),252)
MACD(prices, [fast], [slow], [signal], [header])
Three columns: MACD line (EMA fast - EMA slow), signal (EMA of the MACD) and histogram.Example: =MACD(B2:B253,12,26,9,TRUE)
BOLLINGER(prices, [window], [k], [header])
Lower, middle and upper Bollinger bands: SMA plus and minus k standard deviations.Example: =BOLLINGER(B2:B253,20,2,TRUE)
ATR(highs, lows, closes, [window])
Average true range (Wilder): the typical daily range, gaps included. Used to size stops.Example: =ATR(C2:C253,D2:D253,B2:B253,14)
ROC(prices, [n])
Rate of change over n periods, as a fraction.Example: =ROC({100;105;110},2) → {blank; blank; 0.1}
ZSCORE(prices, [window])
How many standard deviations the price sits from its rolling mean: a mean reversion gauge.Example: =INDEX(ZSCORE(B2:B253,20),252)

Risk and performance

RETURNS(prices)
Simple returns of a price column, spilled (one row shorter).Example: =RETURNS({100;110;99}) → {0.1; -0.1}
LOGRETURNS(prices)
Log returns LN(p(t) / p(t-1)), spilled.Example: =LOGRETURNS({100;110})
HVOL(prices, [periods per year])
Annualised historical volatility of a price column.Example: =HVOL(B2:B253)
SHARPE(returns, [rf annual], [periods])
Annualised Sharpe ratio: mean excess return over its standard deviation.Example: =SHARPE(RETURNS(B2:B253),0.03)
SORTINO(returns, [rf annual], [periods])
Like Sharpe, but only downside volatility counts.Example: =SORTINO(RETURNS(B2:B253),0.03)
MAXDD(prices)
Maximum drawdown, the worst fall from a peak, as a negative fraction.Example: =MAXDD({100;120;90;130}) → -0.25
CALMAR(prices, [periods per year])
Compound annual growth over the absolute maximum drawdown.Example: =CALMAR(B2:B253)
ULCER(prices)
Ulcer index in percent: depth and length of drawdowns together.Example: =ULCER(B2:B253)
VAR.HIST(returns, [confidence])
Historical value at risk: the loss (positive) not exceeded at the confidence level.Example: =VAR.HIST(RETURNS(B2:B253),0.99)
VAR.PARAM(returns, [confidence])
Parametric (normal) value at risk: -(mean + z x volatility).Example: =VAR.PARAM(RETURNS(B2:B253),0.99)
CVAR.HIST(returns, [confidence])
Expected shortfall: the average of the losses beyond the VaR.Example: =CVAR.HIST(RETURNS(B2:B253),0.975)
BETA(returns, market returns)
Sensitivity of the asset to the market: covariance over market variance.Example: =BETA(RETURNS(B2:B253),RETURNS(C2:C253))
TREYNOR(returns, market, [rf annual], [periods])
Annual excess return per unit of beta.Example: =TREYNOR(RETURNS(B2:B253),RETURNS(C2:C253),0.03)
INFORATIO(returns, benchmark, [periods])
Information ratio: active return over tracking error, annualised.Example: =INFORATIO(RETURNS(B2:B253),RETURNS(C2:C253))
TRACKINGERROR(returns, benchmark, [periods])
Annualised volatility of the return difference with the benchmark.Example: =TRACKINGERROR(RETURNS(B2:B253),RETURNS(C2:C253))
DOWNSIDEDEV(returns, [threshold], [periods])
Annualised deviation of returns below the threshold.Example: =DOWNSIDEDEV(RETURNS(B2:B253))
OMEGA(returns, [threshold])
Sum of gains above the threshold over sum of losses below it.Example: =OMEGA({0.02;-0.01;0.03;-0.02}) → 1.667
KELLY(win probability, payoff ratio)
Kelly fraction of capital for a bet paying b to 1. Many traders use half of it.Example: =KELLY(0.55,1) → 0.1
KELLY.RETURNS(returns, [rf annual], [periods])
Continuous Kelly leverage: mean excess return over variance.Example: =KELLY.RETURNS(RETURNS(B2:B253))
POSSIZE(capital, risk %, entry, stop)
Units to buy so that hitting the stop costs exactly the risk share of capital.Example: =POSSIZE(100000,1%,50,48) → 500
CAGR(begin, end, years)
Compound annual growth rate.Example: =CAGR(100,200,10) → 0.0718

Portfolio

COVMATRIX(returns, [sample])
Covariance matrix of a block of returns, one asset per column. Rows with a gap are dropped.Example: =COVMATRIX(RETURNS(B2:E253))
CORRMATRIX(returns)
Correlation matrix, one asset per column.Example: =CORRMATRIX({0.01,0.02;-0.02,-0.01;0.015,0.01})
PORTVOL(weights, cov, [periods per year])
Portfolio volatility SQRT(w' C w); pass 252 to annualise a daily covariance.Example: =PORTVOL({0.5;0.5},{0.04,0.006;0.006,0.09}) → 0.1884
MINVAR.WEIGHTS(cov, [long only])
Minimum variance weights. Long only by default (exact projected gradient); FALSE gives the closed form with shorts.Example: =MINVAR.WEIGHTS({0.04,0.006;0.006,0.09}) → {0.712; 0.288}
MAXSHARPE.WEIGHTS(expected returns, cov, [rf], [long only])
Maximum Sharpe (tangency) weights.Example: =MAXSHARPE.WEIGHTS({0.08;0.12},{0.04,0.006;0.006,0.09},0.02)
RISKPARITY.WEIGHTS(cov)
Weights where every asset carries the same share of risk.Example: =RISKPARITY.WEIGHTS({0.04,0.006;0.006,0.09})
RISKCONTRIB(weights, cov)
Share of portfolio variance carried by each asset (sums to 1).Example: =RISKCONTRIB({0.5;0.5},{0.04,0.006;0.006,0.09})

Monte Carlo

MC.PATHS(S0, drift, vol, years, [steps], [paths], [seed])
Geometric Brownian motion paths: one row per step, one column per path. A seed makes the draw repeatable.Example: =MC.PATHS(100,0.06,0.2,1,12,5,42)
MC.OPTION(type, S, K, T, r, sigma, [q], [paths], [seed], [with error])
Monte Carlo price of a European option (antithetic draws). TRUE as the last argument also returns the standard error.Example: =MC.OPTION("call",100,100,1,0.03,0.2,0,50000,7)
MC.VAR(value, drift, vol, days, [confidence], [paths], [seed], [cvar])
Monte Carlo value at risk of a position over a horizon in trading days; TRUE as the last argument gives the expected shortfall.Example: =MC.VAR(1000000,0.05,0.2,10,0.99,20000,1)

Options

BS.PRICE(type, S, K, T, r, sigma, [q])
Black-Scholes-Merton price of a European call or put.Example: =BS.PRICE("call",100,100,1,0.05,0.2) → 10.4506
BS.DELTA(type, S, K, T, r, sigma, [q])
Change of the option price for one unit of the underlying.Example: =BS.DELTA("call",100,100,1,0.05,0.2) → 0.6368
BS.GAMMA(type, S, K, T, r, sigma, [q])
Change of delta for one unit of the underlying.Example: =BS.GAMMA("call",100,100,1,0.05,0.2) → 0.0188
BS.VEGA(type, S, K, T, r, sigma, [q])
Price change for one volatility point.Example: =BS.VEGA("call",100,100,1,0.05,0.2) → 0.3752
BS.THETA(type, S, K, T, r, sigma, [q])
Price change per calendar day.Example: =BS.THETA("call",100,100,1,0.05,0.2)
BS.RHO(type, S, K, T, r, sigma, [q])
Price change for one rate point.Example: =BS.RHO("call",100,100,1,0.05,0.2)
BS.IV(type, price, S, K, T, r, [q])
Implied volatility that reproduces a market price.Example: =BS.IV("call",10.45,100,100,1,0.05) → 0.2
BS.DIGITAL(type, S, K, T, r, sigma, [q])
Cash-or-nothing digital paying 1 if the option ends in the money.Example: =BS.DIGITAL("call",100,100,1,0.05,0.2) → 0.5323
PROB.ITM(type, S, K, T, r, sigma, [q])
Risk-neutral probability of ending in the money, N(d2) for a call.Example: =PROB.ITM("call",100,100,1,0.05,0.2) → 0.5596
PAYOFF(type, spot at expiry, strike, [premium])
Payoff at expiry net of the premium paid; fill down a column of spots to draw the diagram.Example: =PAYOFF("call",110,100,4) → 6
BINOMIAL.AMERICAN(type, S, K, T, r, sigma, [q], [steps])
American option on a Cox-Ross-Rubinstein tree (early exercise).Example: =BINOMIAL.AMERICAN("put",100,100,1,0.05,0.2)
BLACK76(type, F, K, T, r, sigma)
Black 76 price of an option on a future or forward.Example: =BLACK76("call",100,100,1,0.05,0.2)
BSDELTA(type, S, K, T, r, sigma, [q])
Black-Scholes delta: price change per 1 of the underlying.Example: =BSDELTA("c",100,100,1,0.03,0.2) → 0.60
BSGAMMA(type, S, K, T, r, sigma, [q])
Black-Scholes gamma (same as BS.GAMMA): change of delta per 1 of the underlying.Example: =BSGAMMA("c",100,100,1,0.03,0.2)
BSPRICE(type, S, K, T, r, sigma, [q])
Black-Scholes price of a call ("c") or put ("p"); T in years, rates and volatility as decimals.Example: =BSPRICE("c",100,100,1,0.03,0.2) → 9.41
BSRHO(type, S, K, T, r, sigma, [q])
Black-Scholes rho: price change per 1 point of rate.Example: =BSRHO("c",100,100,1,0.03,0.2)
BSTHETA(type, S, K, T, r, sigma, [q])
Black-Scholes theta: time decay per day.Example: =BSTHETA("c",100,100,1,0.03,0.2)
BSVEGA(type, S, K, T, r, sigma, [q])
Black-Scholes vega (same as BS.VEGA): price change per 1 point of volatility.Example: =BSVEGA("c",100,100,1,0.03,0.2)
IMPLIEDVOL(type, price, S, K, T, r, [q])
Implied volatility from an option price.Example: =IMPLIEDVOL("c",9.41,100,100,1,0.03) → 0.20

Fixed income

PRICE(settlement, maturity, rate, yield, redemption, frequency, [basis])
Clean bond price per 100 of face value.Example: =PRICE(DATE(2026,1,1),DATE(2031,1,1),0.04,0.05,100,2)
YIELD(settlement, maturity, rate, price, redemption, frequency, [basis])
Yield to maturity from a clean price.Example: =YIELD(DATE(2026,1,1),DATE(2031,1,1),0.04,95.6,100,2)
DURATION(settlement, maturity, coupon, yield, frequency, [basis])
Macaulay duration in years.Example: =DURATION(DATE(2026,1,1),DATE(2031,1,1),0.04,0.05,2)
MDURATION(settlement, maturity, coupon, yield, frequency, [basis])
Modified duration: price change in percent for one yield point.Example: =MDURATION(DATE(2026,1,1),DATE(2031,1,1),0.04,0.05,2)
ACCRINT.M(settlement, maturity, coupon, frequency)
Accrued interest per 100 since the last coupon.Example: =ACCRINT.M(DATE(2026,3,1),DATE(2030,12,15),0.04,2)
DISC(settlement, maturity, price, redemption, [basis])
Discount rate of a security sold below par.Example: =DISC(DATE(2026,1,1),DATE(2026,7,1),98,100)
TBILLPRICE(settlement, maturity, discount)
Price per 100 of a Treasury bill.Example: =TBILLPRICE(DATE(2026,1,1),DATE(2026,7,1),0.04)
TBILLYIELD(settlement, maturity, price)
Yield of a Treasury bill.Example: =TBILLYIELD(DATE(2026,1,1),DATE(2026,7,1),98)

Time value and valuation

WACC(equity, debt, cost of equity, cost of debt, tax rate)
Weighted average cost of capital, debt after tax.Example: =WACC(800,200,0.09,0.05,0.25) → 0.0795
CAPM(rf, beta, market return)
Expected return under the CAPM: rf + beta x (market - rf).Example: =CAPM(0.03,1.2,0.08) → 0.09
GORDON(cash flow, discount rate, growth)
Gordon growth terminal value CF x (1 + g) / (r - g).Example: =GORDON(100,0.08,0.02) → 1700
NPV(rate, flows...)
Net present value of flows at the end of each period (add the period-0 flow outside).Example: =-1000+NPV(0.08,300,400,500) → 17.63
IRR(flows, [guess])
Internal rate of return of periodic flows.Example: =IRR({-1000;300;400;500}) → 0.0890
XNPV(rate, flows, dates)
Net present value of dated flows.Example: =XNPV(0.08,{-1000;600;600},{45658;46023;46388})
XIRR(flows, dates, [guess])
Internal rate of return of dated flows.Example: =XIRR({-1000;600;600},{45658;46023;46388})
PMT(rate, nper, pv, [fv], [type])
Payment of a loan (negative: money out).Example: =PMT(0.04/12,240,250000) → -1514.95
DB(cost, salvage, life, period)
Fixed declining-balance depreciation.Example: =DB(10000,1000,5,1)
DDB(cost, salvage, life, period, [factor])
Double declining-balance depreciation.Example: =DDB(10000,1000,5,1) → 4000
EFFECT(nominal rate, periods per year)
Effective annual rate from a nominal rate.Example: =EFFECT(0.05,12) → 0.0512
FV(rate, periods, payment, [pv], [type])
Future value of regular payments and a starting sum.Example: =FV(0.05/12,120,-200) → 31056
IPMT(rate, period, periods, pv, [fv], [type])
Interest part of a loan payment.Example: =IPMT(0.04/12,1,240,200000) → -666.67
MIRR(cash flows, finance rate, reinvest rate)
Modified internal rate of return.Example: =MIRR({-100,30,40,50},0.05,0.06)
NOMINAL(effective rate, periods per year)
Nominal rate from an effective annual rate.Example: =NOMINAL(0.0512,12) → 0.05
NPER(rate, payment, pv, [fv], [type])
Number of periods to repay or reach a target.Example: =NPER(0.04/12,-1200,200000)
PDURATION(rate, pv, fv)
Periods for an investment to grow to a value.Example: =PDURATION(0.05,100,200) → 14.2
PPMT(rate, period, periods, pv, [fv], [type])
Principal part of a loan payment.Example: =PPMT(0.04/12,1,240,200000)
PV(rate, periods, payment, [fv], [type])
Present value of regular payments.Example: =PV(0.05,10,-1000) → 7722
RATE(periods, payment, pv, [fv], [type], [guess])
Interest rate per period of an annuity.Example: =RATE(10,-1000,7722) → 0.05
RRI(periods, pv, fv)
Equivalent growth rate per period (a CAGR).Example: =RRI(5,100,161) → 0.10
SLN(cost, salvage, life)
Straight-line depreciation per period.Example: =SLN(10000,1000,5) → 1800
SYD(cost, salvage, life, period)
Sum-of-years-digits depreciation.Example: =SYD(10000,1000,5,1) → 3000

Statistics

NORM.S.INV(probability)
Inverse of the standard normal distribution; with RAND() it draws a normal shock.Example: =NORM.S.INV(0.99) → 2.3263
CORREL(x, y)
Correlation coefficient of two ranges.Example: =CORREL({1;2;3},{2;4;7})
PERCENTILE.INC(range, k)
k-th percentile, inclusive method.Example: =PERCENTILE.INC({1;2;3;4;5},0.25) → 2
AVERAGE(number1, ...)
Arithmetic mean.Example: =AVERAGE(2,4,9) → 5
AVERAGEA(value1, ...)
Mean counting text as 0 and TRUE as 1.Example: =AVERAGEA(2,TRUE) → 1.5
AVERAGEIF(range, criterion, [average range])
Mean of the cells meeting a criterion.Example: =AVERAGEIF(B2:B100,">0")
AVERAGEIFS(average range, criteria range, criterion, ...)
Mean of the rows meeting every criterion.Example: =AVERAGEIFS(C2:C100,A2:A100,"Tech")
COUNT(value1, ...)
Number of cells holding numbers.Example: =COUNT(1,"a",3) → 2
COUNTA(value1, ...)
Number of non-empty cells.Example: =COUNTA(1,"a",3) → 3
COUNTBLANK(range)
Number of empty cells.Example: =COUNTBLANK(A1:A10)
COUNTIF(range, criterion)
Number of cells meeting a criterion.Example: =COUNTIF(B2:B100,">0")
COUNTIFS(range1, criterion1, ...)
Number of rows meeting every criterion.Example: =COUNTIFS(A2:A100,"Tech",B2:B100,">0")
COVAR(array1, array2)
Population covariance (older name).Example: =COVAR({1,2,3},{2,4,7})
COVARIANCE.P(array1, array2)
Population covariance.Example: =COVARIANCE.P({1,2,3},{2,4,7}) → 1.667
COVARIANCE.S(array1, array2)
Sample covariance.Example: =COVARIANCE.S({1,2,3},{2,4,7}) → 2.5
FORECAST(x, known y, known x)
Linear-regression forecast at x (older name).Example: =FORECAST(4,{2,4,6},{1,2,3}) → 8
FORECAST.LINEAR(x, known y, known x)
Linear-regression forecast at x.Example: =FORECAST.LINEAR(4,{2,4,6},{1,2,3}) → 8
GEOMEAN(number1, ...)
Geometric mean (average growth factor).Example: =GEOMEAN(1.1,0.9,1.2)
HARMEAN(number1, ...)
Harmonic mean (average of ratios such as P/E).Example: =HARMEAN(10,20) → 13.33
INTERCEPT(known y, known x)
Intercept of the regression line.Example: =INTERCEPT({2,4,6},{1,2,3}) → 0
KURT(number1, ...)
Excess kurtosis: fat tails above 0.Example: =KURT(B2:B253)
LARGE(array, k)
k-th largest value.Example: =LARGE({4,9,1},2) → 4
MAX(number1, ...)
Largest value.Example: =MAX(4,9,1) → 9
MAXIFS(max range, criteria range, criterion, ...)
Largest value among the rows meeting every criterion.Example: =MAXIFS(C2:C100,A2:A100,"Tech")
MEDIAN(number1, ...)
Middle value.Example: =MEDIAN(4,9,1) → 4
MIN(number1, ...)
Smallest value.Example: =MIN(4,9,1) → 1
MINIFS(min range, criteria range, criterion, ...)
Smallest value among the rows meeting every criterion.Example: =MINIFS(C2:C100,A2:A100,"Tech")
MODE(number1, ...)
Most frequent value (older name).Example: =MODE(1,2,2,3) → 2
MODE.SNGL(number1, ...)
Most frequent value.Example: =MODE.SNGL(1,2,2,3) → 2
NORM.DIST(x, mean, sd, cumulative)
Normal distribution: density or cumulative probability.Example: =NORM.DIST(0,0,1,TRUE) → 0.5
NORM.INV(probability, mean, sd)
Inverse of the normal distribution (a quantile).Example: =NORM.INV(0.95,0,1) → 1.645
NORM.S.DIST(z, cumulative)
Standard normal distribution.Example: =NORM.S.DIST(1.96,TRUE) → 0.975
NORMDIST(x, mean, sd, cumulative)
Normal distribution (older name).Example: =NORMDIST(0,0,1,TRUE) → 0.5
NORMINV(probability, mean, sd)
Inverse normal (older name).Example: =NORMINV(0.95,0,1) → 1.645
NORMSDIST(z)
Standard normal cumulative probability (older name).Example: =NORMSDIST(1.96) → 0.975
NORMSINV(probability)
Standard normal quantile (older name).Example: =NORMSINV(0.99) → 2.326
PEARSON(array1, array2)
Pearson correlation coefficient.Example: =PEARSON({1,2,3},{2,4,7})
PERCENTILE(array, k)
k-th percentile, k between 0 and 1 (inclusive).Example: =PERCENTILE(B2:B253,0.05)
PERCENTILE.EXC(array, k)
k-th percentile, k strictly between 0 and 1.Example: =PERCENTILE.EXC(B2:B253,0.05)
QUARTILE(array, quart)
Quartile 0 to 4 (older name).Example: =QUARTILE({1,2,3,4,5},1) → 2
QUARTILE.INC(array, quart)
Quartile 0 to 4.Example: =QUARTILE.INC({1,2,3,4,5},3) → 4
RANK(number, ref, [order])
Rank of a number in a list (older name).Example: =RANK(7,{3,7,9}) → 2
RANK.AVG(number, ref, [order])
Rank, ties sharing their average rank.Example: =RANK.AVG(7,{3,7,7,9}) → 2.5
RANK.EQ(number, ref, [order])
Rank, ties sharing the top rank.Example: =RANK.EQ(7,{3,7,9}) → 2
RSQ(known y, known x)
R squared of the regression.Example: =RSQ({2,4,6},{1,2,3}) → 1
SKEW(number1, ...)
Skewness: a longer left tail below 0.Example: =SKEW(B2:B253)
SLOPE(known y, known x)
Slope of the regression line (a beta when y and x are returns).Example: =SLOPE({2,4,6},{1,2,3}) → 2
SMALL(array, k)
k-th smallest value.Example: =SMALL({4,9,1},2) → 4
STANDARDIZE(x, mean, sd)
z-score: distance to the mean in standard deviations.Example: =STANDARDIZE(12,10,2) → 1
STDEV(number1, ...)
Sample standard deviation (older name).Example: =STDEV(2,4,4,4,5,5,7,9) → 2.138
STDEV.P(number1, ...)
Population standard deviation.Example: =STDEV.P(2,4,4,4,5,5,7,9) → 2
STDEV.S(number1, ...)
Sample standard deviation.Example: =STDEV.S(2,4,4,4,5,5,7,9) → 2.138
STDEVP(number1, ...)
Population standard deviation (older name).Example: =STDEVP(2,4,4,4,5,5,7,9) → 2
VAR(number1, ...)
Sample variance (older name).Example: =VAR(1,2,3,4) → 1.667
VAR.P(number1, ...)
Population variance.Example: =VAR.P(1,2,3,4) → 1.25
VAR.S(number1, ...)
Sample variance.Example: =VAR.S(1,2,3,4) → 1.667
VARP(number1, ...)
Population variance (older name).Example: =VARP(1,2,3,4) → 1.25

Matrices and arrays

MMULT(array1, array2)
Matrix product; columns of the first must equal rows of the second.Example: =MMULT({1,2;3,4},{5;6}) → {17; 39}
MINVERSE(matrix)
Inverse of a square matrix; #NUM! when it is singular.Example: =MINVERSE({4,7;2,6}) → {0.6,-0.7; -0.2,0.4}
MDETERM(matrix)
Determinant of a square matrix.Example: =MDETERM({4,7;2,6}) → 10
MUNIT(n)
Identity matrix of size n.Example: =MUNIT(3)
TRANSPOSE(array)
Rows become columns.Example: =TRANSPOSE({1,2,3})
HSTACK(array1, array2, ...)
Arrays side by side; short ones are padded with #N/A.Example: =HSTACK({1;2},{3;4})
VSTACK(array1, array2, ...)
Arrays one above the other.Example: =VSTACK({1,2},{3,4})
SEQUENCE(rows, [cols], [start], [step])
A grid of numbers in sequence.Example: =SEQUENCE(5)
SORT(array, [column], [order])
Sorted copy of a range.Example: =SORT({3;1;2})
FILTER(array, include, [if empty])
Rows where the condition holds.Example: =FILTER(A2:C100,C2:C100>0)
UNIQUE(array)
Distinct rows.Example: =UNIQUE({"a";"b";"a"})
SORTBY(array, by array, [order], ...)
Sorts a range by another range.Example: =SORTBY(A2:A10,B2:B10,-1)

Pivot tables

GROUPBY(row fields, values, [function], [headers], [total])
Pivot-style summary: one row per distinct key, values aggregated with SUM, AVERAGE, COUNT, COUNTA, MIN, MAX, MEDIAN, STDEV or PRODUCT, plus a total. Headers are detected when the first row is text.Example: =GROUPBY(A1:A100,C1:C100,SUM)
PIVOTBY(row field, column field, values, [function], [headers])
Cross table: row keys down, column keys across, totals on both sides.Example: =PIVOTBY(A1:A100,B1:B100,C1:C100,SUM)
SUMIFS(sum range, criteria range, criterion, ...)
Sum of the rows meeting every criterion.Example: =SUMIFS(C2:C100,A2:A100,"Tech",B2:B100,">0")

Lookup

XLOOKUP(key, lookup array, return array, [if not found])
Finds a key and returns the matching item.Example: =XLOOKUP("b",{"a";"b"},{1;2}) → 2
INDEX(array, row, [column])
Item at a position; INDEX(spill, n) picks one value of a spilled result.Example: =INDEX({10;20;30},2) → 20
COLUMN([reference])
Column number of a cell.Example: =COLUMN(C1) → 3
COLUMNS(array)
Number of columns of a range.Example: =COLUMNS(A1:D1) → 4
HLOOKUP(key, table, row, [approximate])
Looks up a key in the first row and returns a value below it.Example: =HLOOKUP("b",{"a","b";1,2},2,FALSE) → 2
INDIRECT(text reference)
The cell or range named by a text.Example: =INDIRECT("A1")
LOOKUP(key, lookup vector, [result vector])
Approximate lookup in a sorted vector.Example: =LOOKUP(2.5,{1,2,3},{"a","b","c"}) → b
MATCH(key, array, [type])
Position of a key in a range (0 for an exact match).Example: =MATCH("b",{"a","b","c"},0) → 2
OFFSET(reference, rows, cols, [height], [width])
A range shifted from a starting cell.Example: =SUM(OFFSET(A1,1,0,5,1))
ROW([reference])
Row number of a cell.Example: =ROW(A5) → 5
ROWS(array)
Number of rows of a range.Example: =ROWS(A1:A10) → 10
VLOOKUP(key, table, column, [approximate])
Looks up a key in the first column and returns a value on its row.Example: =VLOOKUP("b",{"a",1;"b",2},2,FALSE) → 2
XMATCH(key, array, [match mode], [search mode])
Position of a key, exact by default.Example: =XMATCH("c",{"a","b","c"}) → 3

Logic

IFERROR(value, if error)
Replaces an error by a fallback.Example: =IFERROR(1/0,0) → 0
AND(condition1, ...)
TRUE when every condition is true.Example: =AND(1>0,2>1) → TRUE
CHOOSE(index, value1, value2, ...)
Picks a value by its position.Example: =CHOOSE(2,"a","b","c") → b
FALSE()
The logical value FALSE.Example: =FALSE() → FALSE
IF(condition, if true, [if false])
One value or another depending on a condition.Example: =IF(5>3,"yes","no") → yes
IFNA(value, if #N/A)
Replaces #N/A by a fallback.Example: =IFNA(NA(),0) → 0
IFS(condition1, value1, condition2, value2, ...)
Value of the first true condition.Example: =IFS(5>8,"a",5>3,"b") → b
ISBLANK(value)
TRUE if the cell is empty.Example: =ISBLANK(A1)
ISERR(value)
TRUE for any error except #N/A.Example: =ISERR(1/0) → TRUE
ISERROR(value)
TRUE for any error.Example: =ISERROR(1/0) → TRUE
ISEVEN(number)
TRUE if the number is even.Example: =ISEVEN(4) → TRUE
ISLOGICAL(value)
TRUE if the value is TRUE or FALSE.Example: =ISLOGICAL(TRUE) → TRUE
ISNA(value)
TRUE if the value is #N/A.Example: =ISNA(NA()) → TRUE
ISNUMBER(value)
TRUE if the value is a number.Example: =ISNUMBER(3) → TRUE
ISODD(number)
TRUE if the number is odd.Example: =ISODD(3) → TRUE
ISTEXT(value)
TRUE if the value is text.Example: =ISTEXT("a") → TRUE
N(value)
A value as a number (text gives 0).Example: =N(TRUE) → 1
NA()
The #N/A error, for a missing value.Example: =NA()
NOT(condition)
Reverses a condition.Example: =NOT(1>2) → TRUE
OR(condition1, ...)
TRUE when at least one condition is true.Example: =OR(1>2,2>1) → TRUE
SWITCH(value, case1, result1, ..., [default])
Result of the first case equal to the value.Example: =SWITCH(2,1,"one",2,"two") → two
TRUE()
The logical value TRUE.Example: =TRUE() → TRUE
XOR(condition1, ...)
TRUE when an odd number of conditions are true.Example: =XOR(TRUE,FALSE) → TRUE

Text

CHAR(code)
Character of a code.Example: =CHAR(65) → A
CLEAN(text)
Removes non-printable characters.Example: =CLEAN(A1)
CODE(text)
Code of the first character.Example: =CODE("A") → 65
CONCAT(text1, ...)
Joins texts and ranges.Example: =CONCAT("EUR","USD") → EURUSD
CONCATENATE(text1, ...)
Joins texts (older name).Example: =CONCATENATE("EUR","/","USD") → EUR/USD
EXACT(text1, text2)
TRUE if two texts are identical, case included.Example: =EXACT("a","A") → FALSE
FIND(find text, within text, [start])
Position of a text, case-sensitive.Example: =FIND("P","AAPL") → 3
FIXED(number, [decimals], [no commas])
A number as text with fixed decimals.Example: =FIXED(1234.5,1) → 1,234.5
LEFT(text, [count])
First characters of a text.Example: =LEFT("MC.PA",2) → MC
LEN(text)
Number of characters.Example: =LEN("Notitia") → 7
LOWER(text)
Text in lower case.Example: =LOWER("AAPL") → aapl
MID(text, start, count)
Characters from the middle of a text.Example: =MID("EURUSD",4,3) → USD
PROPER(text)
Capitalises each word.Example: =PROPER("new york") → New York
REPLACE(text, start, count, new text)
Replaces characters at a position.Example: =REPLACE("2025",4,1,"6") → 2026
REPT(text, times)
Repeats a text.Example: =REPT("-",5) → -----
RIGHT(text, [count])
Last characters of a text.Example: =RIGHT("MC.PA",2) → PA
SUBSTITUTE(text, old, new, [instance])
Replaces a text by another.Example: =SUBSTITUTE("1.000.000",".","") → 1000000
T(value)
The value if it is text, else an empty text.Example: =T("a") → a
TEXT(value, format)
A number as text in a format.Example: =TEXT(0.125,"0.0%") → 12.5%
TEXTAFTER(text, delimiter, [instance])
Text after a delimiter.Example: =TEXTAFTER("MC.PA",".") → PA
TEXTBEFORE(text, delimiter, [instance])
Text before a delimiter.Example: =TEXTBEFORE("MC.PA",".") → MC
TEXTJOIN(delimiter, ignore empty, text1, ...)
Joins texts with a delimiter.Example: =TEXTJOIN(",",TRUE,"AAPL","MSFT") → AAPL,MSFT
TRIM(text)
Removes extra spaces.Example: =TRIM(" a b ") → a b
UPPER(text)
Text in upper case.Example: =UPPER("aapl") → AAPL
VALUE(text)
A text as a number.Example: =VALUE("42") → 42

Dates

DATE(year, month, day)
A date from its parts.Example: =DATE(2026,11,12)
DATEDIF(start, end, unit)
Gap between two dates in "Y", "M" or "D".Example: =DATEDIF(DATE(2020,1,1),DATE(2026,1,1),"Y") → 6
DATEVALUE(text)
A date written as text, as a date.Example: =DATEVALUE("2026-11-12")
DAY(date)
Day of the month.Example: =DAY(DATE(2026,11,12)) → 12
DAYS(end, start)
Number of days between two dates.Example: =DAYS(DATE(2026,12,31),DATE(2026,1,1)) → 364
DAYS360(start, end, [method])
Days between two dates on a 360-day year.Example: =DAYS360(DATE(2026,1,1),DATE(2026,7,1)) → 180
EDATE(date, months)
The same day some months later or earlier.Example: =EDATE(DATE(2026,1,31),1)
EOMONTH(date, months)
Last day of a month.Example: =EOMONTH(DATE(2026,2,10),0)
HOUR(time)
Hour of a time.Example: =HOUR(TIME(14,30,0)) → 14
MINUTE(time)
Minute of a time.Example: =MINUTE(TIME(14,30,0)) → 30
MONTH(date)
Month of a date.Example: =MONTH(DATE(2026,11,12)) → 11
NETWORKDAYS(start, end, [holidays])
Working days between two dates.Example: =NETWORKDAYS(DATE(2026,11,2),DATE(2026,11,13)) → 10
NOW()
Current date and time.Example: =NOW()
SECOND(time)
Second of a time.Example: =SECOND(TIME(14,30,15)) → 15
TIME(hour, minute, second)
A time from its parts.Example: =TIME(9,30,0)
TODAY()
Today’s date.Example: =TODAY()
WEEKDAY(date, [type])
Day of the week as a number.Example: =WEEKDAY(DATE(2026,11,12),2) → 4
WEEKNUM(date, [type])
Week number of the year.Example: =WEEKNUM(DATE(2026,11,12))
WORKDAY(start, days, [holidays])
The date some working days later.Example: =WORKDAY(DATE(2026,11,12),5)
YEAR(date)
Year of a date.Example: =YEAR(DATE(2026,11,12)) → 2026
YEARFRAC(start, end, [basis])
Fraction of a year between two dates.Example: =YEARFRAC(DATE(2026,1,1),DATE(2026,7,1)) → 0.5

Maths

ABS(number)
Absolute value.Example: =ABS(-4) → 4
CEILING(number, significance)
Rounds up to the nearest multiple.Example: =CEILING(23,5) → 25
CEILING.MATH(number, [significance])
Rounds up to the nearest integer or multiple.Example: =CEILING.MATH(4.2) → 5
CHIDIST(x, degrees)
Right-tail chi-squared probability (older name).Example: =CHIDIST(3.84,1) → 0.05
CHISQ.DIST(x, degrees, cumulative)
Chi-squared distribution.Example: =CHISQ.DIST(3.84,1,TRUE) → 0.95
CHISQ.DIST.RT(x, degrees)
Right-tail chi-squared probability.Example: =CHISQ.DIST.RT(3.84,1) → 0.05
COMBIN(n, k)
Number of combinations of k items among n.Example: =COMBIN(5,2) → 10
EXP(number)
e raised to a power.Example: =EXP(1) → 2.718
FACT(number)
Factorial.Example: =FACT(5) → 120
FLOOR(number, significance)
Rounds down to the nearest multiple.Example: =FLOOR(23,5) → 20
FLOOR.MATH(number, [significance])
Rounds down to the nearest integer or multiple.Example: =FLOOR.MATH(4.8) → 4
GCD(number1, number2, ...)
Greatest common divisor.Example: =GCD(12,18) → 6
INT(number)
Rounds down to an integer.Example: =INT(-2.5) → -3
LCM(number1, number2, ...)
Least common multiple.Example: =LCM(4,6) → 12
LN(number)
Natural logarithm.Example: =LN(EXP(2)) → 2
LOG(number, [base])
Logarithm in a base (10 by default).Example: =LOG(8,2) → 3
LOG10(number)
Base-10 logarithm.Example: =LOG10(1000) → 3
MOD(number, divisor)
Remainder of a division.Example: =MOD(10,3) → 1
MROUND(number, multiple)
Rounds to the nearest multiple.Example: =MROUND(7,5) → 5
PI()
The number pi.Example: =PI() → 3.14159
POWER(number, power)
A number raised to a power.Example: =POWER(2,10) → 1024
PRODUCT(number1, ...)
Product of the numbers.Example: =PRODUCT(2,3,4) → 24
QUOTIENT(numerator, denominator)
Integer part of a division.Example: =QUOTIENT(10,3) → 3
RAND()
Random number between 0 and 1, redrawn on each recalculation.Example: =RAND()
RANDARRAY([rows], [cols], [min], [max], [integer])
A spilled grid of random numbers.Example: =RANDARRAY(5,2)
RANDBETWEEN(bottom, top)
Random integer between two bounds.Example: =RANDBETWEEN(1,6)
ROUND(number, digits)
Rounds to a number of digits.Example: =ROUND(3.14159,2) → 3.14
ROUNDDOWN(number, digits)
Rounds towards zero.Example: =ROUNDDOWN(3.99,1) → 3.9
ROUNDUP(number, digits)
Rounds away from zero.Example: =ROUNDUP(3.01,1) → 3.1
SIGN(number)
1 if positive, -1 if negative, 0 if zero.Example: =SIGN(-7) → -1
SQRT(number)
Square root.Example: =SQRT(16) → 4
SUM(number1, ...)
Sum of numbers and ranges.Example: =SUM(1,2,3) → 6
SUMIF(range, criterion, [sum range])
Sum of the cells meeting a criterion.Example: =SUMIF(B2:B100,">0")
SUMPRODUCT(array1, array2, ...)
Sum of the products of matching items (weighted sums).Example: =SUMPRODUCT({1,2},{3,4}) → 11
SUMSQ(number1, ...)
Sum of the squares.Example: =SUMSQ(3,4) → 25
T.DIST(x, degrees, cumulative)
Student t distribution (left tail).Example: =T.DIST(2,10,TRUE)
T.DIST.2T(x, degrees)
Two-tailed Student t probability (a p-value).Example: =T.DIST.2T(2.228,10) → 0.05
T.DIST.RT(x, degrees)
Right-tail Student t probability.Example: =T.DIST.RT(1.812,10) → 0.05
T.INV(probability, degrees)
Student t quantile (left tail).Example: =T.INV(0.975,10) → 2.228
T.INV.2T(probability, degrees)
Two-tailed Student t critical value.Example: =T.INV.2T(0.05,10) → 2.228
TDIST(x, degrees, tails)
Student t probability (older name).Example: =TDIST(2.228,10,2) → 0.05
TINV(probability, degrees)
Two-tailed Student t critical value (older name).Example: =TINV(0.05,10) → 2.228
TRUNC(number, [digits])
Cuts the decimals without rounding.Example: =TRUNC(-2.7) → -2