API reference
@searsuite/sear-domain-formula-engine-ts
The TypeScript formula parser, evaluator, dependency graph, and built-in function runtime.
606 exportsderived from source
- classAggregationCachesource ↗
-
class AggregationCache extends IAggregationCacheCaches incremental aggregate results for large formula ranges.
constructorconstructor AggregationCache(): AggregationCachepropertysymbolstatic readonly symbol: typeof symbolmethodclear clear(): voidClears all caches.
methodenforceCommandBoundary enforceCommandBoundary(isCommandExecuting: (): boolean): voidBinds cache writes to the owning editor command dispatch after initialization.
isCommandExecuting: (): boolean
methodgetCount getCount(startRow: number, startCol: number, endRow: number, endCol: number): numberGets the COUNT for a range, meaning the number of numeric cells.
Uses the same cache and incremental strategy as getSum.
startRow: numberstartCol: numberendRow: numberendCol: number
methodgetSum getSum(startRow: number, startCol: number, endRow: number, endCol: number): numberGets the SUM for a range.
Cache hit returns directly in O(1). Cache miss requires a full O(N) scan on the first call.
Called by FormulaEvaluator while evaluating SUM, not exposed directly to users.
startRow: numberStart row (0-based).
startCol: numberStart column (0-based).
endRow: numberEnd row (0-based).
endCol: numberEnd column (0-based).
methodonCellChanged onCellChanged(row: number, col: number, oldVal: FormulaValue, newVal: FormulaValue): voidNotifies the cache that one cell value changed.
Finds every cached range covering the cell and updates incrementally:
- newSum = oldSum - oldVal + newVal
- FormulaError oldVal/newVal values are treated as non-numeric and do not affect sum.
row: numberChanged row (0-based).
col: numberChanged column (0-based).
oldVal: FormulaValuePrevious value.
newVal: FormulaValueNew value.
methodonStructureChanged onStructureChanged(): voidNotifies the cache that rows or columns were inserted or deleted.
Structural changes invalidate all range caches because range coordinates have changed, so the cache must be cleared.
methodsetCount setCount(startRow: number, startCol: number, endRow: number, endCol: number, count: number): voidStores a successfully calculated COUNT for a rectangular range.
startRow: numberstartCol: numberendRow: numberendCol: numbercount: number
methodsetSum setSum(startRow: number, startCol: number, endRow: number, endCol: number, sum: number): voidStores a successfully calculated SUM for a rectangular range.
startRow: numberstartCol: numberendRow: numberendCol: numbersum: number
- classAsyncFormulaServiceCachesource ↗
-
class AsyncFormulaServiceCache<TKey, TValue>Host-driven async cache. read() never starts work or returns a Promise.
constructorconstructor AsyncFormulaServiceCache<TKey, TValue>(loader: (key: TKey): Promise<TValue>, warn?: (message: string, error: unknown): void): AsyncFormulaServiceCache<TKey, TValue>loader: (key: TKey): Promise<TValue>warn: (message: string, error: unknown): void
methodclear clear(): voidDrops values and ignores results from requests started before this boundary.
methoddestroy destroy(): voidmethodload load(key: TKey): Promise<void>Loads one value, deduplicating concurrent requests for the same key.
key: TKey
methodread read(key: TKey): FormulaServiceCacheResult<TValue>key: TKey
methodsubscribeInvalidation subscribeInvalidation(listener: (): void): (): voidlistener: (): void
- classDependencyGraphsource ↗
-
class DependencyGraph extends IDependencyGraphTracks formula dependencies, dirty propagation, evaluation readiness, and cycles.
constructorconstructor DependencyGraph(): DependencyGraphpropertysymbolstatic readonly symbol: typeof symbolDI token for resolving DependencyGraph.
memberpendingCount pendingCount: unknownNumber of dirty formulas still waiting for evaluation.
membersize size: unknownTotal number of formula cells currently in the graph.
methodclear clear(): voidClears all data.
methodenforceCommandBoundary enforceCommandBoundary(isCommandExecuting: (): boolean): voidBinds mutations to the owning editor command dispatch after initialization.
isCommandExecuting: (): boolean
methodgetDependencies getDependencies(formulaKey: number): readonly Dependency[]Gets the range-level dependencies owned by one formula cell.
Returns defensive copies so callers can inspect dependency edges without mutating the graph's internal forward-dependency store.
formulaKey: number
methodgetDependents getDependents(key: number): number[]Gets every formula that depends on one cell.
Merges results from three lookup paths:
- cellRevDeps (cell + small-range expansion) — O(1)
- columnRanges (column-grouped intervals) — O(log N + K)
- overflowRanges (very wide ranges) — O(M)
key: number
methodgetFormulaKeys getFormulaKeys(): readonly number[]Gets a defensive snapshot of formula cells currently registered in the graph.
methodgetLastCycleKeys getLastCycleKeys(): number[]Returns the last cycle keys.
methodgetNextReadyBatch getNextReadyBatch(viewport: Set<number>, maxCount: number): number[]Gets currently dirty formulas that can be evaluated immediately.
Two-pass scan: viewport first, then off-screen formulas. Viewport priority ensures visible formulas update first.
viewport: Set<number>maxCount: number
methodisDirty isDirty(key: number): booleanReports whether one formula cell is currently dirty.
key: number
methodmarkClean markClean(key: number): voidMarks one formula clean.
Unlocks downstream dependencies by decrementing dirtyDepCount for every dirty formula that depends on key.
key: number
methodmarkDirty markDirty(changedKeys: number[]): voidMarks all affected formulas dirty.
Propagates by BFS from changedKeys along reverse-dependency edges. Only marks; does not sort or calculate.
changedKeys: number[]
methodonStructureChanged onStructureChanged(changes: StructureChange[]): voidNotifies the graph about structural changes.
For row/column insertions and deletions, updates range/cell coordinates in every formula's deps and rebuilds reverse indexes.
changes: StructureChange[]
methodremoveCell removeCell(formulaKey: number): voidRemoves one formula cell.
formulaKey: number
methodupdateCell updateCell(formulaKey: number, depsList: Dependency[]): voidRegisters or updates dependencies for one formula cell.
formulaKey: numberdepsList: Dependency[]
- classFormulaCubeCachesource ↗
-
class FormulaCubeCache extends FormulaCubeServiceHost-driven OLAP cache. Formula evaluation reads synchronously and never starts connection I/O.
constructorconstructor FormulaCubeCache(loader: (query: FormulaCubeQuery): Promise<FormulaCubeResult>, warn?: (message: string, error: unknown): void): FormulaCubeCacheloader: (query: FormulaCubeQuery): Promise<FormulaCubeResult>warn: (message: string, error: unknown): void
methodclear clear(): voidmethoddestroy destroy(): voidmethodload load(query: FormulaCubeQuery): Promise<void>query: FormulaCubeQuery
methodread read(query: FormulaCubeQuery): FormulaServiceCacheResult<FormulaCubeResult>query: FormulaCubeQuery
methodsubscribeInvalidation subscribeInvalidation(listener: (): void): (): voidlistener: (): void
- classFormulaEvaluatorsource ↗
-
class FormulaEvaluator extends IFormulaEvaluatorEvaluates parsed formulas against an explicit host-provided context.
constructorconstructor FormulaEvaluator(registry: IFunctionRegistry, aggCache: IAggregationCache): FormulaEvaluatorCreates a FormulaEvaluator instance.
registry: IFunctionRegistryaggCache: IAggregationCache
propertysymbolstatic readonly symbol: typeof symbolDI token for resolving FormulaEvaluator.
methodevaluate evaluate(ast: FormulaAST, context: EvalContext): FormulaValueEvaluates one AST.
Recursively traverses each AST node and executes the matching operation.
ast: FormulaASTcontext: EvalContext
methodevaluateBatch evaluateBatch(asts: { ast: FormulaAST; key: number }[], context: EvalContext): EvalResult[]Batch evaluation.
The TS implementation evaluates one AST at a time. A WASM implementation can process all ASTs on the Rust side in one pass.
asts: { ast: FormulaAST; key: number }[]context: EvalContext
methodregisterFunction registerFunction(fn: FormulaFunction): voidRegisters a custom function.
fn: FormulaFunction
- classFormulaExecutionBudgetsource ↗
-
class FormulaExecutionBudget extends FormulaEvaluationBudgetMutable, deterministic guard against unbounded formula work.
constructorconstructor FormulaExecutionBudget(maxSteps?: number): FormulaExecutionBudgetmaxSteps: number
propertymaxSteps readonly maxSteps: numbermethodconsumeStep consumeStep(): boolean - classFormulaExternalServiceRegistrysource ↗
-
class FormulaExternalServiceRegistry extends IFormulaExternalServiceProviderTokenized editor-local external-service registry with isolated listener failures.
constructorconstructor FormulaExternalServiceRegistry(warn?: (message: string, error: unknown): void): FormulaExternalServiceRegistrywarn: (message: string, error: unknown): void
methoddestroy destroy(ownerToken?: object): voidownerToken: object
methodenforceCommandBoundary enforceCommandBoundary(isCommandExecuting: (): boolean, dispatchRemoval: (id: number): void): voidisCommandExecuting: (): booleandispatchRemoval: (id: number): void
methodenforceTeardownBoundary enforceTeardownBoundary(ownerToken: object): voidReserves cleanup of an assembled registry for its owning editor.
ownerToken: object
methodget get<T>(definition: FormulaExternalServiceDefinition<T>): T | undefineddefinition: FormulaExternalServiceDefinition<T>
methodinvalidate invalidate<T>(definition: FormulaExternalServiceDefinition<T>): voiddefinition: FormulaExternalServiceDefinition<T>
methodregister register<T>(definition: FormulaExternalServiceDefinition<T>, service: T): (): voiddefinition: FormulaExternalServiceDefinition<T>service: T
methodsubscribeInvalidation subscribeInvalidation(listener: (serviceIds: readonly string[]): void): (): voidlistener: (serviceIds: readonly string[]): void
methodunregisterRegistration unregisterRegistration(id: number): voidid: number
- classFormulaFormattersource ↗
-
class FormulaFormatterFormats the shared FormulaAST back to formula source text.
constructorconstructor FormulaFormatter(): FormulaFormattermethodformat format(ast: FormulaAST, options?: WorkbookFormulaFormatOptions): stringast: FormulaASToptions: WorkbookFormulaFormatOptions
- classFormulaGoogleServiceCachesource ↗
-
class FormulaGoogleServiceCache extends FormulaGoogleServiceHost-driven cache for AI, import, finance, and translation formulas.
constructorconstructor FormulaGoogleServiceCache(loader: (request: FormulaGoogleRequest): Promise<FormulaValue>, warn?: (message: string, error: unknown): void): FormulaGoogleServiceCacheloader: (request: FormulaGoogleRequest): Promise<FormulaValue>warn: (message: string, error: unknown): void
methodclear clear(): voidmethoddestroy destroy(): voidmethodload load(request: FormulaGoogleRequest): Promise<void>request: FormulaGoogleRequest
methodread read(request: FormulaGoogleRequest): FormulaServiceCacheResult<FormulaValue>request: FormulaGoogleRequest
methodsubscribeInvalidation subscribeInvalidation(listener: (): void): (): voidlistener: (): void
- classFormulaLexicalScopesource ↗
-
class FormulaLexicalScope extends FormulaEvaluationScopeCase-insensitive lexical scope for LET bindings.
constructorconstructor FormulaLexicalScope(parent?: FormulaEvaluationScope): FormulaLexicalScopeparent: FormulaEvaluationScope
propertyparent readonly parent?: FormulaEvaluationScopemethodget get(name: string): FormulaValue | undefinedname: string
methodset set(name: string, value: FormulaValue): voidname: stringvalue: FormulaValue
- classFormulaParsersource ↗
-
class FormulaParser extends IFormulaParserParses formula source and rewrites structural references.
constructorconstructor FormulaParser(): FormulaParserpropertysymbolstatic readonly symbol: typeof symbolDI token for resolving FormulaParser.
methodextractDependencies extractDependencies(ast: FormulaAST): Dependency[]Extracts all dependencies from an AST.
Traverses the AST and collects all cell/range nodes. The returned Dependency list stays range-level and is not expanded per cell.
ast: FormulaAST
methodparse parse(formula: string): FormulaASTParses a formula string into an AST.
ReturnsParsed AST.
formula: stringFormula string including the leading '=', such as "=A1+B1".
methodshiftReferences shiftReferences(ast: FormulaAST, changes: StructureChange[]): FormulaASTShifts references by rewriting row/column references for structural changes.
Uses immutable updates: creates a new AST and never mutates the original. If no reference needs shifting, returns the original AST by reference.
ast: FormulaASTchanges: StructureChange[]
- classFormulaStockHistoryCachesource ↗
-
class FormulaStockHistoryCache extends FormulaStockHistoryServiceHost-driven STOCKHISTORY cache; the loader owns transport, credentials, policy, and normalization.
constructorconstructor FormulaStockHistoryCache(loader: (request: FormulaStockHistoryRequest): Promise<FormulaError | unknown[][]>, warn?: (message: string, error: unknown): void): FormulaStockHistoryCacheloader: (request: FormulaStockHistoryRequest): Promise<FormulaError | FormulaValue[][]>warn: (message: string, error: unknown): void
methodclear clear(): voidmethoddestroy destroy(): voidmethodload load(request: FormulaStockHistoryRequest): Promise<void>request: FormulaStockHistoryRequest
methodread read(request: FormulaStockHistoryRequest): FormulaServiceCacheResult<FormulaError | FormulaValue[][]>request: FormulaStockHistoryRequest
methodsubscribeInvalidation subscribeInvalidation(listener: (): void): (): voidlistener: (): void
- classFormulaTextServiceRegistrysource ↗
-
class FormulaTextServiceRegistry extends IFormulaTextServiceProviderDefault tokenized editor-local registry for metadata and cached external formula services.
constructorconstructor FormulaTextServiceRegistry(): FormulaTextServiceRegistrymethodenforceCommandBoundary enforceCommandBoundary(isCommandExecuting: (): boolean, dispatchRemoval: (id: number): void): voidisCommandExecuting: (): booleandispatchRemoval: (id: number): void
methodgetLanguageService getLanguageService(): FormulaLanguageService | undefinedmethodgetPhoneticReader getPhoneticReader(): FormulaPhoneticReader | undefinedmethodregisterLanguageService registerLanguageService(service: FormulaLanguageService): (): voidservice: FormulaLanguageService
methodregisterPhoneticReader registerPhoneticReader(reader: FormulaPhoneticReader): (): voidreader: FormulaPhoneticReader
methodsubscribeInvalidation subscribeInvalidation(listener: (): void): (): voidlistener: (): void
methodunregisterRegistration unregisterRegistration(id: number): voidid: number
- classFormulaWebServiceCachesource ↗
-
class FormulaWebServiceCache extends AsyncFormulaServiceCache<string, string | FormulaError>, FormulaWebServiceHost-driven WEBSERVICE cache; loaders own HTTP status checks, cancellation, and network policy.
constructorconstructor FormulaWebServiceCache(loader: (url: string): Promise<string>, warn?: (message: string, error: unknown): void): FormulaWebServiceCacheloader: (url: string): Promise<string>warn: (message: string, error: unknown): void
Inherited members 5
Inherited from AsyncFormulaServiceCache.
- classFunctionRegistrysource ↗
-
class FunctionRegistry extends IFunctionRegistryPublic contract for IFunctionRegistry.
constructorconstructor FunctionRegistry(options?: FunctionRegistryOptions): FunctionRegistryCreates a FunctionRegistry instance.
options: FunctionRegistryOptions
propertysymbolstatic readonly symbol: typeof symbolDI token for resolving FunctionRegistry.
methodenforceCommandBoundary enforceCommandBoundary(isCommandExecuting: (): boolean, dispatchRemoval: (id: number): void): voidRequires post-initialization writes to occur during the owning editor's command dispatch.
isCommandExecuting: (): booleandispatchRemoval: (id: number): void
methodget get(name: string): FormulaFunction | undefinedReturns the value.
name: string
methodhas has(name: string): booleanReturns whether the requested entry exists.
name: string
methodlist list(): string[]Returns all registered entries.
methodregister register(fn: FormulaFunction): (): voidRegisters a formula function under its canonical and compatible names.
fn: FormulaFunction
methodregisterMany registerMany(functions: readonly FormulaFunction[]): (): voidRegisters multiple functions while publishing one combined invalidation.
functions: readonly FormulaFunction[]
methodsubscribe subscribe(listener: (functionNames: readonly string[]): void): (): voidSubscribes to registrations and removals that can change formula results.
listener: (functionNames: readonly string[]): void
methodunregisterRegistration unregisterRegistration(id: number): voidRemoves one tokenized registration; disposal may dispatch an owner command.
id: number
- classWebFormulaAddInServicesource ↗
-
class WebFormulaAddInService extends FormulaAddInServiceWeb host adapter: browsers cannot resolve or invoke native add-in procedures.
constructorconstructor WebFormulaAddInService(): WebFormulaAddInServicemethodcall call(_request: FormulaAddInCall): FormulaServiceCacheResult<FormulaValue>_request: FormulaAddInCall
methodresolveRegistration resolveRegistration(_request: FormulaAddInRegistrationRequest): FormulaServiceCacheResult<number>_request: FormulaAddInRegistrationRequest
- interfaceCouponSchedulesource ↗
-
interface CouponScheduleCoupon schedule resolved around a bond settlement date.
propertybasis readonly basis: FinancialDayCountBasispropertycouponsRemaining readonly couponsRemaining: numberpropertydaysFromPrevious readonly daysFromPrevious: numberpropertydaysInPeriod readonly daysInPeriod: numberpropertydaysToNext readonly daysToNext: numberpropertyfrequency readonly frequency: 1 | 2 | 4propertynextCoupon readonly nextCoupon: numberpropertypreviousCoupon readonly previousCoupon: number - interfaceExcelDatePartssource ↗
-
interface ExcelDatePartspropertyday readonly day: numberpropertymonth readonly month: numberpropertyphantomLeapDay readonly phantomLeapDay?: booleanpropertyyear readonly year: number - interfaceExcelDateTimeParseOptionssource ↗
-
interface ExcelDateTimeParseOptions extends FormulaDateTimeParseOptionsOptions passed to locale-aware formula date/time parsers.
propertylocale readonly locale?: FormulaDateTimeLocale - interfaceFinancialRootOptionssource ↗
-
interface FinancialRootOptionspropertyinitialGuess readonly initialGuess?: numberpropertylowerBound readonly lowerBound?: numberpropertymaxIterations readonly maxIterations?: numberpropertytolerance readonly tolerance?: numberpropertyupperBound readonly upperBound?: number - interfaceFunctionRegistryOptionssource ↗
-
interface FunctionRegistryOptionsFunctionRegistry public API.
propertyexcludedBuiltinNames readonly excludedBuiltinNames?: readonly string[]Built-ins omitted from the initial catalog; hosts may register them later.
propertyincludeGoogleFunctions readonly includeGoogleFunctions?: booleanGoogle-specific functions require an explicit host contribution when disabled.
- interfaceParsedCellRefsource ↗
-
interface ParsedCellRefParsed A1 cell reference.
- interfaceParsedExcelDateTimesource ↗
-
interface ParsedExcelDateTime - interfaceWorkbookFormulaFormatOptionssource ↗
-
interface WorkbookFormulaFormatOptionsWorkbook name resolution used while formatting formula source.
propertymissingSheetName readonly missingSheetName?: stringpropertyresolveSheetName readonly resolveSheetName?: (formulaSheetName: string): string | undefined - typeBondResultsource ↗
-
type BondResult = number | FormulaError - typeBuiltInExcelDateTimeLocaleIdsource ↗
-
type BuiltInExcelDateTimeLocaleId = typeof BuiltInExcelDateTimeLocaleId[keyof typeof BuiltInExcelDateTimeLocaleId]Built-in locale identifiers registered by sear-plugin-i18n.
- typeDayCountResultsource ↗
-
type DayCountResult = number | FormulaError - typeDepreciationResultsource ↗
-
type DepreciationResult = number | FormulaError - typeFinancialDayCountBasissource ↗
-
type FinancialDayCountBasis = 0 | 1 | 2 | 3 | 4Excel financial day-count conventions.
- typeFinancialNumberResultsource ↗
-
type FinancialNumberResult = number | FormulaError - typeFinancialRootResultsource ↗
-
type FinancialRootResult = number | FormulaError - variableABSsource ↗
-
ABS: FormulaFunctionABS: Returns the absolute value of a number.
Example=ABS(-2) returns 2. - variableACCRINTsource ↗
-
ACCRINT: FormulaFunctionACCRINT: accrued interest for a periodically paying security.
- variableACCRINTMsource ↗
-
ACCRINTM: FormulaFunctionACCRINTM: accrued interest for a security paying interest at maturity.
- variableACOSsource ↗
-
ACOS: FormulaFunctionACOS: Returns the arccosine of a number in radians.
Example=ACOS(1) returns 0. - variableACOSHsource ↗
-
ACOSH: FormulaFunctionACOSH: Returns the inverse hyperbolic cosine of a number.
Example=ACOSH(2) returns approximately 1.316957897. - variableACOTsource ↗
-
ACOT: FormulaFunctionACOT: Returns the arccotangent of a number in radians.
Example=ACOT(1) returns pi/4. - variableACOTHsource ↗
-
ACOTH: FormulaFunctionACOTH: Returns the inverse hyperbolic cotangent of a number.
Example=ACOTH(2) returns approximately 0.549306144. - variableADDsource ↗
-
ADD: FormulaFunctionADD returns the sum of two values. Example: =ADD(2,3) returns 5.
- variableaddInFunctionssource ↗
-
addInFunctions: readonly FormulaFunction[] - variableADDRESSsource ↗
-
ADDRESS: FormulaFunctionADDRESS returns an A1 or R1C1 address. Example: =ADDRESS(2,3) returns $C$2.
- variableAGGREGATEsource ↗
-
AGGREGATE: FormulaFunctionAGGREGATE: Applies an aggregate operation while honoring options for hidden rows and errors.
Example=AGGREGATE(4,6,{1,2,3}) returns 3. - variableAIsource ↗
-
AI: FormulaFunctionAI reads a Gemini result from a host-managed cache. Example: =AI("Summarize",A1) returns cached generated text.
- variableAMORDEGRCsource ↗
-
AMORDEGRC: FormulaFunctionAMORDEGRC: declining-balance depreciation with a French accounting coefficient.
- variableAMORLINCsource ↗
-
AMORLINC: FormulaFunctionAMORLINC: straight-line depreciation prorated over the first period.
- variableANDsource ↗
-
AND: FormulaFunctionAND: Returns TRUE when every supplied logical value is TRUE.
Example=AND(TRUE,1) - variableARABICsource ↗
-
ARABIC: FormulaFunctionARABIC: Converts a Roman numeral text value to an Arabic number.
Example=ARABIC("MCMXCIX") returns 1999. - variableAREASsource ↗
-
AREAS: FormulaFunctionAREAS counts areas in a reference. Example: =AREAS(A1:B2) returns 1.
- variableARRAY_CONSTRAINsource ↗
-
ARRAY_CONSTRAIN: FormulaFunctionARRAY_CONSTRAIN limits an array to a row and column count. Example: =ARRAY_CONSTRAIN(A1:C3,2,1).
- variableARRAYFORMULAsource ↗
-
ARRAYFORMULA: FormulaFunctionARRAYFORMULA exposes an expression's array result. Example: =ARRAYFORMULA({1,2}*2) returns {2,4}.
- variableARRAYTOTEXTsource ↗
-
ARRAYTOTEXT: FormulaFunctionConverts an array to concise or strict text. Example: ARRAYTOTEXT({1,"A"},1) returns "{1,"A"}".
- variableASCsource ↗
-
ASC: FormulaFunctionConverts full-width DBCS characters to half-width characters. Example: ASC("ABC") returns "ABC".
- variableASINsource ↗
-
ASIN: FormulaFunctionASIN: Returns the arcsine of a number in radians.
Example=ASIN(0) returns 0. - variableASINHsource ↗
-
ASINH: FormulaFunctionASINH: Returns the inverse hyperbolic sine of a number.
Example=ASINH(0) returns 0. - variableATANsource ↗
-
ATAN: FormulaFunctionATAN: Returns the arctangent of a number in radians.
Example=ATAN(0) returns 0. - variableATAN2source ↗
-
ATAN2: FormulaFunctionATAN2: Returns the angle from an X and Y coordinate pair in radians.
Example=ATAN2(1,0) returns 0. - variableATANHsource ↗
-
ATANH: FormulaFunctionATANH: Returns the inverse hyperbolic tangent of a number.
Example=ATANH(0) returns 0. - variableAVEDEVsource ↗
-
AVEDEV: FormulaFunctionAVEDEV formula. Evaluates the Excel-compatible AVEDEV statistical function. Example: =AVEDEV(1,2,3).
- variableAVERAGEsource ↗
-
AVERAGE: FormulaFunctionAVERAGE: Returns the arithmetic mean of numeric values.
Example=AVERAGE(10,20,30) returns 20. - variableAVERAGE_WEIGHTEDsource ↗
-
AVERAGE_WEIGHTED: FormulaFunctionAVERAGE_WEIGHTED formula. Computes a weighted arithmetic mean. Example: =AVERAGE_WEIGHTED({10,20},{1,3}) returns 17.5.
- variableAVERAGE_WEIGHTED_DOTTEDsource ↗
-
AVERAGE_WEIGHTED_DOTTED: FormulaFunctionAVERAGE.WEIGHTED is the dotted Google Sheets alias. Example: =AVERAGE.WEIGHTED({10,20},{1,3}) returns 17.5.
- variableAVERAGEAsource ↗
-
AVERAGEA: FormulaFunctionAVERAGEA formula. Evaluates the Excel-compatible AVERAGEA statistical function. Example: =AVERAGEA(1,2,3).
- variableAVERAGEIFsource ↗
-
AVERAGEIF: FormulaFunctionAVERAGEIF formula. Evaluates the Excel-compatible AVERAGEIF statistical function. Example: =AVERAGEIF(1,2,3).
- variableAVERAGEIFSsource ↗
-
AVERAGEIFS: FormulaFunctionAVERAGEIFS formula. Evaluates the Excel-compatible AVERAGEIFS statistical function. Example: =AVERAGEIFS(1,2,3).
- variableBAHTTEXTsource ↗
-
BAHTTEXT: FormulaFunctionSpells a number as Thai baht and satang. Example: BAHTTEXT(1234) returns Thai amount text.
- variableBASEsource ↗
-
BASE: FormulaFunctionBASE: Converts a nonnegative integer to text in a selected radix.
Example=BASE(31,16) returns "1F". - variableBETA_DISTsource ↗
-
BETA_DIST: FormulaFunctionBETA.DIST formula. Evaluates the Excel-compatible BETA.DIST statistical function. Example: =BETA.DIST(1,1,TRUE).
- variableBETA_INVsource ↗
-
BETA_INV: FormulaFunctionBETA.INV formula. Evaluates the Excel-compatible BETA.INV statistical function. Example: =BETA.INV(0.5,1,1).
- variableBETADISTsource ↗
-
BETADIST: FormulaFunctionBETADIST compatibility formula: Returns the cumulative beta distribution using the legacy signature.
Example=BETADIST(2,8,10,1,3) - variableBETAINVsource ↗
-
BETAINV: FormulaFunctionBETAINV compatibility formula: Returns the inverse cumulative beta distribution.
Example=BETAINV(0.685470581,8,10,1,3) - variableBINOM_DISTsource ↗
-
BINOM_DIST: FormulaFunctionBINOM.DIST formula. Evaluates the Excel-compatible BINOM.DIST statistical function. Example: =BINOM.DIST(1,1,TRUE).
- variableBINOM_DIST_RANGEsource ↗
-
BINOM_DIST_RANGE: FormulaFunctionBINOM.DIST.RANGE formula. Evaluates the Excel-compatible BINOM.DIST.RANGE statistical function. Example: =BINOM.DIST.RANGE(1,1,TRUE).
- variableBINOM_INVsource ↗
-
BINOM_INV: FormulaFunctionBINOM.INV formula. Evaluates the Excel-compatible BINOM.INV statistical function. Example: =BINOM.INV(0.5,1,1).
- variableBINOMDISTsource ↗
-
BINOMDIST: FormulaFunctionBINOMDIST compatibility formula: Returns a binomial probability using the legacy function name.
Example=BINOMDIST(6,10,0.5,FALSE) - variableBuiltInExcelDateTimeLocaleIdsource ↗
-
BuiltInExcelDateTimeLocaleId: { Chinese: "zh"; English: "en" }Built-in locale identifiers registered by sear-plugin-i18n.
- variableCALLsource ↗
-
CALL: FormulaFunctionCalls a host-authorized add-in procedure by registration id or module signature. Example:
=CALL("example","entry","JJ",1)invokesentrywith the argument1. - variableCEILINGsource ↗
-
CEILING: FormulaFunctionCEILING compatibility formula: Rounds a number up to a legacy significance multiple.
Example=CEILING(2.5,1) - variableCEILING_MATHsource ↗
-
CEILING_MATH: FormulaFunctionCEILING.MATH: Rounds a number up to the nearest multiple.
Example=CEILING.MATH(24.3,5) returns 25. - variableCEILING_PRECISEsource ↗
-
CEILING_PRECISE: FormulaFunctionCEILING.PRECISE: Rounds a number up to the nearest multiple, using an absolute direction.
Example=CEILING.PRECISE(-4.3,2) returns -4. - variableCELLsource ↗
-
CELL: FormulaFunctionCELL: Returns information about a referenced cell.
Example=CELL("row",B3) - variableCHARsource ↗
-
CHAR: FormulaFunctionReturns the character for a code-page number. Example: CHAR(65) returns "A".
- variableCHIDISTsource ↗
-
CHIDIST: FormulaFunctionCHIDIST compatibility formula: Returns the right-tailed chi-square probability.
Example=CHIDIST(18.307,10) - variableCHIINVsource ↗
-
CHIINV: FormulaFunctionCHIINV compatibility formula: Returns the inverse right-tailed chi-square value.
Example=CHIINV(0.05,10) - variableChineseExcelDateTimeLocalesource ↗
-
ChineseExcelDateTimeLocale: FormulaDateTimeLocaleChinese Excel-style date/time text parser and formatter.
- variableChineseExcelDateTimeSymbolssource ↗
-
ChineseExcelDateTimeSymbols: FormulaDateTimeSymbolsChinese symbols consumed by the shared Excel-compatible date/time parser.
- variableCHISQ_DISTsource ↗
-
CHISQ_DIST: FormulaFunctionCHISQ.DIST formula. Evaluates the Excel-compatible CHISQ.DIST statistical function. Example: =CHISQ.DIST(1,1,TRUE).
- variableCHISQ_DIST_RTsource ↗
-
CHISQ_DIST_RT: FormulaFunctionCHISQ.DIST.RT formula. Evaluates the Excel-compatible CHISQ.DIST.RT statistical function. Example: =CHISQ.DIST.RT(1,1,TRUE).
- variableCHISQ_INVsource ↗
-
CHISQ_INV: FormulaFunctionCHISQ.INV formula. Evaluates the Excel-compatible CHISQ.INV statistical function. Example: =CHISQ.INV(0.5,1,1).
- variableCHISQ_INV_RTsource ↗
-
CHISQ_INV_RT: FormulaFunctionCHISQ.INV.RT formula. Evaluates the Excel-compatible CHISQ.INV.RT statistical function. Example: =CHISQ.INV.RT(0.5,1,1).
- variableCHISQ_TESTsource ↗
-
CHISQ_TEST: FormulaFunctionCHISQ.TEST formula. Evaluates the Excel-compatible CHISQ.TEST statistical function. Example: =CHISQ.TEST(1,2,3).
- variableCHITESTsource ↗
-
CHITEST: FormulaFunctionCHITEST compatibility formula: Returns the chi-square independence test probability.
Example=CHITEST({58,35;11,25},{45,48;24,22}) - variableCHOOSEsource ↗
-
CHOOSE: FormulaFunctionCHOOSE selects a value by index. Example: =CHOOSE(2,"A","B") returns B.
- variableCHOOSECOLSsource ↗
-
CHOOSECOLS: FormulaFunctionCHOOSECOLS selects columns from an array. Example: =CHOOSECOLS(A1:C2,1,3).
- variableCHOOSEROWSsource ↗
-
CHOOSEROWS: FormulaFunctionCHOOSEROWS selects rows from an array. Example: =CHOOSEROWS(A1:C3,1,3).
- variableCjkFormulaTextLocalesource ↗
-
CjkFormulaTextLocale: FormulaTextLocaleExcel-compatible CJK text locale where wide CJK code points count as two bytes.
- variableCLEANsource ↗
-
CLEAN: FormulaFunctionRemoves ASCII control characters 0 through 31. Example: CLEAN(CHAR(9)&"A") returns "A".
- variableCODEsource ↗
-
CODE: FormulaFunctionReturns the code of the first character. Example: CODE("A") returns 65.
- variableCOLUMNsource ↗
-
COLUMN: FormulaFunctionCOLUMN returns a reference's first column number. Example: =COLUMN(C5) returns 3.
- variableCOLUMNSsource ↗
-
COLUMNS: FormulaFunctionCOLUMNS returns the number of columns in a reference. Example: =COLUMNS(A1:C2) returns 3.
- variableCOMBINsource ↗
-
COMBIN: FormulaFunctionCOMBIN: Returns the number of combinations for choosing items without repetition.
Example=COMBIN(8,2) returns 28. - variableCOMBINAsource ↗
-
COMBINA: FormulaFunctionCOMBINA: Returns the number of combinations for choosing items with repetition.
Example=COMBINA(4,3) returns 20. - variablecompatibilityFunctionssource ↗
-
compatibilityFunctions: readonly FormulaFunction[] - variableCompatibleExcelDateTimeLocalesource ↗
-
CompatibleExcelDateTimeLocale: FormulaDateTimeLocaleLegacy alias for the default parser, which now falls back to English symbols.
- variableCONCATsource ↗
-
CONCAT: FormulaFunctionJoins text and ranges without a delimiter. Example: CONCAT("A",1) returns "A1".
- variableCONCATENATEsource ↗
-
CONCATENATE: FormulaFunctionLegacy text concatenation. Example: CONCATENATE("Hello"," World") returns "Hello World".
- variableCONFIDENCEsource ↗
-
CONFIDENCE: FormulaFunctionCONFIDENCE compatibility formula: Returns a normal-distribution confidence interval.
Example=CONFIDENCE(0.05,2.5,50) - variableCONFIDENCE_NORMsource ↗
-
CONFIDENCE_NORM: FormulaFunctionCONFIDENCE.NORM formula. Evaluates the Excel-compatible CONFIDENCE.NORM statistical function. Example: =CONFIDENCE.NORM(1,2,3).
- variableCONFIDENCE_Tsource ↗
-
CONFIDENCE_T: FormulaFunctionCONFIDENCE.T formula. Evaluates the Excel-compatible CONFIDENCE.T statistical function. Example: =CONFIDENCE.T(1,2,3).
- variableCORRELsource ↗
-
CORREL: FormulaFunctionCORREL formula. Evaluates the Excel-compatible CORREL statistical function. Example: =CORREL(1,2,3).
- variableCOSsource ↗
-
COS: FormulaFunctionCOS: Returns the cosine of an angle in radians.
Example=COS(0) returns 1. - variableCOSHsource ↗
-
COSH: FormulaFunctionCOSH: Returns the hyperbolic cosine of a number.
Example=COSH(0) returns 1. - variableCOTsource ↗
-
COT: FormulaFunctionCOT: Returns the cotangent of an angle in radians.
Example=COT(RADIANS(45)) returns 1. - variableCOTHsource ↗
-
COTH: FormulaFunctionCOTH: Returns the hyperbolic cotangent of a number.
Example=COTH(1) returns approximately 1.313035285. - variableCOUNTAsource ↗
-
COUNTA: FormulaFunctionCOUNTA formula. Evaluates the Excel-compatible COUNTA statistical function. Example: =COUNTA(1,2,3).
- variableCOUNTBLANKsource ↗
-
COUNTBLANK: FormulaFunctionCOUNTBLANK formula. Evaluates the Excel-compatible COUNTBLANK statistical function. Example: =COUNTBLANK(1,2,3).
- variableCOUNTIFsource ↗
-
COUNTIF: FormulaFunctionCOUNTIF formula. Evaluates the Excel-compatible COUNTIF statistical function. Example: =COUNTIF(1,2,3).
- variableCOUNTIFSsource ↗
-
COUNTIFS: FormulaFunctionCOUNTIFS formula. Evaluates the Excel-compatible COUNTIFS statistical function. Example: =COUNTIFS(1,2,3).
- variableCOUNTUNIQUEsource ↗
-
COUNTUNIQUE: FormulaFunctionCOUNTUNIQUE counts distinct values. Example: =COUNTUNIQUE(1,1,2) returns 2.
- variableCOUPDAYBSsource ↗
-
COUPDAYBS: FormulaFunctionCOUPDAYBS: days from the beginning of a coupon period to settlement.
- variableCOUPDAYSsource ↗
-
COUPDAYS: FormulaFunctionCOUPDAYS: number of days in the coupon period containing settlement.
- variableCOUPDAYSNCsource ↗
-
COUPDAYSNC: FormulaFunctionCOUPDAYSNC: days from settlement to the next coupon.
- variableCOUPNUMsource ↗
-
COUPNUM: FormulaFunctionCOUPNUM: number of coupons remaining after settlement.
- variableCOVARsource ↗
-
COVAR: FormulaFunctionCOVAR compatibility formula: Returns population covariance for two data sets.
Example=COVAR({2,4,8},{5,11,12}) - variableCOVARIANCE_Psource ↗
-
COVARIANCE_P: FormulaFunctionCOVARIANCE.P formula. Evaluates the Excel-compatible COVARIANCE.P statistical function. Example: =COVARIANCE.P(1,2,3).
- variableCOVARIANCE_Ssource ↗
-
COVARIANCE_S: FormulaFunctionCOVARIANCE.S formula. Evaluates the Excel-compatible COVARIANCE.S statistical function. Example: =COVARIANCE.S(1,2,3).
- variableCRITBINOMsource ↗
-
CRITBINOM: FormulaFunctionCRITBINOM compatibility formula: Returns the smallest binomial value meeting a cumulative probability.
Example=CRITBINOM(6,0.5,0.75) - variableCSCsource ↗
-
CSC: FormulaFunctionCSC: Returns the cosecant of an angle in radians.
Example=CSC(PI()/2) returns 1. - variableCSCHsource ↗
-
CSCH: FormulaFunctionCSCH: Returns the hyperbolic cosecant of a number.
Example=CSCH(1) returns approximately 0.850918128. - variablecubeFunctionssource ↗
-
cubeFunctions: readonly [FormulaFunction, FormulaFunction, FormulaFunction, FormulaFunction, FormulaFunction, FormulaFunction, FormulaFunction] - variableCUBEKPIMEMBERsource ↗
-
CUBEKPIMEMBER: FormulaFunctionReturns a typed KPI property member. Example: CUBEKPIMEMBER("Sales","Revenue KPI",KPIGoal).
- variableCUBEMEMBERsource ↗
-
CUBEMEMBER: FormulaFunctionReturns a typed cube member or tuple. Example: CUBEMEMBER("Sales","[Time].[Fiscal].[2004]").
- variableCUBEMEMBERPROPERTYsource ↗
-
CUBEMEMBERPROPERTY: FormulaFunctionReturns one property of a cube member. Example: CUBEMEMBERPROPERTY("Sales","[Time].[2004]","Name").
- variableCUBERANKEDMEMBERsource ↗
-
CUBERANKEDMEMBER: FormulaFunctionReturns the member at a one-based set rank. Example: CUBERANKEDMEMBER("Sales",A1,1).
- variableCUBESETsource ↗
-
CUBESET: FormulaFunctionReturns a typed OLAP set. Example: CUBESET("Sales","[Product].Members","Products").
- variableCUBESETCOUNTsource ↗
-
CUBESETCOUNT: FormulaFunctionReturns the item count of a CUBESET result. Example: CUBESETCOUNT(A1).
- variableCUBEVALUEsource ↗
-
CUBEVALUE: FormulaFunctionReturns an aggregated cube value. Example: CUBEVALUE("Sales","[Measures].[Profit]").
- variableCUMIPMTsource ↗
-
CUMIPMT: FormulaFunctionCUMIPMT: cumulative interest paid between two periods.
- variableCUMPRINCsource ↗
-
CUMPRINC: FormulaFunctionCUMPRINC: cumulative principal paid between two periods.
- variabledatabaseFunctionssource ↗
-
databaseFunctions: readonly FormulaFunction[] - variableDATEsource ↗
-
DATE: FormulaFunctionDATE: Creates an Excel date serial from year, month, and day parts. Example: =DATE(2024,2,29) returns 45351.
- variableDATEDIFsource ↗
-
DATEDIF: FormulaFunctionDATEDIF: Returns the elapsed days, months, or years between two dates. Example: =DATEDIF("1/1/2001","1/1/2003","Y") returns 2.
- variabledateTimeFunctionssource ↗
-
dateTimeFunctions: readonly FormulaFunction[] - variableDATEVALUEsource ↗
-
DATEVALUE: FormulaFunctionDATEVALUE: Converts date text into an Excel date serial. Example: =DATEVALUE("22-MAY-2011") returns 40685.
- variableDAVERAGEsource ↗
-
DAVERAGE: FormulaFunctionDAVERAGE: Returns the average of matching numeric database records.
Example=DAVERAGE(A1:C5,"Sales",E1:F2) - variableDAYsource ↗
-
DAY: FormulaFunctionDAY: Returns the day of month for a date serial. Example: =DAY("2011-4-15") returns 15.
- variableDAYSsource ↗
-
DAYS: FormulaFunctionDAYS: Returns the number of days between an end date and a start date. Example: =DAYS("2021-12-31","2021-1-1") returns 364.
- variableDAYS360source ↗
-
DAYS360: FormulaFunctionDAYS360: Returns the day difference using a 360-day accounting year. Example: =DAYS360("2011-1-1","2011-12-31") returns 360.
- variableDBCSsource ↗
-
DBCS: FormulaFunctionConverts half-width characters to full-width DBCS characters. Example: DBCS("ABC") returns "ABC".
- variableDCOUNTsource ↗
-
DCOUNT: FormulaFunctionDCOUNT: Counts matching database records containing numbers.
Example=DCOUNT(A1:C5,"Sales",E1:F2) - variableDCOUNTAsource ↗
-
DCOUNTA: FormulaFunctionDCOUNTA: Counts matching nonblank database records.
Example=DCOUNTA(A1:C5,"Name",E1:F2) - variableDECIMALsource ↗
-
DECIMAL: FormulaFunctionDECIMAL: Converts text in a selected radix to a decimal number.
Example=DECIMAL("1010",2) returns 10. - variableDEGREESsource ↗
-
DEGREES: FormulaFunctionDEGREES: Converts an angle from radians to degrees.
Example=DEGREES(PI()) returns 180. - variableDETECTLANGUAGEsource ↗
-
DETECTLANGUAGE: FormulaFunctionReads language detection from the host cache. Example: DETECTLANGUAGE("hello") commonly returns "en".
- variableDEVSQsource ↗
-
DEVSQ: FormulaFunctionDEVSQ formula. Evaluates the Excel-compatible DEVSQ statistical function. Example: =DEVSQ(1,2,3).
- variableDGETsource ↗
-
DGET: FormulaFunctionDGET: Returns the single field value from exactly one matching record.
Example=DGET(A1:C5,"Sales",E1:F2) - variableDISCsource ↗
-
DISC: FormulaFunctionDISC: annualized discount rate for a discounted security.
- variableDIVIDEsource ↗
-
DIVIDE: FormulaFunctionDIVIDE divides one value by another. Example: =DIVIDE(6,2) returns 3.
- variableDMAXsource ↗
-
DMAX: FormulaFunctionDMAX: Returns the largest matching numeric database value.
Example=DMAX(A1:C5,"Sales",E1:F2) - variableDMINsource ↗
-
DMIN: FormulaFunctionDMIN: Returns the smallest matching numeric database value.
Example=DMIN(A1:C5,"Sales",E1:F2) - variableDOLLARsource ↗
-
DOLLAR: FormulaFunctionFormats a number as currency text. Example: DOLLAR(1234.5,2) returns "$1,234.50".
- variableDOLLARDEsource ↗
-
DOLLARDE: FormulaFunctionDOLLARDE: converts a fractional dollar price to a decimal price.
- variableDOLLARFRsource ↗
-
DOLLARFR: FormulaFunctionDOLLARFR: converts a decimal dollar price to a fractional price.
- variableDPRODUCTsource ↗
-
DPRODUCT: FormulaFunctionDPRODUCT: Multiplies matching numeric database values.
Example=DPRODUCT(A1:C5,"Sales",E1:F2) - variableDROPsource ↗
-
DROP: FormulaFunctionDROP removes rows and columns. Example: =DROP(A1:C3,1) removes the first row.
- variableDSTDEVsource ↗
-
DSTDEV: FormulaFunctionDSTDEV: Returns the sample standard deviation of matching records.
Example=DSTDEV(A1:C5,"Sales",E1:F2) - variableDSTDEVPsource ↗
-
DSTDEVP: FormulaFunctionDSTDEVP: Returns the population standard deviation of matching records.
Example=DSTDEVP(A1:C5,"Sales",E1:F2) - variableDSUMsource ↗
-
DSUM: FormulaFunctionDSUM: Sums matching numeric database values.
Example=DSUM(A1:C5,"Sales",E1:F2) - variableDURATIONsource ↗
-
DURATION: FormulaFunctionDURATION: Macaulay duration of a coupon security.
- variableDVARsource ↗
-
DVAR: FormulaFunctionDVAR: Returns the sample variance of matching records.
Example=DVAR(A1:C5,"Sales",E1:F2) - variableDVARPsource ↗
-
DVARP: FormulaFunctionDVARP: Returns the population variance of matching records.
Example=DVARP(A1:C5,"Sales",E1:F2) - variableEDATEsource ↗
-
EDATE: FormulaFunctionEDATE: Returns the date serial offset by a whole number of months. Example: =EDATE("2011-1-15",2) returns 40617.
- variableENCODEURLsource ↗
-
ENCODEURL: FormulaFunctionEncodes text as an RFC 3986 UTF-8 URL component. Example: ENCODEURL("a b") returns "a%20b".
- variableEnglishExcelDateTimeLocalesource ↗
-
EnglishExcelDateTimeLocale: FormulaDateTimeLocaleEnglish Excel-style date/time text parser and formatter.
- variableEnglishExcelDateTimeSymbolssource ↗
-
EnglishExcelDateTimeSymbols: FormulaDateTimeSymbolsEnglish symbols consumed by the shared Excel-compatible date/time parser.
- variableEOMONTHsource ↗
-
EOMONTH: FormulaFunctionEOMONTH: Returns the last day of the month offset from a start date. Example: =EOMONTH("2011-1-1",1) returns 40602.
- variableEPOCHTODATEsource ↗
-
EPOCHTODATE: FormulaFunctionEPOCHTODATE converts a Unix timestamp to an Excel UTC date-time serial. Example: =EPOCHTODATE(0) returns 25569.
- variableEQsource ↗
-
EQ: FormulaFunctionEQ tests two values for equality. Example: =EQ(2,2) returns TRUE.
- variableERROR_TYPEsource ↗
-
ERROR_TYPE: FormulaFunctionERROR.TYPE: Returns the numeric code for an error value.
Example=ERROR.TYPE(NA()) - variableEUROCONVERTsource ↗
-
EUROCONVERT: FormulaFunctionConverts between the euro and legacy euro-member currencies using fixed EU rates. Example:
=EUROCONVERT(1.2,"DEM","EUR")returns0.61. - variableEVENsource ↗
-
EVEN: FormulaFunctionEVEN: Rounds a number away from zero to the nearest even integer.
Example=EVEN(1.5) returns 2. - variableEXACTsource ↗
-
EXACT: FormulaFunctionCompares two strings with case sensitivity. Example: EXACT("A","a") returns FALSE.
- variableEXCEL_1904_SERIAL_OFFSETsource ↗
-
EXCEL_1904_SERIAL_OFFSET: 1462 - variableEXPsource ↗
-
EXP: FormulaFunctionEXP: Returns e raised to the specified power.
Example=EXP(0) returns 1. - variableEXPON_DISTsource ↗
-
EXPON_DIST: FormulaFunctionEXPON.DIST formula. Evaluates the Excel-compatible EXPON.DIST statistical function. Example: =EXPON.DIST(1,1,TRUE).
- variableEXPONDISTsource ↗
-
EXPONDIST: FormulaFunctionEXPONDIST compatibility formula: Returns an exponential distribution value.
Example=EXPONDIST(0.2,10,TRUE) - variableF_DISTsource ↗
-
F_DIST: FormulaFunctionF.DIST formula. Evaluates the Excel-compatible F.DIST statistical function. Example: =F.DIST(1,1,TRUE).
- variableF_DIST_RTsource ↗
-
F_DIST_RT: FormulaFunctionF.DIST.RT formula. Evaluates the Excel-compatible F.DIST.RT statistical function. Example: =F.DIST.RT(1,1,TRUE).
- variableF_INVsource ↗
-
F_INV: FormulaFunctionF.INV formula. Evaluates the Excel-compatible F.INV statistical function. Example: =F.INV(0.5,1,1).
- variableF_INV_RTsource ↗
-
F_INV_RT: FormulaFunctionF.INV.RT formula. Evaluates the Excel-compatible F.INV.RT statistical function. Example: =F.INV.RT(0.5,1,1).
- variableF_TESTsource ↗
-
F_TEST: FormulaFunctionF.TEST formula. Evaluates the Excel-compatible F.TEST statistical function. Example: =F.TEST(1,2,3).
- variableFACTsource ↗
-
FACT: FormulaFunctionFACT: Returns the factorial of a nonnegative integer.
Example=FACT(5) returns 120. - variableFACTDOUBLEsource ↗
-
FACTDOUBLE: FormulaFunctionFACTDOUBLE: Returns the double factorial of a nonnegative integer.
Example=FACTDOUBLE(7) returns 105. - variableFALSEsource ↗
-
FALSE: FormulaFunctionFALSE: Returns the logical value FALSE.
Example=FALSE() - variableFDISTsource ↗
-
FDIST: FormulaFunctionFDIST compatibility formula: Returns the right-tailed F distribution probability.
Example=FDIST(15.2069,6,4) - variableFILTERsource ↗
-
FILTER: FormulaFunctionFILTER returns rows matching a Boolean include array. Example: =FILTER(A1:B3,{TRUE;FALSE;TRUE}).
- variableFILTERXMLsource ↗
-
FILTERXML: FormulaFunctionExtracts XPath matches from XML as a spilling column. Example: FILTERXML("<r><v>A</v></r>","//v") returns A.
- variablefinancialFunctionssource ↗
-
financialFunctions: readonly FormulaFunction[]All built-in financial worksheet functions.
- variableFINDsource ↗
-
FIND: FormulaFunctionFinds case-sensitive text and returns a one-based position. Example: FIND("b","abc") returns 2.
- variableFINDBsource ↗
-
FINDB: FormulaFunctionFinds case-sensitive text using locale-defined DBCS byte positions. Example: FINDB("b", "abc") returns 2.
- variableFINVsource ↗
-
FINV: FormulaFunctionFINV compatibility formula: Returns the inverse right-tailed F distribution.
Example=FINV(0.01,6,4) - variableFISHERsource ↗
-
FISHER: FormulaFunctionFISHER formula. Evaluates the Excel-compatible FISHER statistical function. Example: =FISHER(1,2,3).
- variableFISHERINVsource ↗
-
FISHERINV: FormulaFunctionFISHERINV formula. Evaluates the Excel-compatible FISHERINV statistical function. Example: =FISHERINV(0.5,1,1).
- variableFIXEDsource ↗
-
FIXED: FormulaFunctionFormats rounded fixed-decimal text. Example: FIXED(1234.567,1) returns "1,234.6".
- variableFLATTENsource ↗
-
FLATTEN: FormulaFunctionFLATTEN combines one or more arrays into a single column. Example: =FLATTEN(A1:B2,C1:C2).
- variableFLOORsource ↗
-
FLOOR: FormulaFunctionFLOOR compatibility formula: Rounds a number down to a legacy significance multiple.
Example=FLOOR(2.5,1) - variableFLOOR_MATHsource ↗
-
FLOOR_MATH: FormulaFunctionFLOOR.MATH: Rounds a number down to the nearest multiple.
Example=FLOOR.MATH(-8.1,2) returns -10. - variableFLOOR_PRECISEsource ↗
-
FLOOR_PRECISE: FormulaFunctionFLOOR.PRECISE: Rounds a number down to the nearest multiple using an absolute direction.
Example=FLOOR.PRECISE(-3.2,1) returns -4. - variableFORECASTsource ↗
-
FORECAST: FormulaFunctionFORECAST formula. Evaluates the Excel-compatible FORECAST statistical function. Example: =FORECAST(1,2,3).
- variableFORECAST_ETSsource ↗
-
FORECAST_ETS: FormulaFunctionFORECAST.ETS formula. Evaluates the Excel-compatible FORECAST.ETS statistical function. Example: =FORECAST.ETS(1,2,3).
- variableFORECAST_ETS_CONFINTsource ↗
-
FORECAST_ETS_CONFINT: FormulaFunctionFORECAST.ETS.CONFINT formula. Evaluates the Excel-compatible FORECAST.ETS.CONFINT statistical function. Example: =FORECAST.ETS.CONFINT(1,2,3).
- variableFORECAST_ETS_SEASONALITYsource ↗
-
FORECAST_ETS_SEASONALITY: FormulaFunctionFORECAST.ETS.SEASONALITY formula. Evaluates the Excel-compatible FORECAST.ETS.SEASONALITY statistical function. Example: =FORECAST.ETS.SEASONALITY(1,2,3).
- variableFORECAST_ETS_STATsource ↗
-
FORECAST_ETS_STAT: FormulaFunctionFORECAST.ETS.STAT formula. Evaluates the Excel-compatible FORECAST.ETS.STAT statistical function. Example: =FORECAST.ETS.STAT(1,2,3).
- variableFORECAST_LINEARsource ↗
-
FORECAST_LINEAR: FormulaFunctionFORECAST.LINEAR formula. Evaluates the Excel-compatible FORECAST.LINEAR statistical function. Example: =FORECAST.LINEAR(1,2,3).
- variableFORMULATEXTsource ↗
-
FORMULATEXT: FormulaFunctionFORMULATEXT returns source text for a formula cell. Example: =FORMULATEXT(A1).
- variableFREQUENCYsource ↗
-
FREQUENCY: FormulaFunctionFREQUENCY formula. Evaluates the Excel-compatible FREQUENCY statistical function. Example: =FREQUENCY(1,2,3).
- variableFTESTsource ↗
-
FTEST: FormulaFunctionFTEST compatibility formula: Returns the two-tailed F-test probability.
Example=FTEST({1,2,3},{1,2,4}) - variableFVSCHEDULEsource ↗
-
FVSCHEDULE: FormulaFunctionFVSCHEDULE: future value using a series of variable rates.
- variableGAMMAsource ↗
-
GAMMA: FormulaFunctionGAMMA formula. Evaluates the Excel-compatible GAMMA statistical function. Example: =GAMMA(1,2,3).
- variableGAMMA_DISTsource ↗
-
GAMMA_DIST: FormulaFunctionGAMMA.DIST formula. Evaluates the Excel-compatible GAMMA.DIST statistical function. Example: =GAMMA.DIST(1,1,TRUE).
- variableGAMMA_INVsource ↗
-
GAMMA_INV: FormulaFunctionGAMMA.INV formula. Evaluates the Excel-compatible GAMMA.INV statistical function. Example: =GAMMA.INV(0.5,1,1).
- variableGAMMADISTsource ↗
-
GAMMADIST: FormulaFunctionGAMMADIST compatibility formula: Returns a gamma distribution value.
Example=GAMMADIST(10,9,2,TRUE) - variableGAMMAINVsource ↗
-
GAMMAINV: FormulaFunctionGAMMAINV compatibility formula: Returns an inverse gamma distribution value.
Example=GAMMAINV(0.068094,9,2) - variableGAMMALNsource ↗
-
GAMMALN: FormulaFunctionGAMMALN formula. Evaluates the Excel-compatible GAMMALN statistical function. Example: =GAMMALN(1,2,3).
- variableGAMMALN_PRECISEsource ↗
-
GAMMALN_PRECISE: FormulaFunctionGAMMALN.PRECISE formula. Evaluates the Excel-compatible GAMMALN.PRECISE statistical function. Example: =GAMMALN.PRECISE(1,2,3).
- variableGAUSSsource ↗
-
GAUSS: FormulaFunctionGAUSS formula. Evaluates the Excel-compatible GAUSS statistical function. Example: =GAUSS(1,2,3).
- variableGCDsource ↗
-
GCD: FormulaFunctionGCD: Returns the greatest common divisor of numeric values.
Example=GCD(24,36) returns 12. - variableGEOMEANsource ↗
-
GEOMEAN: FormulaFunctionGEOMEAN formula. Evaluates the Excel-compatible GEOMEAN statistical function. Example: =GEOMEAN(1,2,3).
- variableGETPIVOTDATAsource ↗
-
GETPIVOTDATA: FormulaFunctionGETPIVOTDATA reads a host pivot data service. Example: =GETPIVOTDATA("Sales",A1).
- variableGOOGLEFINANCEsource ↗
-
GOOGLEFINANCE: FormulaFunctionGOOGLEFINANCE reads market data from a host-managed cache. Example: =GOOGLEFINANCE("NASDAQ:GOOG","price") returns cached price data.
- variablegoogleFunctionssource ↗
-
googleFunctions: readonly FormulaFunction[] - variableGOOGLETRANSLATEsource ↗
-
GOOGLETRANSLATE: FormulaFunctionGOOGLETRANSLATE reads a translation from a host-managed cache. Example: =GOOGLETRANSLATE("hello","en","zh-CN") returns cached text.
- variableGROUPBYsource ↗
-
GROUPBY: FormulaFunctionGROUPBY groups rows by a key and aggregates values by sum. Example: =GROUPBY(A2:A5,B2:B5,SUM).
- variableGROWTHsource ↗
-
GROWTH: FormulaFunctionGROWTH formula. Evaluates the Excel-compatible GROWTH statistical function. Example: =GROWTH(1,2,3).
- variableGTsource ↗
-
GT: FormulaFunctionGT tests whether the first value is greater. Example: =GT(3,2) returns TRUE.
- variableGTEsource ↗
-
GTE: FormulaFunctionGTE tests whether the first value is at least the second. Example: =GTE(2,2) returns TRUE.
- variableHARMEANsource ↗
-
HARMEAN: FormulaFunctionHARMEAN formula. Evaluates the Excel-compatible HARMEAN statistical function. Example: =HARMEAN(1,2,3).
- variableHLOOKUPsource ↗
-
HLOOKUP: FormulaFunctionHLOOKUP searches a table's first row. Example: =HLOOKUP("B",A1:C2,2,FALSE).
- variableHOURsource ↗
-
HOUR: FormulaFunctionHOUR: Returns the hour component from a time or date-time value. Example: =HOUR("2011-7-18 7:45") returns 7.
- variableHSTACKsource ↗
-
HSTACK: FormulaFunctionHSTACK joins arrays horizontally. Example: =HSTACK({1;2},{3;4}).
- variableHYPERLINKsource ↗
-
HYPERLINK: FormulaFunctionHYPERLINK returns display text for a host-rendered link. Example: =HYPERLINK("https://example.com","Open").
- variableHYPGEOM_DISTsource ↗
-
HYPGEOM_DIST: FormulaFunctionHYPGEOM.DIST formula. Evaluates the Excel-compatible HYPGEOM.DIST statistical function. Example: =HYPGEOM.DIST(1,1,TRUE).
- variableHYPGEOMDISTsource ↗
-
HYPGEOMDIST: FormulaFunctionHYPGEOMDIST compatibility formula: Returns the non-cumulative hypergeometric probability.
Example=HYPGEOMDIST(1,4,8,20) - variableIFsource ↗
-
IF: FormulaFunctionReturns one value when a condition is true and another when it is false.
- variableIFERRORsource ↗
-
IFERROR: FormulaFunctionIFERROR: Replaces a formula error with a fallback value.
Example=IFERROR(1/0,0) returns 0. - variableIFNAsource ↗
-
IFNA: FormulaFunctionIFNA: Returns a fallback only when the input is #N/A.
Example=IFNA(NA(),0) - variableIFSsource ↗
-
IFS: FormulaFunctionIFS: Returns the value paired with the first TRUE condition.
Example=IFS(A1>90,"A",A1>80,"B",TRUE,"C") - variableIMAGEsource ↗
-
IMAGE: FormulaFunctionIMAGE reads a host-managed image cache. Example: =IMAGE("https://example.com/logo.png").
- variableIMPORTDATAsource ↗
-
IMPORTDATA: FormulaFunctionIMPORTDATA reads CSV or TSV data from a host-managed cache. Example: =IMPORTDATA("https://example.com/data.csv") returns cached rows.
- variableIMPORTFEEDsource ↗
-
IMPORTFEED: FormulaFunctionIMPORTFEED reads RSS or Atom data from a host-managed cache. Example: =IMPORTFEED("https://example.com/feed.xml") returns cached feed rows.
- variableIMPORTHTMLsource ↗
-
IMPORTHTML: FormulaFunctionIMPORTHTML reads an HTML table or list from a host-managed cache. Example: =IMPORTHTML("https://example.com","table",1) returns cached rows.
- variableIMPORTRANGEsource ↗
-
IMPORTRANGE: FormulaFunctionIMPORTRANGE reads another spreadsheet through a host-managed cache. Example: =IMPORTRANGE("sheet-id","A1:B2") returns cached cells.
- variableIMPORTXMLsource ↗
-
IMPORTXML: FormulaFunctionIMPORTXML reads XPath-selected data from a host-managed cache. Example: =IMPORTXML("https://example.com","//title") returns cached nodes.
- variableINDEXsource ↗
-
INDEX: FormulaFunctionINDEX returns a value or subarray by row and column. Example: =INDEX(A1:C3,2,3).
- variableINDIRECTsource ↗
-
INDIRECT: FormulaFunctionINDIRECT resolves text to a reference. Example: =INDIRECT("A1") returns A1.
- variableINFOsource ↗
-
INFO: FormulaFunctionINFO: Returns host or workbook environment information.
Example=INFO("numfile") - variableinformationFunctionssource ↗
-
informationFunctions: readonly FormulaFunction[] - variableINTsource ↗
-
INT: FormulaFunctionINT: Rounds a number down to the nearest integer.
Example=INT(-0.1) returns -1. - variableINTERCEPTsource ↗
-
INTERCEPT: FormulaFunctionINTERCEPT formula. Evaluates the Excel-compatible INTERCEPT statistical function. Example: =INTERCEPT(1,2,3).
- variableINTRATEsource ↗
-
INTRATE: FormulaFunctionINTRATE: annualized interest rate of a fully invested security.
- variableISBETWEENsource ↗
-
ISBETWEEN: FormulaFunctionISBETWEEN tests whether a value lies between bounds. Example: =ISBETWEEN(5,1,10) returns TRUE.
- variableISBLANKsource ↗
-
ISBLANK: FormulaFunctionISBLANK: Returns TRUE only for a genuinely empty referenced cell.
Example=ISBLANK(A1) - variableISDATEsource ↗
-
ISDATE: FormulaFunctionISDATE reports whether a value is a valid date or date serial. Example: =ISDATE("2024-02-29") returns TRUE.
- variableISEMAILsource ↗
-
ISEMAIL: FormulaFunctionISEMAIL checks common email-address syntax without contacting a server. Example: =ISEMAIL("a@example.com") returns TRUE.
- variableISERRsource ↗
-
ISERR: FormulaFunctionISERR: Returns TRUE for errors other than #N/A.
Example=ISERR(1/0) - variableISERRORsource ↗
-
ISERROR: FormulaFunctionISERROR: Returns TRUE for any formula error.
Example=ISERROR(1/0) - variableISEVENsource ↗
-
ISEVEN: FormulaFunctionISEVEN: Returns TRUE when a number is even.
Example=ISEVEN(4) - variableISFORMULAsource ↗
-
ISFORMULA: FormulaFunctionISFORMULA: Returns TRUE when a referenced cell contains a formula.
Example=ISFORMULA(A1) - variableISLOGICALsource ↗
-
ISLOGICAL: FormulaFunctionISLOGICAL: Returns TRUE for logical values.
Example=ISLOGICAL(TRUE) - variableISNONTEXTsource ↗
-
ISNONTEXT: FormulaFunctionISNONTEXT: Returns TRUE for non-text values.
Example=ISNONTEXT(42) - variableISNUMBERsource ↗
-
ISNUMBER: FormulaFunctionISNUMBER: Returns TRUE for numeric values.
Example=ISNUMBER(42) - variableISO_CEILINGsource ↗
-
ISO_CEILING: FormulaFunctionISO.CEILING: Rounds a number up to the nearest multiple.
Example=ISO.CEILING(-4.3,2) returns -4. - variableISODDsource ↗
-
ISODD: FormulaFunctionISODD: Returns TRUE when a number is odd.
Example=ISODD(3) - variableISOWEEKNUMsource ↗
-
ISOWEEKNUM: FormulaFunctionISOWEEKNUM: Returns the ISO 8601 week number for a date. Example: =ISOWEEKNUM("2012-3-9") returns 10.
- variableISPMTsource ↗
-
ISPMT: FormulaFunctionISPMT: interest paid during a specific period of an investment.
- variableISREFsource ↗
-
ISREF: FormulaFunctionISREF: Returns TRUE when its argument preserves reference identity.
Example=ISREF(A1) - variableISTEXTsource ↗
-
ISTEXT: FormulaFunctionISTEXT: Returns TRUE for text values.
Example=ISTEXT("text") - variableISURLsource ↗
-
ISURL: FormulaFunctionISURL checks whether text is an absolute URL. Example: =ISURL("https://example.com") returns TRUE.
- variableJISsource ↗
-
JIS: FormulaFunctionConverts half-width text to Japanese full-width text. Example: JIS("ABC カ") returns "ABC カ".
- variableJOINsource ↗
-
JOIN: FormulaFunctionJOIN concatenates values with a delimiter. Example: =JOIN("-",{1,2,3}) returns "1-2-3".
- variableKURTsource ↗
-
KURT: FormulaFunctionKURT formula. Evaluates the Excel-compatible KURT statistical function. Example: =KURT(1,2,3).
- variableLARGEsource ↗
-
LARGE: FormulaFunctionLARGE formula. Evaluates the Excel-compatible LARGE statistical function. Example: =LARGE(1,2,3).
- variableLAST_EXCEL_DATE_SERIALsource ↗
-
LAST_EXCEL_DATE_SERIAL: 2958465 - variableLCMsource ↗
-
LCM: FormulaFunctionLCM: Returns the least common multiple of numeric values.
Example=LCM(4,6) returns 12. - variableLEFTsource ↗
-
LEFT: FormulaFunctionReturns characters from the start of text. Example: LEFT("Sale",2) returns "Sa".
- variableLEFTBsource ↗
-
LEFTB: FormulaFunctionReturns leading text limited by a locale-defined DBCS byte count. Example: LEFTB("abc", 2) returns "ab".
- variableLENsource ↗
-
LEN: FormulaFunctionReturns the UTF-16 character count used by Excel compatibility mode. Example: LEN("Excel") returns 5.
- variableLENBsource ↗
-
LENB: FormulaFunctionReturns text length measured in locale-defined DBCS bytes. Example: LENB("abc") returns 3.
- variableLETsource ↗
-
LET: FormulaFunctionLET: Evaluates sequential name/value bindings in a child lexical scope.
Example=LET(rate,2,amount,5,rate*amount) returns 10. - variableLINESTsource ↗
-
LINEST: FormulaFunctionLINEST formula. Evaluates the Excel-compatible LINEST statistical function. Example: =LINEST(1,2,3).
- variableLNsource ↗
-
LN: FormulaFunctionLN: Returns the natural logarithm of a positive number.
Example=LN(1) returns 0. - variableLOGsource ↗
-
LOG: FormulaFunctionLOG: Returns the logarithm of a number for a specified base.
Example=LOG(8,2) returns 3. - variableLOG10source ↗
-
LOG10: FormulaFunctionLOG10: Returns the base-10 logarithm of a positive number.
Example=LOG10(100) returns 2. - variableLOGESTsource ↗
-
LOGEST: FormulaFunctionLOGEST formula. Evaluates the Excel-compatible LOGEST statistical function. Example: =LOGEST(1,2,3).
- variablelogicalFunctionssource ↗
-
logicalFunctions: readonly FormulaFunction[] - variableLOGINVsource ↗
-
LOGINV: FormulaFunctionLOGINV compatibility formula: Returns the inverse lognormal distribution.
Example=LOGINV(0.039084,3.5,1.2) - variableLOGNORM_DISTsource ↗
-
LOGNORM_DIST: FormulaFunctionLOGNORM.DIST formula. Evaluates the Excel-compatible LOGNORM.DIST statistical function. Example: =LOGNORM.DIST(1,1,TRUE).
- variableLOGNORM_INVsource ↗
-
LOGNORM_INV: FormulaFunctionLOGNORM.INV formula. Evaluates the Excel-compatible LOGNORM.INV statistical function. Example: =LOGNORM.INV(0.5,1,1).
- variableLOGNORMDISTsource ↗
-
LOGNORMDIST: FormulaFunctionLOGNORMDIST compatibility formula: Returns the cumulative lognormal distribution.
Example=LOGNORMDIST(4,3.5,1.2) - variableLOOKUPsource ↗
-
LOOKUP: FormulaFunctionLOOKUP performs approximate vector lookup. Example: =LOOKUP(2,{1,2,3},{"A","B","C"}) returns B.
- variablelookupFunctionNamessource ↗
-
lookupFunctionNames: readonly ["ADDRESS", "AREAS", "ARRAY_CONSTRAIN", "CHOOSE", "CHOOSECOLS", "CHOOSEROWS", "COLUMN", "COLUMNS", "DROP", "EXPAND", "FILTER", "FLATTEN", "FORMULATEXT", "GETPIVOTDATA", "GROUPBY", "HLOOKUP", "HSTACK", "HYPERLINK", "IMAGE", "INDEX", "INDIRECT", "LOOKUP", "MATCH", "OFFSET", "PIVOTBY", "ROW", "ROWS", "RTD", "SORT", "SORTBY", "TAKE", "TOCOL", "TOROW", "TRANSPOSE", "TRIMRANGE", "UNIQUE", "VSTACK", "WRAPCOLS", "WRAPROWS", "XLOOKUP", "XMATCH"]Names implemented by the lookup/reference and dynamic-array family.
- variableLOWERsource ↗
-
LOWER: FormulaFunctionConverts letters to lowercase. Example: LOWER("Excel") returns "excel".
- variableLTsource ↗
-
LT: FormulaFunctionLT tests whether the first value is smaller. Example: =LT(2,3) returns TRUE.
- variableLTEsource ↗
-
LTE: FormulaFunctionLTE tests whether the first value is no greater than the second. Example: =LTE(2,2) returns TRUE.
- variableMARGINOFERRORsource ↗
-
MARGINOFERROR: FormulaFunctionMARGINOFERROR formula. Estimates the normal confidence margin for a sample. Example: =MARGINOFERROR(0.95,A1:A10).
- variableMATCHsource ↗
-
MATCH: FormulaFunctionMATCH returns the position of a lookup value. Example: =MATCH("B",{"A";"B"},0) returns 2.
- variableMAXsource ↗
-
MAX: FormulaFunctionMAX formula. Evaluates the Excel-compatible MAX statistical function. Example: =MAX(1,2,3).
- variableMAXAsource ↗
-
MAXA: FormulaFunctionMAXA formula. Evaluates the Excel-compatible MAXA statistical function. Example: =MAXA(1,2,3).
- variableMAXIFSsource ↗
-
MAXIFS: FormulaFunctionMAXIFS formula. Evaluates the Excel-compatible MAXIFS statistical function. Example: =MAXIFS(1,2,3).
- variableMDETERMsource ↗
-
MDETERM: FormulaFunctionMDETERM: Returns the determinant of a square matrix.
Example=MDETERM({1,2;3,4}) returns -2. - variableMDURATIONsource ↗
-
MDURATION: FormulaFunctionMDURATION: modified duration of a coupon security.
- variableMEDIANsource ↗
-
MEDIAN: FormulaFunctionMEDIAN formula. Evaluates the Excel-compatible MEDIAN statistical function. Example: =MEDIAN(1,2,3).
- variableMIDsource ↗
-
MID: FormulaFunctionReturns a substring by one-based start and length. Example: MID("Fluid Flow",7,4) returns "Flow".
- variableMIDBsource ↗
-
MIDB: FormulaFunctionReturns text from a locale-defined DBCS byte position. Example: MIDB("abc", 2, 1) returns "b".
- variableMINsource ↗
-
MIN: FormulaFunctionMIN formula. Evaluates the Excel-compatible MIN statistical function. Example: =MIN(1,2,3).
- variableMINAsource ↗
-
MINA: FormulaFunctionMINA formula. Evaluates the Excel-compatible MINA statistical function. Example: =MINA(1,2,3).
- variableMINIFSsource ↗
-
MINIFS: FormulaFunctionMINIFS formula. Evaluates the Excel-compatible MINIFS statistical function. Example: =MINIFS(1,2,3).
- variableMINUSsource ↗
-
MINUS: FormulaFunctionMINUS subtracts the second value from the first. Example: =MINUS(5,2) returns 3.
- variableMINUTEsource ↗
-
MINUTE: FormulaFunctionMINUTE: Returns the minute component from a time or date-time value. Example: =MINUTE("12:45 PM") returns 45.
- variableMINVERSEsource ↗
-
MINVERSE: FormulaFunctionMINVERSE: Returns the inverse matrix for a square, nonsingular matrix.
Example=MINVERSE({1,2;3,4}) returns {-2,1;1.5,-0.5}. - variableMMULTsource ↗
-
MMULT: FormulaFunctionMMULT: Returns the matrix product of two compatible arrays.
Example=MMULT({1,2},{3;4}) returns 11. - variableMODsource ↗
-
MOD: FormulaFunctionMOD: Returns the remainder after division.
Example=MOD(-3,2) returns 1. - variableMODEsource ↗
-
MODE: FormulaFunctionMODE compatibility formula: Returns the most frequent numeric value.
Example=MODE(1,1,2,3) - variableMODE_MULTsource ↗
-
MODE_MULT: FormulaFunctionMODE.MULT formula. Evaluates the Excel-compatible MODE.MULT statistical function. Example: =MODE.MULT(1,2,3).
- variableMODE_SNGLsource ↗
-
MODE_SNGL: FormulaFunctionMODE.SNGL formula. Evaluates the Excel-compatible MODE.SNGL statistical function. Example: =MODE.SNGL(1,2,3).
- variableMONTHsource ↗
-
MONTH: FormulaFunctionMONTH: Returns the month number for a date serial. Example: =MONTH("2011-4-15") returns 4.
- variableMROUNDsource ↗
-
MROUND: FormulaFunctionMROUND: Rounds a number to the nearest specified multiple.
Example=MROUND(10,3) returns 9. - variableMULTINOMIALsource ↗
-
MULTINOMIAL: FormulaFunctionMULTINOMIAL: Returns the multinomial coefficient for a set of numbers.
Example=MULTINOMIAL(1,1,1) returns 6. - variableMULTIPLYsource ↗
-
MULTIPLY: FormulaFunctionMULTIPLY multiplies two values. Example: =MULTIPLY(3,4) returns 12.
- variableMUNITsource ↗
-
MUNIT: FormulaFunctionMUNIT: Returns an identity matrix of the requested size.
Example=MUNIT(2) returns {1,0;0,1}. - variableNsource ↗
-
N: FormulaFunctionN: Converts numbers, booleans, and other values to a numeric projection.
Example=N(TRUE) - variableNEsource ↗
-
NE: FormulaFunctionNE tests two values for inequality. Example: =NE(2,3) returns TRUE.
- variableNEGBINOM_DISTsource ↗
-
NEGBINOM_DIST: FormulaFunctionNEGBINOM.DIST formula. Evaluates the Excel-compatible NEGBINOM.DIST statistical function. Example: =NEGBINOM.DIST(1,1,TRUE).
- variableNEGBINOMDISTsource ↗
-
NEGBINOMDIST: FormulaFunctionNEGBINOMDIST compatibility formula: Returns the non-cumulative negative-binomial probability.
Example=NEGBINOMDIST(10,5,0.25) - variableNETWORKDAYSsource ↗
-
NETWORKDAYS: FormulaFunctionNETWORKDAYS: Counts whole workdays between two dates, excluding weekends and holidays. Example: =NETWORKDAYS("2012-10-1","2013-3-1",{"2012-11-22";"2012-12-4";"2013-1-21"}) returns 107.
- variableNETWORKDAYS_INTLsource ↗
-
NETWORKDAYS_INTL: FormulaFunctionNETWORKDAYS.INTL: Counts workdays between dates with custom weekend rules. Example: =NETWORKDAYS.INTL(DATE(2006,1,1),DATE(2006,2,1),"0010001",{"2006/1/2","2006/1/16"}) returns 20.
- variableNORM_DISTsource ↗
-
NORM_DIST: FormulaFunctionNORM.DIST formula. Evaluates the Excel-compatible NORM.DIST statistical function. Example: =NORM.DIST(1,1,TRUE).
- variableNORM_INVsource ↗
-
NORM_INV: FormulaFunctionNORM.INV compatibility formula: Returns an inverse normal distribution value under the NORM.INV name.
Example=NORM.INV(0.908789,40,1.5) - variableNORM_S_DISTsource ↗
-
NORM_S_DIST: FormulaFunctionNORM.S.DIST formula. Evaluates the Excel-compatible NORM.S.DIST statistical function. Example: =NORM.S.DIST(1,1,TRUE).
- variableNORM_S_INVsource ↗
-
NORM_S_INV: FormulaFunctionNORM.S.INV formula. Evaluates the Excel-compatible NORM.S.INV statistical function. Example: =NORM.S.INV(0.5,1,1).
- variableNORMDISTsource ↗
-
NORMDIST: FormulaFunctionNORMDIST compatibility formula: Returns a normal distribution value.
Example=NORMDIST(42,40,1.5,TRUE) - variableNORMINVsource ↗
-
NORMINV: FormulaFunctionNORMINV formula. Evaluates the Excel-compatible NORMINV statistical function. Example: =NORMINV(0.5,1,1).
- variableNORMSDISTsource ↗
-
NORMSDIST: FormulaFunctionNORMSDIST compatibility formula: Returns the cumulative standard normal distribution.
Example=NORMSDIST(1.333333) - variableNORMSINVsource ↗
-
NORMSINV: FormulaFunctionNORMSINV compatibility formula: Returns the inverse standard normal distribution.
Example=NORMSINV(0.908789) - variableNOTsource ↗
-
NOT: FormulaFunctionNOT: Returns the inverse of a logical value.
Example=NOT(TRUE) - variableNOWsource ↗
-
NOW: FormulaFunctionNOW: Returns the current date and time as an Excel serial. Example: =NOW()-0.5 returns the serial for 12 hours before the injected clock time.
- variableNUMBERSTRINGsource ↗
-
NUMBERSTRING: FormulaFunctionConverts a nonnegative number to one of the supported Chinese numeral styles.
- variableNUMBERVALUEsource ↗
-
NUMBERVALUE: FormulaFunctionParses numeric text with explicit separators. Example: NUMBERVALUE("2.500,27",",",".") returns 2500.27.
- variableODDsource ↗
-
ODD: FormulaFunctionODD: Rounds a number away from zero to the nearest odd integer.
Example=ODD(0) returns 1. - variableODDFPRICEsource ↗
-
ODDFPRICE: FormulaFunctionODDFPRICE: clean price for a security with an odd first coupon period.
- variableODDFYIELDsource ↗
-
ODDFYIELD: FormulaFunctionODDFYIELD: yield for a security with an odd first coupon period.
- variableODDLPRICEsource ↗
-
ODDLPRICE: FormulaFunctionODDLPRICE: clean price for a security with an odd last coupon period.
- variableODDLYIELDsource ↗
-
ODDLYIELD: FormulaFunctionODDLYIELD: yield for a security with an odd last coupon period.
- variableOFFSETsource ↗
-
OFFSET: FormulaFunctionOFFSET returns a shifted reference. Example: =OFFSET(A1,1,1) returns B2.
- variableORsource ↗
-
OR: FormulaFunctionOR: Returns TRUE when any supplied logical value is TRUE.
Example=OR(FALSE,TRUE) - variablePDURATIONsource ↗
-
PDURATION: FormulaFunctionPDURATION: periods required for an investment to reach a target value.
- variablePEARSONsource ↗
-
PEARSON: FormulaFunctionPEARSON formula. Evaluates the Excel-compatible PEARSON statistical function. Example: =PEARSON(1,2,3).
- variablePERCENTILEsource ↗
-
PERCENTILE: FormulaFunctionPERCENTILE compatibility formula: Returns an inclusive percentile.
Example=PERCENTILE({1,2,3,4},0.5) - variablePERCENTILE_EXCsource ↗
-
PERCENTILE_EXC: FormulaFunctionPERCENTILE.EXC formula. Evaluates the Excel-compatible PERCENTILE.EXC statistical function. Example: =PERCENTILE.EXC(1,2,3).
- variablePERCENTILE_INCsource ↗
-
PERCENTILE_INC: FormulaFunctionPERCENTILE.INC formula. Evaluates the Excel-compatible PERCENTILE.INC statistical function. Example: =PERCENTILE.INC(1,2,3).
- variablePERCENTOFsource ↗
-
PERCENTOF: FormulaFunctionPERCENTOF: Returns the proportion represented by one value or array within another.
Example=PERCENTOF({25},{100}) returns 0.25. - variablePERCENTRANKsource ↗
-
PERCENTRANK: FormulaFunctionPERCENTRANK compatibility formula: Returns an inclusive percentage rank.
Example=PERCENTRANK({1,2,3,4},3) - variablePERCENTRANK_EXCsource ↗
-
PERCENTRANK_EXC: FormulaFunctionPERCENTRANK.EXC formula. Evaluates the Excel-compatible PERCENTRANK.EXC statistical function. Example: =PERCENTRANK.EXC(1,2,3).
- variablePERCENTRANK_INCsource ↗
-
PERCENTRANK_INC: FormulaFunctionPERCENTRANK.INC formula. Evaluates the Excel-compatible PERCENTRANK.INC statistical function. Example: =PERCENTRANK.INC(1,2,3).
- variablePERMUTsource ↗
-
PERMUT: FormulaFunctionPERMUT formula. Evaluates the Excel-compatible PERMUT statistical function. Example: =PERMUT(1,2,3).
- variablePERMUTATIONAsource ↗
-
PERMUTATIONA: FormulaFunctionPERMUTATIONA formula. Evaluates the Excel-compatible PERMUTATIONA statistical function. Example: =PERMUTATIONA(1,2,3).
- variablePHIsource ↗
-
PHI: FormulaFunctionPHI formula. Evaluates the Excel-compatible PHI statistical function. Example: =PHI(1,2,3).
- variablePHONETICsource ↗
-
PHONETIC: FormulaFunctionReturns stored phonetic metadata for a cell. Example: PHONETIC(A1) returns its furigana when available.
- variablePIsource ↗
-
PI: FormulaFunctionPI: Returns the mathematical constant pi.
Example=PI()*0 returns 0. - variablePIVOTBYsource ↗
-
PIVOTBY: FormulaFunctionPIVOTBY creates a two-key summary by sum. Example: =PIVOTBY(A2:A5,B2:B5,C2:C5).
- variablePOISSONsource ↗
-
POISSON: FormulaFunctionPOISSON compatibility formula: Returns a Poisson distribution value.
Example=POISSON(2,5,TRUE) - variablePOISSON_DISTsource ↗
-
POISSON_DIST: FormulaFunctionPOISSON.DIST formula. Evaluates the Excel-compatible POISSON.DIST statistical function. Example: =POISSON.DIST(1,1,TRUE).
- variablePOWsource ↗
-
POW: FormulaFunctionPOW raises a base to an exponent. Example: =POW(2,3) returns 8.
- variablePOWERsource ↗
-
POWER: FormulaFunctionPOWER: Raises a number to a specified power.
Example=POWER(2,0) returns 1. - variablePRICEMATsource ↗
-
PRICEMAT: FormulaFunctionPRICEMAT: price of a security paying interest at maturity.
- variablePROBsource ↗
-
PROB: FormulaFunctionPROB formula. Evaluates the Excel-compatible PROB statistical function. Example: =PROB(1,2,3).
- variablePRODUCTsource ↗
-
PRODUCT: FormulaFunctionPRODUCT: Multiplies all numeric values in the supplied arguments.
Example=PRODUCT(1,2,3) returns 6. - variablePROPERsource ↗
-
PROPER: FormulaFunctionCapitalizes each word and lowercases remaining letters. Example: PROPER("this is A TITLE") returns "This Is A Title".
- variableQUARTILEsource ↗
-
QUARTILE: FormulaFunctionQUARTILE compatibility formula: Returns an inclusive quartile.
Example=QUARTILE({1,2,3,4,5},1) - variableQUARTILE_EXCsource ↗
-
QUARTILE_EXC: FormulaFunctionQUARTILE.EXC formula. Evaluates the Excel-compatible QUARTILE.EXC statistical function. Example: =QUARTILE.EXC(1,2,3).
- variableQUARTILE_INCsource ↗
-
QUARTILE_INC: FormulaFunctionQUARTILE.INC formula. Evaluates the Excel-compatible QUARTILE.INC statistical function. Example: =QUARTILE.INC(1,2,3).
- variableQUERYsource ↗
-
QUERY: FormulaFunctionQUERY runs a Google Visualization-style query over tabular data. Example: =QUERY({"A",1;"B",2},"select Col1 where Col2 > 1",0) returns "B".
- variableQUOTIENTsource ↗
-
QUOTIENT: FormulaFunctionQUOTIENT: Returns the integer portion of a division.
Example=QUOTIENT(-10,3) returns -3. - variableRADIANSsource ↗
-
RADIANS: FormulaFunctionRADIANS: Converts an angle from degrees to radians.
Example=RADIANS(180) returns pi. - variableRANDsource ↗
-
RAND: FormulaFunctionRAND: Returns a random decimal number greater than or equal to 0 and less than 1.
Example=RAND() returns a value in the range [0,1). - variableRANDARRAYsource ↗
-
RANDARRAY: FormulaFunctionRANDARRAY: Generates an array of random numbers with the requested shape and bounds.
Example=RANDARRAY(1,4,5,5,TRUE) returns {5,5,5,5}. - variableRANDBETWEENsource ↗
-
RANDBETWEEN: FormulaFunctionRANDBETWEEN: Returns a random integer between two inclusive bounds.
Example=RANDBETWEEN(7,7) returns 7. - variableRANKsource ↗
-
RANK: FormulaFunctionRANK compatibility formula: Returns the rank of a number in a list.
Example=RANK(3,{1,2,3,4},0) - variableRANK_AVGsource ↗
-
RANK_AVG: FormulaFunctionRANK.AVG formula. Evaluates the Excel-compatible RANK.AVG statistical function. Example: =RANK.AVG(1,2,3).
- variableRANK_EQsource ↗
-
RANK_EQ: FormulaFunctionRANK.EQ formula. Evaluates the Excel-compatible RANK.EQ statistical function. Example: =RANK.EQ(1,2,3).
- variableRECEIVEDsource ↗
-
RECEIVED: FormulaFunctionRECEIVED: amount received at maturity for a discounted security.
- variableREGEXEXTRACTsource ↗
-
REGEXEXTRACT: FormulaFunctionExtracts regex matches or capture groups. Example: REGEXEXTRACT("A12","[0-9]+") returns "12".
- variableREGEXMATCHsource ↗
-
REGEXMATCH: FormulaFunctionREGEXMATCH tests whether text matches a regular expression. Example: =REGEXMATCH("A12","[0-9]+") returns TRUE.
- variableREGEXREPLACEsource ↗
-
REGEXREPLACE: FormulaFunctionReplaces all or one regex match. Example: REGEXREPLACE("A12","[0-9]+","#") returns "A#".
- variableREGEXTESTsource ↗
-
REGEXTEST: FormulaFunctionTests whether text matches a regular expression. Example: REGEXTEST("A12","[0-9]+") returns TRUE.
- variableREGISTER_IDsource ↗
-
REGISTER_ID: FormulaFunctionResolves a host-authorized add-in procedure to a stable numeric registration id. Example:
=REGISTER.ID("example","entry","JJ")returns the host's handle forentry. - variableREPLACEsource ↗
-
REPLACE: FormulaFunctionReplaces characters at a one-based position. Example: REPLACE("abc",2,1,"X") returns "aXc".
- variableREPLACEBsource ↗
-
REPLACEB: FormulaFunctionReplaces text at a locale-defined DBCS byte position. Example: REPLACEB("abc", 2, 1, "x") returns "axc".
- variableREPTsource ↗
-
REPT: FormulaFunctionRepeats text a specified number of times. Example: REPT("-",3) returns "---".
- variableRIGHTsource ↗
-
RIGHT: FormulaFunctionReturns characters from the end of text. Example: RIGHT("Sale",2) returns "le".
- variableRIGHTBsource ↗
-
RIGHTB: FormulaFunctionReturns trailing text limited by a locale-defined DBCS byte count. Example: RIGHTB("abc", 2) returns "bc".
- variableROMANsource ↗
-
ROMAN: FormulaFunctionROMAN: Converts an Arabic number to Roman numeral text.
Example=ROMAN(2024) returns "MMXXIV". - variableROUNDsource ↗
-
ROUND: FormulaFunctionROUND: Rounds a number to a specified number of digits.
Example=ROUND(-1.475,2) returns -1.48. - variableROUNDDOWNsource ↗
-
ROUNDDOWN: FormulaFunctionROUNDDOWN: Rounds a number toward zero to a specified number of digits.
Example=ROUNDDOWN(-3.9,0) returns -3. - variableROUNDUPsource ↗
-
ROUNDUP: FormulaFunctionROUNDUP: Rounds a number away from zero to a specified number of digits.
Example=ROUNDUP(-3.1,0) returns -4. - variableROWsource ↗
-
ROW: FormulaFunctionROW returns a reference's first row number. Example: =ROW(C5) returns 5.
- variableROWSsource ↗
-
ROWS: FormulaFunctionROWS returns the number of rows in a reference. Example: =ROWS(A1:C2) returns 2.
- variableRSQsource ↗
-
RSQ: FormulaFunctionRSQ formula. Evaluates the Excel-compatible RSQ statistical function. Example: =RSQ(1,2,3).
- variableRTDsource ↗
-
RTD: FormulaFunctionRTD reads a host-managed real-time data cache. Example: =RTD("provider",,"price","MSFT").
- variableSEARCHsource ↗
-
SEARCH: FormulaFunctionFinds text case-insensitively with Excel wildcards. Example: SEARCH("b*","abc") returns 2.
- variableSEARCHBsource ↗
-
SEARCHB: FormulaFunctionFinds case-insensitive text using locale-defined DBCS byte positions. Example: SEARCHB("B", "abc") returns 2.
- variableSECsource ↗
-
SEC: FormulaFunctionSEC: Returns the secant of an angle in radians.
Example=SEC(0) returns 1. - variableSECHsource ↗
-
SECH: FormulaFunctionSECH: Returns the hyperbolic secant of a number.
Example=SECH(0) returns 1. - variableSECONDsource ↗
-
SECOND: FormulaFunctionSECOND: Returns the second component from a time or date-time value. Example: =SECOND("4:48:18 PM") returns 18.
- variableSEQUENCEsource ↗
-
SEQUENCE: FormulaFunctionSEQUENCE: Generates a sequential array from a starting value and step.
Example=SEQUENCE(2,3,0,2) returns {0,2,4;6,8,10}. - variableSERIESSUMsource ↗
-
SERIESSUM: FormulaFunctionSERIESSUM: Evaluates a power series from an initial value, step, and coefficients.
Example=SERIESSUM(2,0,1,{1,2,3}) returns 17. - variableSHEETsource ↗
-
SHEET: FormulaFunctionSHEET: Returns the one-based index of a sheet.
Example=SHEET() - variableSHEETSsource ↗
-
SHEETS: FormulaFunctionSHEETS: Returns the number of sheets in the workbook.
Example=SHEETS() - variableSIGNsource ↗
-
SIGN: FormulaFunctionSIGN: Returns -1, 0, or 1 according to the sign of a number.
Example=SIGN(0) returns 0. - variableSINsource ↗
-
SIN: FormulaFunctionSIN: Returns the sine of an angle in radians.
Example=SIN(0) returns 0. - variableSingleByteFormulaTextLocalesource ↗
-
SingleByteFormulaTextLocale: FormulaTextLocaleExcel-compatible text locale where every Unicode code point counts as one byte.
- variableSINHsource ↗
-
SINH: FormulaFunctionSINH: Returns the hyperbolic sine of a number.
Example=SINH(0) returns 0. - variableSKEWsource ↗
-
SKEW: FormulaFunctionSKEW formula. Evaluates the Excel-compatible SKEW statistical function. Example: =SKEW(1,2,3).
- variableSKEW_Psource ↗
-
SKEW_P: FormulaFunctionSKEW.P formula. Evaluates the Excel-compatible SKEW.P statistical function. Example: =SKEW.P(1,2,3).
- variableSLOPEsource ↗
-
SLOPE: FormulaFunctionSLOPE formula. Evaluates the Excel-compatible SLOPE statistical function. Example: =SLOPE(1,2,3).
- variableSMALLsource ↗
-
SMALL: FormulaFunctionSMALL formula. Evaluates the Excel-compatible SMALL statistical function. Example: =SMALL(1,2,3).
- variableSORTsource ↗
-
SORT: FormulaFunctionSORT orders rows by one column. Example: =SORT(A1:B3,1,1).
- variableSORTBYsource ↗
-
SORTBY: FormulaFunctionSORTBY orders rows using one or more key arrays. Example: =SORTBY(A1:B3,B1:B3,1).
- variableSORTNsource ↗
-
SORTN: FormulaFunctionSORTN returns the first ranked rows after sorting. Example: =SORTN({3;1;2},2) returns {1;2}.
- variableSPARKLINEsource ↗
-
SPARKLINE: FormulaFunctionSPARKLINE renders numeric data as a compact text sparkline. Example: =SPARKLINE({1,3,2}) returns a three-glyph trend.
- variableSPLITsource ↗
-
SPLIT: FormulaFunctionSPLIT divides text into a spilling row. Example: =SPLIT("a,b,c",",") returns {"a","b","c"}.
- variableSQRTsource ↗
-
SQRT: FormulaFunctionSQRT: Returns the positive square root of a number.
Example=SQRT(0) returns 0. - variableSQRTPIsource ↗
-
SQRTPI: FormulaFunctionSQRTPI: Returns the square root of a number multiplied by pi.
Example=SQRTPI(0) returns 0. - variableSTANDARDIZEsource ↗
-
STANDARDIZE: FormulaFunctionSTANDARDIZE formula. Evaluates the Excel-compatible STANDARDIZE statistical function. Example: =STANDARDIZE(1,2,3).
- variableSTDEVsource ↗
-
STDEV: FormulaFunctionSTDEV compatibility formula: Returns the sample standard deviation.
Example=STDEV(1,2,3) - variableSTDEV_Psource ↗
-
STDEV_P: FormulaFunctionSTDEV.P formula. Evaluates the Excel-compatible STDEV.P statistical function. Example: =STDEV.P(1,2,3).
- variableSTDEV_Ssource ↗
-
STDEV_S: FormulaFunctionSTDEV.S formula. Evaluates the Excel-compatible STDEV.S statistical function. Example: =STDEV.S(1,2,3).
- variableSTDEVAsource ↗
-
STDEVA: FormulaFunctionSTDEVA formula. Evaluates the Excel-compatible STDEVA statistical function. Example: =STDEVA(1,2,3).
- variableSTDEVPsource ↗
-
STDEVP: FormulaFunctionSTDEVP compatibility formula: Returns the population standard deviation.
Example=STDEVP(1,2,3) - variableSTDEVPAsource ↗
-
STDEVPA: FormulaFunctionSTDEVPA formula. Evaluates the Excel-compatible STDEVPA statistical function. Example: =STDEVPA(1,2,3).
- variableSTEYXsource ↗
-
STEYX: FormulaFunctionSTEYX formula. Evaluates the Excel-compatible STEYX statistical function. Example: =STEYX(1,2,3).
- variableSTOCKHISTORYsource ↗
-
STOCKHISTORY: FormulaFunctionSTOCKHISTORY: Returns historical market data from a host-managed synchronous cache.
Example=STOCKHISTORY("MSFT",DATE(2024,1,1)) - variableSUBSTITUTEsource ↗
-
SUBSTITUTE: FormulaFunctionReplaces matching text, optionally only one occurrence. Example: SUBSTITUTE("a-b","-","/") returns "a/b".
- variableSUBTOTALsource ↗
-
SUBTOTAL: FormulaFunctionSUBTOTAL: Calculates a subtotal for a range using a selected aggregation code.
Example=SUBTOTAL(9,A1:A3) returns the sum of A1:A3. - variableSUMIFsource ↗
-
SUMIF: FormulaFunctionSUMIF: Adds values that satisfy one condition.
Example=SUMIF({1,2,3},">1",{10,20,30}) returns 50. - variableSUMIFSsource ↗
-
SUMIFS: FormulaFunctionSums values whose corresponding ranges satisfy every criterion.
- variableSUMPRODUCTsource ↗
-
SUMPRODUCT: FormulaFunctionSUMPRODUCT: Multiplies corresponding array elements and adds the products.
Example=SUMPRODUCT({2,3,4},{10,20,30}) returns 200. - variableSUMSQsource ↗
-
SUMSQ: FormulaFunctionSUMSQ: Returns the sum of the squares of numeric values.
Example=SUMSQ(0,3) returns 9. - variableSUMX2MY2source ↗
-
SUMX2MY2: FormulaFunctionSUMX2MY2: Returns the sum of the differences between corresponding squares.
Example=SUMX2MY2({1,2},{3,4}) returns -20. - variableSUMX2PY2source ↗
-
SUMX2PY2: FormulaFunctionSUMX2PY2: Returns the sum of the sums of corresponding squares.
Example=SUMX2PY2({1,2},{3,4}) returns 30. - variableSUMXMY2source ↗
-
SUMXMY2: FormulaFunctionSUMXMY2: Returns the sum of the squares of corresponding differences.
Example=SUMXMY2({1,2},{3,4}) returns 8. - variableSWITCHsource ↗
-
SWITCH: FormulaFunctionSWITCH: Matches one expression and returns its paired result.
Example=SWITCH(2,1,"one",2,"two","other") - variableTsource ↗
-
T: FormulaFunctionReturns text values and an empty string for non-text values. Example: T("Excel") returns "Excel".
- variableT_DISTsource ↗
-
T_DIST: FormulaFunctionT.DIST formula. Evaluates the Excel-compatible T.DIST statistical function. Example: =T.DIST(1,1,TRUE).
- variableT_DIST_2Tsource ↗
-
T_DIST_2T: FormulaFunctionT.DIST.2T formula. Evaluates the Excel-compatible T.DIST.2T statistical function. Example: =T.DIST.2T(1,1,TRUE).
- variableT_DIST_RTsource ↗
-
T_DIST_RT: FormulaFunctionT.DIST.RT formula. Evaluates the Excel-compatible T.DIST.RT statistical function. Example: =T.DIST.RT(1,1,TRUE).
- variableT_INVsource ↗
-
T_INV: FormulaFunctionT.INV formula. Evaluates the Excel-compatible T.INV statistical function. Example: =T.INV(0.5,1,1).
- variableT_INV_2Tsource ↗
-
T_INV_2T: FormulaFunctionT.INV.2T formula. Evaluates the Excel-compatible T.INV.2T statistical function. Example: =T.INV.2T(0.5,1,1).
- variableT_TESTsource ↗
-
T_TEST: FormulaFunctionT.TEST formula. Evaluates the Excel-compatible T.TEST statistical function. Example: =T.TEST(1,2,3).
- variableTAKEsource ↗
-
TAKE: FormulaFunctionTAKE keeps rows and columns. Example: =TAKE(A1:C3,2) keeps the first two rows.
- variableTANsource ↗
-
TAN: FormulaFunctionTAN: Returns the tangent of an angle in radians.
Example=TAN(0) returns 0. - variableTANHsource ↗
-
TANH: FormulaFunctionTANH: Returns the hyperbolic tangent of a number.
Example=TANH(0) returns 0. - variableTBILLEQsource ↗
-
TBILLEQ: FormulaFunctionTBILLEQ: bond-equivalent yield for a Treasury bill.
- variableTBILLPRICEsource ↗
-
TBILLPRICE: FormulaFunctionTBILLPRICE: price per 100 for a Treasury bill.
- variableTBILLYIELDsource ↗
-
TBILLYIELD: FormulaFunctionTBILLYIELD: discount yield for a Treasury bill price.
- variableTDISTsource ↗
-
TDIST: FormulaFunctionTDIST compatibility formula: Returns a one- or two-tailed Student t probability.
Example=TDIST(1.96,60,2) - variableTEXTsource ↗
-
TEXT: FormulaFunctionFormats a value with an Excel format code. Example: TEXT(1234.5,"#,##0.00") returns "1,234.50".
- variableTEXTAFTERsource ↗
-
TEXTAFTER: FormulaFunctionReturns text after a delimiter occurrence. Example: TEXTAFTER("red-blue","-") returns "blue".
- variableTEXTBEFOREsource ↗
-
TEXTBEFORE: FormulaFunctionReturns text before a delimiter occurrence. Example: TEXTBEFORE("red-blue","-") returns "red".
- variabletextFunctionssource ↗
-
textFunctions: readonly FormulaFunction[] - variableTEXTJOINsource ↗
-
TEXTJOIN: FormulaFunctionJoins values with a delimiter and optional empty-value filtering. Example: TEXTJOIN(",",TRUE,"A","B") returns "A,B".
- variableTEXTSPLITsource ↗
-
TEXTSPLIT: FormulaFunctionSplits text into a spill matrix. Example: TEXTSPLIT("A,B",",") returns {"A","B"}.
- variableTIMEsource ↗
-
TIME: FormulaFunctionTIME: Converts hour, minute, and second parts into a fraction of one day. Example: =TIME(12,0,0) returns 0.5.
- variableTIMEVALUEsource ↗
-
TIMEVALUE: FormulaFunctionTIMEVALUE: Converts time text into the fractional part of one day. Example: =TIMEVALUE("2:24 AM") returns 0.1.
- variableTINVsource ↗
-
TINV: FormulaFunctionTINV compatibility formula: Returns the inverse two-tailed Student t value.
Example=TINV(0.05,10) - variableTO_DATEsource ↗
-
TO_DATE: FormulaFunctionTO_DATE converts a number to its Excel date serial by removing its time fraction. Example: =TO_DATE(45351.75) returns 45351.
- variableTO_DOLLARSsource ↗
-
TO_DOLLARS: FormulaFunctionTO_DOLLARS converts a value to a dollar amount. Example: =TO_DOLLARS(12.5) returns 12.5.
- variableTO_PERCENTsource ↗
-
TO_PERCENT: FormulaFunctionTO_PERCENT converts a decimal to its percentage value. Example: =TO_PERCENT(0.25) returns 0.25 for percentage formatting.
- variableTO_PURE_NUMBERsource ↗
-
TO_PURE_NUMBER: FormulaFunctionTO_PURE_NUMBER strips display formatting and returns a number. Example: =TO_PURE_NUMBER("42") returns 42.
- variableTO_TEXTsource ↗
-
TO_TEXT: FormulaFunctionTO_TEXT converts a scalar to text. Example: =TO_TEXT(42) returns "42".
- variableTOCOLsource ↗
-
TOCOL: FormulaFunctionTOCOL flattens an array into one column. Example: =TOCOL(A1:B2).
- variableTODAYsource ↗
-
TODAY: FormulaFunctionTODAY: Returns the current date as an Excel serial without a time fraction. Example: =TODAY()+5 returns the serial for five days after the injected current date.
- variableTOROWsource ↗
-
TOROW: FormulaFunctionTOROW flattens an array into one row. Example: =TOROW(A1:B2).
- variableTRANSLATEsource ↗
-
TRANSLATE: FormulaFunctionReads a previously loaded translation from the host cache. Example: TRANSLATE("hello", "en", "es") reads the cached result.
- variableTRANSPOSEsource ↗
-
TRANSPOSE: FormulaFunctionTRANSPOSE swaps array rows and columns. Example: =TRANSPOSE(A1:B2).
- variableTRENDsource ↗
-
TREND: FormulaFunctionTREND formula. Evaluates the Excel-compatible TREND statistical function. Example: =TREND(1,2,3).
- variableTRIMsource ↗
-
TRIM: FormulaFunctionRemoves outer ASCII spaces and collapses internal runs. Example: TRIM(" a b ") returns "a b".
- variableTRIMMEANsource ↗
-
TRIMMEAN: FormulaFunctionTRIMMEAN formula. Evaluates the Excel-compatible TRIMMEAN statistical function. Example: =TRIMMEAN(1,2,3).
- variableTRIMRANGEsource ↗
-
TRIMRANGE: FormulaFunctionTRIMRANGE removes fully blank outer rows and columns. Example: =TRIMRANGE(A1:D5).
- variableTRUNCsource ↗
-
TRUNC: FormulaFunctionTRUNC: Truncates a number toward zero to a specified number of digits.
Example=TRUNC(-3.9) returns -3. - variableTTESTsource ↗
-
TTEST: FormulaFunctionTTEST compatibility formula: Returns a Student t-test probability.
Example=TTEST({1,2,3},{1,2,4},2,1) - variableTYPEsource ↗
-
TYPE: FormulaFunctionTYPE: Returns the numeric type code for a formula value.
Example=TYPE(42) - variableUMINUSsource ↗
-
UMINUS: FormulaFunctionUMINUS reverses a number's sign. Example: =UMINUS(3) returns -3.
- variableUNARY_PERCENTsource ↗
-
UNARY_PERCENT: FormulaFunctionUNARY_PERCENT converts a percentage value to its decimal. Example: =UNARY_PERCENT(25) returns 0.25.
- variableUNICHARsource ↗
-
UNICHAR: FormulaFunctionReturns the Unicode character for a code point. Example: UNICHAR(9733) returns "★".
- variableUNICODEsource ↗
-
UNICODE: FormulaFunctionReturns the Unicode code point of the first character. Example: UNICODE("★") returns 9733.
- variableUNIQUEsource ↗
-
UNIQUE: FormulaFunctionUNIQUE returns distinct rows. Example: =UNIQUE({1;1;2}) returns 1 and 2.
- variableUPLUSsource ↗
-
UPLUS: FormulaFunctionUPLUS returns the numeric value unchanged. Example: =UPLUS("3") returns 3.
- variableUPPERsource ↗
-
UPPER: FormulaFunctionConverts letters to uppercase. Example: UPPER("Excel") returns "EXCEL".
- variableVALUEsource ↗
-
VALUE: FormulaFunctionConverts common numeric text to a number. Example: VALUE("$1,234.50") returns 1234.5.
- variableVALUETOTEXTsource ↗
-
VALUETOTEXT: FormulaFunctionConverts one value to concise or strict text. Example: VALUETOTEXT("A",1) returns ""A"".
- variableVARsource ↗
-
VAR: FormulaFunctionVAR formula. Estimates sample variance for compatibility with legacy Excel workbooks. Example: =VAR(1,2,3).
- variableVAR_Psource ↗
-
VAR_P: FormulaFunctionVAR.P formula. Evaluates the Excel-compatible VAR.P statistical function. Example: =VAR.P(1,2,3).
- variableVAR_Ssource ↗
-
VAR_S: FormulaFunctionVAR.S formula. Evaluates the Excel-compatible VAR.S statistical function. Example: =VAR.S(1,2,3).
- variableVARAsource ↗
-
VARA: FormulaFunctionVARA formula. Evaluates the Excel-compatible VARA statistical function. Example: =VARA(1,2,3).
- variableVARPsource ↗
-
VARP: FormulaFunctionVARP compatibility formula: Returns the population variance.
Example=VARP(1,2,3) - variableVARPAsource ↗
-
VARPA: FormulaFunctionVARPA formula. Evaluates the Excel-compatible VARPA statistical function. Example: =VARPA(1,2,3).
- variableVLOOKUPsource ↗
-
VLOOKUP: FormulaFunctionVLOOKUP: Searches the first column of a table and returns a value from a selected column.
Example=VLOOKUP(2,{1,"A";2,"B"},2,FALSE) returns "B". - variableVSTACKsource ↗
-
VSTACK: FormulaFunctionVSTACK joins arrays vertically. Example: =VSTACK({1,2},{3,4}).
- variablewebFunctionssource ↗
-
webFunctions: readonly FormulaFunction[] - variableWEBSERVICEsource ↗
-
WEBSERVICE: FormulaFunctionReads response text from a host-loaded HTTP cache. Example: WEBSERVICE("https://example.com/data.xml") returns cached XML.
- variableWEEKDAYsource ↗
-
WEEKDAY: FormulaFunctionWEEKDAY: Returns the day of week using the requested Excel return type. Example: =WEEKDAY("2008-2-14",2) returns 4.
- variableWEEKNUMsource ↗
-
WEEKNUM: FormulaFunctionWEEKNUM: Returns the week number of a date using Excel week-numbering rules. Example: =WEEKNUM("2012-3-9",2) returns 11.
- variableWEIBULLsource ↗
-
WEIBULL: FormulaFunctionWEIBULL compatibility formula: Returns a Weibull distribution value.
Example=WEIBULL(105,20,100,TRUE) - variableWEIBULL_DISTsource ↗
-
WEIBULL_DIST: FormulaFunctionWEIBULL.DIST formula. Evaluates the Excel-compatible WEIBULL.DIST statistical function. Example: =WEIBULL.DIST(1,1,TRUE).
- variableWORKDAYsource ↗
-
WORKDAY: FormulaFunctionWORKDAY: Returns the date serial after moving a number of workdays from a start date. Example: =WORKDAY("2008-10-1",151,{"11/26/2008";"12/4/2008";"1/21/2009"}) returns 39938.
- variableWORKDAY_INTLsource ↗
-
WORKDAY_INTL: FormulaFunctionWORKDAY.INTL: Returns a workday-offset date serial with custom weekend rules. Example: =WORKDAY.INTL(DATE(2012,1,1),30,17) returns 40944.
- variableWRAPCOLSsource ↗
-
WRAPCOLS: FormulaFunctionWRAPCOLS wraps a vector by columns. Example: =WRAPCOLS({1,2,3},2,0).
- variableWRAPROWSsource ↗
-
WRAPROWS: FormulaFunctionWRAPROWS wraps a vector by rows. Example: =WRAPROWS({1,2,3},2,0).
- variableXIRRsource ↗
-
XIRR: FormulaFunctionXIRR: internal rate of return for irregular cash-flow dates.
- variableXLOOKUPsource ↗
-
XLOOKUP: FormulaFunctionXLOOKUP searches a vector and returns a corresponding value. Example: =XLOOKUP(2,{1,2},{"A","B"}).
- variableXMATCHsource ↗
-
XMATCH: FormulaFunctionXMATCH returns a position with modern MATCH modes. Example: =XMATCH("B",{"A";"B"}).
- variableXORsource ↗
-
XOR: FormulaFunctionXOR: Returns TRUE when an odd number of values are TRUE.
Example=XOR(TRUE,FALSE) - variableYEARsource ↗
-
YEAR: FormulaFunctionYEAR: Returns the year for a date serial. Example: =YEAR("7/5/2025") returns 2025.
- variableYEARFRACsource ↗
-
YEARFRAC: FormulaFunctionYEARFRAC: Returns the fraction of a year represented by two dates. Example: =YEARFRAC("1/1/2012","7/30/2012",1) returns 0.5765027322404371.
- variableYIELDMATsource ↗
-
YIELDMAT: FormulaFunctionYIELDMAT: yield of a security paying interest at maturity.
- variableZ_TESTsource ↗
-
Z_TEST: FormulaFunctionZ.TEST formula. Evaluates the Excel-compatible Z.TEST statistical function. Example: =Z.TEST(1,2,3).
- variableZTESTsource ↗
-
ZTEST: FormulaFunctionZTEST compatibility formula: Returns the one-tailed z-test probability.
Example=ZTEST({3,6,7,8},4) - functionbondDurationsource ↗
-
bondDuration(settlement: number, maturity: number, annualRate: number, annualYield: number, redemption?: number, frequencyValue?: number, basisValue?: number): BondResultComputes Macaulay duration from a clean bond price.
settlement: numbermaturity: numberannualRate: numberannualYield: numberredemption: numberfrequencyValue: numberbasisValue: number
- functionbondPricesource ↗
-
bondPrice(settlement: number, maturity: number, annualRate: number, annualYield: number, redemption?: number, frequencyValue?: number, basisValue?: number): BondResultPrices a coupon bond per 100 face value using a clean price.
settlement: numbermaturity: numberannualRate: numberannualYield: numberredemption: numberfrequencyValue: numberbasisValue: number
- functioncellKeysource ↗
-
cellKey(row: number, col: number): numberEncodes zero-based coordinates as one numeric cell key.
row: numbercol: number
- functioncollectFinancialCashFlowssource ↗
-
collectFinancialCashFlows(arg: FormulaArg | undefined, context: EvalContext, acceptFormattedText?: boolean): number[] | FormulaErrorCollects a scalar, array, or range argument into finite numeric cash flows.
arg: FormulaArg | undefinedcontext: EvalContextacceptFormattedText: boolean
- functioncollectFinancialDateSerialssource ↗
-
collectFinancialDateSerials(arg: FormulaArg | undefined, context: EvalContext, acceptFormattedText?: boolean): number[] | FormulaErrorDate arguments use whole serial days and reject boolean values.
arg: FormulaArg | undefinedcontext: EvalContextacceptFormattedText: boolean
- functioncollectFinancialScheduleRatessource ↗
-
collectFinancialScheduleRates(arg: FormulaArg | undefined, context: EvalContext): number[] | FormulaErrorMulti-cell schedules reject stored text rates even when the text is numeric.
arg: FormulaArg | undefinedcontext: EvalContext
- functioncollectNpvCashFlowssource ↗
-
collectNpvCashFlows(arg: FormulaArg | undefined, context: EvalContext): number[] | FormulaErrorNPV ignores nonnumeric cells in references without consuming a period.
arg: FormulaArg | undefinedcontext: EvalContext
- functioncouponAmountsource ↗
-
couponAmount(faceValue: number, annualRate: number, frequency: 1 | 2 | 4): number | FormulaErrorReturns the coupon amount for a face value and annual coupon rate.
faceValue: numberannualRate: numberfrequency: 1 | 2 | 4
- functioncreateDefaultFormulaLocaleProvidersource ↗
-
createDefaultFormulaLocaleProvider(): IFormulaLocaleProviderCreates the default formula locale provider used when no i18n plugin is installed.
- functioncreateExcelDateTimeLocalesource ↗
-
createExcelDateTimeLocale(input: BuiltInExcelDateTimeLocaleId | { locale: string; symbols?: FormulaDateTimeSymbols }): FormulaDateTimeLocaleCreates a built-in Excel-compatible date/time locale.
input: BuiltInExcelDateTimeLocaleId | { locale: string; symbols?: FormulaDateTimeSymbols }
- functioncreateFormulaTextLocalesource ↗
-
createFormulaTextLocale(input: { calculationModeLabel?: (mode: "Automatic" | "Manual"): string; characterCode?: (text: string): number; characterFromCode?: (code: number): string | undefined; charWidth: CharWidth; compareText?: (left: string, right: string): number; locale: string; toFullWidth?: (text: string): string; toHalfWidth?: (text: string): string; … }): FormulaTextLocaleCreates a byte-oriented text locale from a character-width strategy.
input: { calculationModeLabel?: (mode: "Automatic" | "Manual"): string; characterCode?: (text: string): number; characterFromCode?: (code: number): string | undefined; charWidth: CharWidth; compareText?: (left: string, right: string): number; locale: string; toFullWidth?: (text: string): string; toHalfWidth?: (text: string): string; … }
- functioncurrentExcelDateTimeSerialsource ↗
-
currentExcelDateTimeSerial(context: EvalContext): numbercontext: EvalContext
- functiondecliningBalanceDepreciationsource ↗
-
decliningBalanceDepreciation(cost: number, salvage: number, life: number, period: number, factor?: number): DepreciationResultDeclining-balance depreciation for a one-based period.
cost: numbersalvage: numberlife: numberperiod: numberfactor: number
- functionexcelDatePartsFromSerialsource ↗
-
excelDatePartsFromSerial(serial: number): ExcelDateParts | nullserial: number
- functionexcelSerialFromDatePartssource ↗
-
excelSerialFromDateParts(year: number, month: number, day: number): number | nullyear: numbermonth: numberday: number
- functionexcelSerialToUnixMillissource ↗
-
excelSerialToUnixMillis(serial: number): numberserial: number
- functionexcelTimeFractionsource ↗
-
excelTimeFraction(hour: number, minute: number, second: number): number | nullhour: numberminute: numbersecond: number
- functionfinancialDayCountDayssource ↗
-
financialDayCountDays(start: number, end: number, basis: FinancialDayCountBasis): DayCountResultReturns the number of days between two Excel serial dates for a basis.
start: numberend: numberbasis: FinancialDayCountBasis
- functionfinancialDivisionErrorsource ↗
-
financialDivisionError(): FormulaErrorReturns a standard #DIV/0! result for an undefined periodic payment.
- functionfinancialNumberErrorsource ↗
-
financialNumberError(): FormulaErrorReturns a standard #NUM! result for an invalid basis or date interval.
- functionfinancialValueErrorsource ↗
-
financialValueError(): FormulaErrorReturns a standard #VALUE! result for malformed financial inputs.
- functionfinancialYearFractionsource ↗
-
financialYearFraction(start: number, end: number, basis: FinancialDayCountBasis): DayCountResultReturns the Excel year fraction for a financial basis.
start: numberend: numberbasis: FinancialDayCountBasis
- functionforEachFinancialCashFlowsource ↗
-
forEachFinancialCashFlow(arg: FormulaArg, context: EvalContext, callback: (value: number, index: number): boolean | void): FormulaError | undefinedStreams numeric values from a range without allocating an intermediate matrix.
arg: FormulaArgcontext: EvalContextcallback: (value: number, index: number): boolean | void
- functionformatBahtTextsource ↗
-
formatBahtText(value: number): string | undefinedConverts a finite number to Excel-style Thai baht and satang text.
value: number
- functionformatExcelDateTimesource ↗
-
formatExcelDateTime(serial: number, pattern?: string): stringserial: numberpattern: string
- functionfromCellKeysource ↗
-
fromCellKey(key: number): [number, number]Decodes a numeric cell key to zero-based coordinates.
key: number
- functionfutureValuesource ↗
-
futureValue(rate: number, periods: number, payment: number, presentValue: number, type?: number): FinancialNumberResultComputes the future value of a periodic annuity.
rate: numberperiods: numberpayment: numberpresentValue: numbertype: number
- functionisFinancialMonthEndsource ↗
-
isFinancialMonthEnd(serial: number): booleanReturns whether an Excel serial date is the last calendar day of its month.
serial: number
- functionisTextualFinancialReferencesource ↗
-
isTextualFinancialReference(arg: FormulaArg | undefined, context: EvalContext): booleanarg: FormulaArg | undefinedcontext: EvalContext
- functionnormalizeCouponFrequencysource ↗
-
normalizeCouponFrequency(value: number): 1 | 2 | 4 | FormulaErrorValidates a bond frequency used by Excel financial functions.
value: number
- functionnormalizeFinancialBasissource ↗
-
normalizeFinancialBasis(value: number | undefined): FormulaError | FinancialDayCountBasisChecks and normalizes the five Excel day-count basis values.
value: number | undefined
- functionnumericDateTextsource ↗
-
numericDateText(value: FormulaValue, context: EvalContext): number | undefinedvalue: FormulaValuecontext: EvalContext
- functionoddLastRegularPeriodDayssource ↗
-
oddLastRegularPeriodDays(lastCoupon: number, frequency: 1 | 2 | 4, basis: FinancialDayCountBasis): number | FormulaErrorReturns the basis-dependent length of a regular period after the final coupon date.
lastCoupon: numberfrequency: 1 | 2 | 4basis: FinancialDayCountBasis
- functionparseCellRefsource ↗
-
parseCellRef(ref: string): ParsedCellRefParses an A1-notation cell reference.
ref: string
- functionparseExcelDatesource ↗
-
parseExcelDate(value: unknown, options?: ExcelDateTimeParseOptions): number | nullvalue: unknownoptions: ExcelDateTimeParseOptions
- functionparseExcelDateTimesource ↗
-
parseExcelDateTime(value: unknown, options?: ExcelDateTimeParseOptions): ParsedExcelDateTime | nullvalue: unknownoptions: ExcelDateTimeParseOptions
- functionparseExcelTimesource ↗
-
parseExcelTime(value: unknown, options?: ExcelDateTimeParseOptions): number | nullvalue: unknownoptions: ExcelDateTimeParseOptions
- functionpaymentsource ↗
-
payment(rate: number, periods: number, presentValue: number, future?: number, type?: number): FinancialNumberResultComputes a periodic payment for an annuity.
rate: numberperiods: numberpresentValue: numberfuture: numbertype: number
- functionperiodicNpvsource ↗
-
periodicNpv(rate: number, cashFlows: readonly number[]): FinancialNumberResultComputes periodic NPV. The first value is discounted by one period.
rate: numbercashFlows: readonly number[]
- functionreadFinancialNumbersource ↗
-
readFinancialNumber(arg: FormulaArg | undefined, context: EvalContext, options?: { acceptLocalizedCurrency?: boolean }): FinancialNumberResultReads a scalar financial input, preserving formula errors.
arg: FormulaArg | undefinedcontext: EvalContextoptions: { acceptLocalizedCurrency?: boolean }
- functionresolveCouponSchedulesource ↗
-
resolveCouponSchedule(settlement: number, maturity: number, frequencyValue: number, basisValue?: number): FormulaError | CouponScheduleResolves the previous/next coupon dates and basis-dependent day counts.
settlement: numbermaturity: numberfrequencyValue: numberbasisValue: number
- functionresolveOddFirstCouponSchedulesource ↗
-
resolveOddFirstCouponSchedule(settlement: number, maturity: number, firstCoupon: number, frequencyValue: number, basisValue?: number): FormulaError | CouponScheduleResolves an odd first coupon schedule anchored at its first payment date.
settlement: numbermaturity: numberfirstCoupon: numberfrequencyValue: numberbasisValue: number
- functionsolveFinancialRootsource ↗
-
solveFinancialRoot(functionValue: (value: number): number, derivative: (value: number): number | undefined, options?: FinancialRootOptions): FinancialRootResultSolves a one-dimensional financial equation with a bracketed Newton/bisection method. The fixed iteration budget prevents a malformed cash-flow formula from blocking recalculation.
functionValue: (value: number): numberderivative: (value: number): number | undefinedoptions: FinancialRootOptions
- functionstraightLineDepreciationsource ↗
-
straightLineDepreciation(cost: number, salvage: number, life: number): DepreciationResultStraight-line depreciation for one period.
cost: numbersalvage: numberlife: number
- functionsumOfYearsDepreciationsource ↗
-
sumOfYearsDepreciation(cost: number, salvage: number, life: number, period: number): DepreciationResultSum-of-years-digits depreciation for a one-based period.
cost: numbersalvage: numberlife: numberperiod: number
- functiontoCellRefsource ↗
-
toCellRef(row: number, col: number, absRow?: boolean, absCol?: boolean): stringConverts zero-based coordinates to A1 notation.
row: numbercol: numberabsRow: booleanabsCol: boolean
- functionunixMillisToExcelSerialsource ↗
-
unixMillisToExcelSerial(epochMs: number): numberepochMs: number
- functionvariableDecliningBalancesource ↗
-
variableDecliningBalance(cost: number, salvage: number, life: number, startPeriod: number, endPeriod: number, factor?: number, noSwitch?: boolean): DepreciationResultVariable declining-balance depreciation, with Excel's straight-line switch.
cost: numbersalvage: numberlife: numberstartPeriod: numberendPeriod: numberfactor: numbernoSwitch: boolean
No public exports match that search.