@univerjs/sheets-formula 0.1.0-alpha.3 → 0.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +5 -5
- package/lib/es/index.js +413 -412
- package/lib/umd/index.js +5 -5
- package/package.json +18 -18
package/lib/cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var mt=Object.defineProperty;var ft=(i,e,t)=>e in i?mt(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var D=(i,e,t)=>(ft(i,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@univerjs/core"),A=require("@wendellhu/redi"),P=require("@univerjs/engine-formula"),b=require("@univerjs/sheets"),O=require("@univerjs/sheets-ui"),V=require("@univerjs/engine-render"),oe=require("@univerjs/docs"),N=require("@univerjs/ui"),G=require("rxjs"),L=require("@wendellhu/redi/react-bindings"),T=require("react"),Z=require("@univerjs/design"),We="formula-ui";class lt extends s.Disposable{constructor(){super(...arguments);D(this,"_dirtyConversionMap",new Map)}dispose(){this._dirtyConversionMap.clear()}remove(t){this._dirtyConversionMap.delete(t)}get(t){return this._dirtyConversionMap.get(t)}has(t){return this._dirtyConversionMap.has(t)}register(t,r){this._dirtyConversionMap.set(t,r)}getDirtyConversionMap(){return this._dirtyConversionMap}}const xe=A.createIdentifier("univer.formula.active-dirty-manager.service");var dt=Object.defineProperty,bt=Object.getOwnPropertyDescriptor,pt=(i,e,t,r)=>{for(var n=r>1?void 0:r?bt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&dt(e,t,n),n},Be=(i,e)=>(t,r)=>e(t,r,i);let le=class extends s.Disposable{constructor(i,e,t){super(),this._activeDirtyManagerService=i,this._currentUniverService=e,this._formulaDataModel=t,this._initialize()}_initialize(){this._initialConversion()}_initialConversion(){this._activeDirtyManagerService.register(b.SetRangeValuesMutation.id,{commandId:b.SetRangeValuesMutation.id,getDirtyData:i=>{const e=i.params;return e.trigger===b.SetStyleCommand.id?{}:{dirtyRanges:this._getSetRangeValuesMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.MoveRangeMutation.id,{commandId:b.MoveRangeMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getMoveRangeMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.MoveRowsMutation.id,{commandId:b.MoveRowsMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getMoveRowsMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.MoveColsMutation.id,{commandId:b.MoveColsMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getMoveRowsMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.DeleteRangeMutation.id,{commandId:b.DeleteRangeMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getDeleteRangeMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.InsertRangeMutation.id,{commandId:b.InsertRangeMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getDeleteRangeMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.RemoveRowMutation.id,{commandId:b.RemoveRowMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getRemoveRowOrColumnMutation(e,!0)}}}),this._activeDirtyManagerService.register(b.RemoveColMutation.id,{commandId:b.RemoveColMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getRemoveRowOrColumnMutation(e,!1)}}}),this._activeDirtyManagerService.register(b.RemoveSheetMutation.id,{commandId:b.RemoveSheetMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyNameMap:this._getRemoveSheetMutation(e)}}}),this._activeDirtyManagerService.register(b.InsertSheetMutation.id,{commandId:b.InsertSheetMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyNameMap:this._getInsertSheetMutation(e)}}})}_getSetRangeValuesMutationDirtyRange(i){const{subUnitId:e,unitId:t,cellValue:r}=i,n=[];return r==null||(n.push(...this._getDirtyRangesByCellValue(t,e,r)),n.push(...this._getDirtyRangesForArrayFormula(t,e,r))),n}_getMoveRangeMutationDirtyRange(i){const{subUnitId:e,unitId:t,from:r,to:n}=i,a=[];return a.push(...this._getDirtyRangesByCellValue(t,e,r)),a.push(...this._getDirtyRangesByCellValue(t,e,n)),a.push(...this._getDirtyRangesForArrayFormula(t,e,n)),a}_getMoveRowsMutationDirtyRange(i){const{subUnitId:e,unitId:t,sourceRange:r,targetRange:n}=i,a=[],o=this._rangeToMatrix(r).getData(),c=this._rangeToMatrix(n).getData();return a.push(...this._getDirtyRangesByCellValue(t,e,o)),a.push(...this._getDirtyRangesByCellValue(t,e,c)),a.push(...this._getDirtyRangesForArrayFormula(t,e,c)),a}_getDeleteRangeMutationDirtyRange(i){const{subUnitId:e,unitId:t,range:r,shiftDimension:n}=i,a=[],o=this._currentUniverService.getUniverSheetInstance(t),c=o==null?void 0:o.getSheetBySheetId(e),u=(c==null?void 0:c.getLastRowWithContent())||0,m=(c==null?void 0:c.getLastColumnWithContent())||0,d=new s.ObjectMatrix;let p=null;const{startRow:f,startColumn:h,endRow:R,endColumn:S}=r;n===s.Dimension.ROWS?p=this._rangeToMatrix({startRow:f,startColumn:h,endRow:u,endColumn:S}):n===s.Dimension.COLUMNS&&(p=this._rangeToMatrix({startRow:f,startColumn:h,endRow:R,endColumn:m})),p!=null&&d.merge(p);const l=d.getData();return a.push(...this._getDirtyRangesByCellValue(t,e,l)),a.push(...this._getDirtyRangesForArrayFormula(t,e,l)),a}_getRemoveRowOrColumnMutation(i,e=!0){const{subUnitId:t,unitId:r,range:n}=i,a=[],o=this._currentUniverService.getUniverSheetInstance(r),c=o==null?void 0:o.getSheetBySheetId(t),u=(c==null?void 0:c.getRowCount())||0,m=(c==null?void 0:c.getColumnCount())||0,d=new s.ObjectMatrix;let p=null;const{startRow:f,endRow:h,startColumn:R,endColumn:S}=n;e===!0?p=this._rangeToMatrix({startRow:f,startColumn:0,endRow:h,endColumn:m-1}):p=this._rangeToMatrix({startRow:0,startColumn:R,endRow:u,endColumn:S}),p!=null&&d.merge(p);const l=d.getData();return a.push(...this._getDirtyRangesByCellValue(r,t,l)),a.push(...this._getDirtyRangesForArrayFormula(r,t,l)),a}_getRemoveSheetMutation(i,e){const t={},{subUnitId:r,unitId:n}=i;return t[n]==null&&(t[n]={}),t[n][r]=e,t}_getInsertSheetMutation(i,e){const t={},{sheet:r,unitId:n}=i;return t[n]==null&&(t[n]={}),t[n][r.id]=e,t}_rangeToMatrix(i){const e=new s.ObjectMatrix,{startRow:t,startColumn:r,endRow:n,endColumn:a}=i;for(let o=t;o<=n;o++)for(let c=r;c<=a;c++)e.setValue(o,c,{});return e}_getDirtyRangesByCellValue(i,e,t){const r=[];return t==null||new s.ObjectMatrix(t).getDiscreteRanges().forEach(o=>{r.push({unitId:i,sheetId:e,range:o})}),r}_getDirtyRangesForArrayFormula(i,e,t){var o,c;const r=[];if(t==null)return r;const n=new s.ObjectMatrix(t),a=this._formulaDataModel.getArrayFormulaRange();if((o=a==null?void 0:a[i])!=null&&o[e]){const u=new s.ObjectMatrix((c=a==null?void 0:a[i])==null?void 0:c[e]);n.forValue((m,d)=>{u.forValue((p,f,h)=>{if(h==null)return!0;const{startRow:R,startColumn:S,endRow:l,endColumn:I}=h;m>=R&&m<=l&&d>=S&&d<=I&&r.push({unitId:i,sheetId:e,range:{startRow:R,startColumn:S,endRow:R,endColumn:S}})})})}return r}};le=pt([s.OnLifecycle(s.LifecycleStages.Ready,le),Be(0,xe),Be(1,s.IUniverInstanceService),Be(2,A.Inject(P.FormulaDataModel))],le);var ht=Object.defineProperty,Et=Object.getOwnPropertyDescriptor,Rt=(i,e,t,r)=>{for(var n=r>1?void 0:r?Et(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&ht(e,t,n),n},ke=(i,e)=>(t,r)=>e(t,r,i);let de=class extends s.Disposable{constructor(i,e,t){super(),this._commandService=i,this._sheetInterceptorService=e,this._formulaDataModel=t,this._initialize()}_initialize(){this._commandExecutedListener(),this._initInterceptorCellContent()}_commandExecutedListener(){this.disposeWithMe(this._commandService.onCommandExecuted(i=>{if(i.id!==P.SetArrayFormulaDataMutation.id)return;const e=i.params;if(e==null)return;const{arrayFormulaRange:t,arrayFormulaCellData:r}=e;this._formulaDataModel.setArrayFormulaRange(t),this._formulaDataModel.setArrayFormulaCellData(r)}))}_initInterceptorCellContent(){this.disposeWithMe(this._sheetInterceptorService.intercept(b.INTERCEPTOR_POINT.CELL_CONTENT,{priority:100,handler:(i,e,t)=>{var p,f,h,R,S,l;const{unitId:r,subUnitId:n,row:a,col:o}=e,c=this._formulaDataModel.getArrayFormulaCellData(),u=this._formulaDataModel.getArrayFormulaRange(),m=(h=(f=(p=c==null?void 0:c[r])==null?void 0:p[n])==null?void 0:f[a])==null?void 0:h[o],d=(l=(S=(R=u==null?void 0:u[r])==null?void 0:R[n])==null?void 0:S[a])==null?void 0:l[o];return m==null||d!=null&&d.startRow===a&&d.startColumn===o?t(i):t({...i,...m})}}))}};de=Rt([s.OnLifecycle(s.LifecycleStages.Ready,de),ke(0,s.ICommandService),ke(1,A.Inject(b.SheetInterceptorService)),ke(2,A.Inject(P.FormulaDataModel))],de);var gt=Object.defineProperty,It=Object.getOwnPropertyDescriptor,vt=(i,e,t,r)=>{for(var n=r>1?void 0:r?It(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&>(e,t,n),n},Ue=(i,e)=>(t,r)=>e(t,r,i);let be=class extends s.Disposable{constructor(i,e){super(),this._autoFillService=i,this._lexerTreeBuilder=e,this._initialize()}_initialize(){this._registerAutoFill()}_registerAutoFill(){const i={type:O.DATA_TYPE.FORMULA,priority:1001,match:e=>s.isFormulaString(e==null?void 0:e.f)||s.isFormulaId(e==null?void 0:e.si),isContinue:(e,t)=>e.type===O.DATA_TYPE.FORMULA,applyFunctions:{[O.APPLY_TYPE.COPY]:(e,t,r,n)=>{const{data:a,index:o}=e;return this._fillCopyFormula(a,t,r,o,n)}}};this._autoFillService.registerRule(i)}_fillCopyFormula(i,e,t,r,n){var u,m;const a=Pt(n),o=[],c=new Map;for(let d=1;d<=e;d++){const p=(d-1)%i.length,f=s.Tools.deepClone(i[p]);if(f){const h=((u=i[p])==null?void 0:u.f)||"",R=((m=i[p])==null?void 0:m.si)||"",S=s.isFormulaString(h);if(s.isFormulaId(R))f.si=R,f.f=null,f.v=null,f.p=null,t===s.Direction.DOWN||t===s.Direction.RIGHT?o.push(f):o.unshift(f);else if(S){let I=c.get(p);if(I)f.si=I,f.f=null,f.v=null,f.p=null;else{I=s.Tools.generateRandomId(6),c.set(p,I);const{offsetX:E,offsetY:v}=St(a,t),y=this._lexerTreeBuilder.moveFormulaRefOffset(h,E,v);f.si=I,f.f=y,f.v=null,f.p=null}t===s.Direction.DOWN||t===s.Direction.RIGHT?o.push(f):o.unshift(f)}}}return o}};be=vt([s.OnLifecycle(s.LifecycleStages.Ready,be),Ue(0,O.IAutoFillService),Ue(1,A.Inject(P.LexerTreeBuilder))],be);function St(i,e){let t=0,r=0;switch(e){case s.Direction.UP:r=-i;break;case s.Direction.RIGHT:t=i;break;case s.Direction.DOWN:r=i;break;case s.Direction.LEFT:t=-i;break}return{offsetX:t,offsetY:r}}function Pt(i){let e=0;for(const t in i)i[t].forEach(r=>{e+=r.data.length});return e}const Ge="special-paste-formula",Ke={id:"sheet.command.paste-formula",type:s.CommandType.COMMAND,handler:async i=>i.get(s.ICommandService).executeCommand(O.SheetPasteCommand.id,{value:Ge})};var Ct=Object.defineProperty,Bt=Object.getOwnPropertyDescriptor,kt=(i,e,t,r)=>{for(var n=r>1?void 0:r?Bt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Ct(e,t,n),n},me=(i,e)=>(t,r)=>e(t,r,i);const _t="default-paste-formula";let pe=class extends s.Disposable{constructor(i,e,t,r){super(),this._currentUniverSheet=i,this._lexerTreeBuilder=e,this._sheetClipboardService=t,this._injector=r,this._initialize()}_initialize(){this._registerClipboardHook()}_registerClipboardHook(){this.disposeWithMe(this._sheetClipboardService.addClipboardHook(this._pasteFormulaHook())),this.disposeWithMe(this._sheetClipboardService.addClipboardHook(this._pasteWithFormulaHook()))}_pasteFormulaHook(){return{hookName:Ge,specialPasteInfo:{label:"specialPaste.formula"},onPasteCells:(e,t,r,n)=>{const a=this._currentUniverSheet.getCurrentUniverSheetInstance(),o=a.getUnitId(),c=a.getActiveSheet().getSheetId();return this._injector.invoke(u=>Ve(o,c,e,t,u,n,this._lexerTreeBuilder,!0))}}}_pasteWithFormulaHook(){return{hookName:_t,onPasteCells:(e,t,r,n)=>{const a=this._currentUniverSheet.getCurrentUniverSheetInstance(),o=a.getUnitId(),c=a.getActiveSheet().getSheetId();return this._injector.invoke(u=>Ve(o,c,e,t,u,n,this._lexerTreeBuilder))}}}};pe=kt([s.OnLifecycle(s.LifecycleStages.Ready,pe),me(0,s.IUniverInstanceService),me(1,A.Inject(P.LexerTreeBuilder)),me(2,O.ISheetClipboardService),me(3,A.Inject(A.Injector))],pe);function Ve(i,e,t,r,n,a,o,c=!1){const u=[],m=[],{startColumn:d,startRow:p}=t,f=new s.ObjectMatrix,h=new Map;let R=0,S=0,l=0,I=0;if(a){const{copyType:y,copyRange:k}=a;y===O.COPY_TYPE.COPY&&k&&(l=k.startRow,I=k.startColumn,R=k.endRow-l+1,S=k.endColumn-I+1)}r.forValue((y,k,C)=>{const B=C.f||"",M={};if(c&&(M.v=C.v),s.isFormulaString(B)&&R&&S){const F=y%R,_=k%S,w=`${F}_${_}`;let x=h.get(w);if(x)M.si=x,M.f=null,M.v=null,M.p=null;else{x=s.Tools.generateRandomId(6),h.set(w,x);const H=k+d-(I+_),U=y+p-(l+F),K=o.moveFormulaRefOffset(B,H,U);M.si=x,M.f=K,M.v=null,M.p=null}}f.setValue(y+p,k+d,M)});const E={unitId:i,subUnitId:e,cellValue:f.getData()};u.push({id:b.SetRangeValuesMutation.id,params:E});const v=b.SetRangeValuesUndoMutationFactory(n,E);return m.push({id:b.SetRangeValuesMutation.id,params:v}),{undos:m,redos:u}}var Dt=Object.defineProperty,yt=Object.getOwnPropertyDescriptor,Tt=(i,e,t,r)=>{for(var n=r>1?void 0:r?yt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Dt(e,t,n),n},$=(i,e)=>(t,r)=>e(t,r,i);let he=class extends s.Disposable{constructor(e,t,r,n,a,o,c,u,m){super();D(this,"_previousShape");this._editorBridgeService=e,this._formulaDataModel=t,this._lexerTreeBuilder=r,this._themeService=n,this._renderManagerService=a,this._selectionRenderService=o,this._sheetSkeletonManagerService=c,this._commandService=u,this._sheetInterceptorService=m,this._initInterceptorEditorStart(),this._commandExecutedListener(),this._initInterceptorCell()}_initInterceptorEditorStart(){this.disposeWithMe(s.toDisposable(this._editorBridgeService.interceptor.intercept(this._editorBridgeService.interceptor.getInterceptPoints().BEFORE_CELL_EDIT,{handler:(e,t,r)=>{var h,R,S,l;const{row:n,col:a,unitId:o,subUnitId:c}=t,u=this._formulaDataModel.getArrayFormulaRange(),m=this._formulaDataModel.getArrayFormulaCellData();if(this._removeArrayFormulaRangeShape(),e==null)return r(e);let d=null;const p=this._formulaDataModel.getFormulaDataItem(n,a,c,o);if(p!=null){const{f:I,si:E,x:v=0,y=0}=p;if(E!=null&&(v>0||y>0)){let k="";if(I.length>0)k=I;else{const B=this._formulaDataModel.getFormulaItemBySId(E,c,o);if(B==null||B.f.length===0)return r(e);k=B.f}d={f:this._lexerTreeBuilder.moveFormulaRefOffset(k,v,y)}}}if(e.v!=null&&e.v!==""&&((S=(R=(h=m[o])==null?void 0:h[c])==null?void 0:R[n])==null?void 0:S[a])==null)return d||r(e);const f=(l=u==null?void 0:u[o])==null?void 0:l[c];return f!=null&&new s.ObjectMatrix(f).forValue((I,E,v)=>{if(v==null)return!0;const{startRow:y,startColumn:k,endRow:C,endColumn:B}=v;if(I===n&&E===a)return this._createArrayFormulaRangeShape(v,o),!1;if(n>=y&&n<=C&&a>=k&&a<=B){const M=this._formulaDataModel.getFormulaDataItem(I,E,c,o);return M==null||M.f==null?!0:(d==null&&(d={f:M.f,isInArrayFormulaRange:!0}),this._createArrayFormulaRangeShape(v,o),!1)}}),d||r(e)}})))}_initInterceptorCell(){this.disposeWithMe(this._sheetInterceptorService.intercept(b.INTERCEPTOR_POINT.CELL_CONTENT,{handler:(e,t,r)=>{var d,p,f;const{row:n,col:a,unitId:o,subUnitId:c}=t,u=this._formulaDataModel.getArrayFormulaCellData(),m=(f=(p=(d=u==null?void 0:u[o])==null?void 0:d[c])==null?void 0:p[n])==null?void 0:f[a];return r(m?{...e,...m}:e)}}))}_commandExecutedListener(){this.disposeWithMe(this._commandService.onCommandExecuted(e=>{e.id===P.SetFormulaCalculationResultMutation.id&&this._removeArrayFormulaRangeShape()}))}_createArrayFormulaRangeShape(e,t){var h;const r=this._themeService.getCurrentTheme(),n=new s.ColorKit(r.colorWhite).setAlpha(0).toString(),a={strokeWidth:1,stroke:r.hyacinth700,fill:n,widgets:{},hasAutoFill:!1,hasRowHeader:!1,hasColumnHeader:!1},{scene:o}=this._renderManagerService.getRenderById(t)||{},{rangeWithCoord:c,primaryWithCoord:u}=this._selectionRenderService.convertSelectionRangeToData({range:e,primary:null,style:a}),m=(h=this._sheetSkeletonManagerService.getCurrent())==null?void 0:h.skeleton;if(!o||!m)return;const{rowHeaderWidth:d,columnHeaderHeight:p}=m,f=new O.SelectionShape(o,100,!1,this._themeService);f.update(c,d,p,a,u),this._previousShape=f}_removeArrayFormulaRangeShape(){this._previousShape!=null&&(this._previousShape.dispose(),this._previousShape=null)}};he=Tt([s.OnLifecycle(s.LifecycleStages.Rendered,he),$(0,A.Inject(O.IEditorBridgeService)),$(1,A.Inject(P.FormulaDataModel)),$(2,A.Inject(P.LexerTreeBuilder)),$(3,A.Inject(s.ThemeService)),$(4,V.IRenderManagerService),$(5,O.ISelectionRenderService),$(6,A.Inject(O.SheetSkeletonManagerService)),$(7,s.ICommandService),$(8,A.Inject(b.SheetInterceptorService))],he);const we={id:"formula-ui.operation.change-ref-to-absolute",type:s.CommandType.OPERATION,handler:async i=>!0};class At{constructor(){D(this,"_sequenceNodes",[]);D(this,"_isSelectionMoving",!1);D(this,"_isLockedOnSelectionChangeRefString",!1);D(this,"_isLockedOnSelectionInsertRefString",!1);D(this,"_syncToEditor$",new G.Subject);D(this,"syncToEditor$",this._syncToEditor$.asObservable());D(this,"_changeRef$",new G.Subject);D(this,"changeRef$",this._changeRef$.asObservable());D(this,"_inputFormula$",new G.Subject);D(this,"inputFormula$",this._inputFormula$.asObservable())}dispose(){this._sequenceNodes=[]}inputFormula(e){this._inputFormula$.next(e)}syncToEditor(e){this._syncToEditor$.next({sequences:this.getSequenceNodes(),textSelectionOffset:e})}getSequenceNodes(){return[...this._sequenceNodes]}setSequenceNodes(e){this._sequenceNodes=e}clearSequenceNodes(){this._sequenceNodes=[]}getCurrentSequenceNode(e){return this._sequenceNodes[this.getCurrentSequenceNodeIndex(e)]}getCurrentSequenceNodeByIndex(e){return this._sequenceNodes[e]}getCurrentSequenceNodeIndex(e){let t=0;for(let r=0,n=this._sequenceNodes.length;r<n;r++){const a=this._sequenceNodes[r];if(typeof a=="string")t++;else{const{endIndex:o}=a;t=o}if(e<=t)return r}return this._sequenceNodes.length}updateSequenceRef(e,t){const r=this._sequenceNodes[e];if(typeof r=="string"||r.nodeType!==P.sequenceNodeType.REFERENCE)return;const n=t.length-r.token.length,a={...r};a.token=t,a.endIndex+=n,this._sequenceNodes[e]=a;for(let o=e+1,c=this._sequenceNodes.length;o<c;o++){const u=this._sequenceNodes[o];if(typeof u=="string")continue;const m={...u};m.startIndex+=n,m.endIndex+=n,this._sequenceNodes[o]=m}this._changeRef$.next(!0)}insertSequenceRef(e,t){const r=t.length,n=this.getCurrentSequenceNodeIndex(e);this._sequenceNodes.splice(n,0,{token:t,startIndex:e,endIndex:e+r-1,nodeType:P.sequenceNodeType.REFERENCE});for(let a=n+1,o=this._sequenceNodes.length;a<o;a++){const c=this._sequenceNodes[a];if(typeof c=="string")continue;const u={...c};u.startIndex+=r,u.endIndex+=r,this._sequenceNodes[a]=u}this._changeRef$.next(!0)}insertSequenceString(e,t){const r=this.getCurrentSequenceNodeIndex(e),n=t.split("");this._sequenceNodes.splice(r,0,...n);const a=n.length;for(let o=r+a,c=this._sequenceNodes.length;o<c;o++){const u=this._sequenceNodes[o];if(typeof u=="string")continue;const m={...u};m.startIndex+=a,m.endIndex+=a,this._sequenceNodes[o]=m}this._changeRef$.next(!0)}enableSelectionMoving(){this._isSelectionMoving=!0}disableSelectionMoving(){this._isSelectionMoving=!1}isSelectionMoving(){return this._isSelectionMoving}enableLockedSelectionChange(){this._isLockedOnSelectionChangeRefString=!0}disableLockedSelectionChange(){this._isLockedOnSelectionChangeRefString=!1}isLockedSelectionChange(){return this._isLockedOnSelectionChangeRefString}enableLockedSelectionInsert(){this._isLockedOnSelectionInsertRefString=!0}disableLockedSelectionInsert(){this._isLockedOnSelectionInsertRefString=!1}isLockedSelectionInsert(){return this._isLockedOnSelectionInsertRefString}}const se=A.createIdentifier("formula-ui.input-service");var Nt=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Ot=(i,e,t,r)=>{for(var n=r>1?void 0:r?Mt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Nt(e,t,n),n},X=(i,e)=>(t,r)=>e(t,r,i);let Ee=class extends s.Disposable{constructor(e,t,r,n,a,o,c){super();D(this,"_userCursorMove",!1);this._commandService=e,this._textSelectionRenderManager=t,this._editorBridgeService=r,this._lexerTreeBuilder=n,this._renderManagerService=a,this._formulaInputService=o,this._textSelectionManagerService=c,this._initialize()}_initialize(){this._commandExecutedListener(),this._initialEditorInputChange(),this._userMouseListener(),this._inputFormulaListener()}_initialEditorInputChange(){this.disposeWithMe(s.toDisposable(this._textSelectionRenderManager.onInputBefore$.subscribe(e=>{const t=e==null?void 0:e.event;t!=null&&t.which!==N.KeyCode.F4&&(this._userCursorMove=!1)})))}_userMouseListener(){const e=this._getEditorObject();if(e==null)return;const{document:t}=e;this.disposeWithMe(s.toDisposable(t.onPointerDownObserver.add(()=>{this._userCursorMove=!0})))}_inputFormulaListener(){this.disposeWithMe(s.toDisposable(this._formulaInputService.inputFormula$.subscribe(e=>{this._editorBridgeService.isVisible().visible===!1&&this._editorBridgeService.changeVisible({visible:!0,eventType:V.DeviceInputEventType.Dblclick});const r=this._lexerTreeBuilder.sequenceNodesBuilder(e)||[];this._formulaInputService.setSequenceNodes(r),this._formulaInputService.syncToEditor(e.length-1)})))}_changeRefString(){const e=this._textSelectionManagerService.getActiveRange();if(e==null)return;const{startOffset:t}=e,r=t-2,n=this._formulaInputService.getCurrentSequenceNodeIndex(r),a=this._formulaInputService.getCurrentSequenceNodeByIndex(n);if(a==null||typeof a=="string"||a.nodeType!==P.sequenceNodeType.REFERENCE)return;const o=a.token.split("!");let c=a.token;o.length>1&&(c=o[o.length-1]);let u="";for(let p=0,f=o.length;p<f-1;p++)u+=o[p];let m=c;if(c.indexOf(P.matchToken.COLON)>-1)if(!this._userCursorMove)m=this._changeRangeRef(c);else{const p=c.split(P.matchToken.COLON),f=p[0],h=p[1];r-a.startIndex<=f.length?m=this._changeSingleRef(f)+P.matchToken.COLON+h:m=f+P.matchToken.COLON+this._changeSingleRef(h)}else m=this._changeSingleRef(c);m=u+m;const d=m.length-a.token.length;this._formulaInputService.updateSequenceRef(n,m),this._formulaInputService.syncToEditor(r+d+1)}_changeRangeRef(e){const t=s.deserializeRangeWithSheet(e).range;let r="";return t.startAbsoluteRefType===s.AbsoluteRefType.NONE||t.startAbsoluteRefType==null?(t.startAbsoluteRefType=s.AbsoluteRefType.ALL,t.endAbsoluteRefType=s.AbsoluteRefType.ALL):(t.startAbsoluteRefType=s.AbsoluteRefType.NONE,t.endAbsoluteRefType=s.AbsoluteRefType.NONE),r=s.serializeRange(t),r}_changeSingleRef(e){const t=s.deserializeRangeWithSheet(e).range,r=t.startAbsoluteRefType;let n="";return r===s.AbsoluteRefType.NONE||r==null?(t.startAbsoluteRefType=s.AbsoluteRefType.ALL,t.endAbsoluteRefType=s.AbsoluteRefType.ALL):r===s.AbsoluteRefType.ALL?(t.startAbsoluteRefType=s.AbsoluteRefType.ROW,t.endAbsoluteRefType=s.AbsoluteRefType.ROW):r===s.AbsoluteRefType.ROW?(t.startAbsoluteRefType=s.AbsoluteRefType.COLUMN,t.endAbsoluteRefType=s.AbsoluteRefType.COLUMN):(t.startAbsoluteRefType=s.AbsoluteRefType.NONE,t.endAbsoluteRefType=s.AbsoluteRefType.NONE),n=s.serializeRange(t),n}_commandExecutedListener(){const e=[we.id];this.disposeWithMe(this._commandService.onCommandExecuted(t=>{e.includes(t.id)&&this._changeRefString()}))}_getEditorObject(){return O.getEditorObject(this._editorBridgeService.getCurrentEditorId(),this._renderManagerService)}};Ee=Ot([s.OnLifecycle(s.LifecycleStages.Steady,Ee),X(0,s.ICommandService),X(1,V.ITextSelectionRenderManager),X(2,A.Inject(O.IEditorBridgeService)),X(3,A.Inject(P.LexerTreeBuilder)),X(4,V.IRenderManagerService),X(5,se),X(6,A.Inject(oe.TextSelectionManagerService))],Ee);const Ye={id:"formula-ui.command.insert-function",type:s.CommandType.COMMAND,handler:async(i,e)=>{const{list:t}=e,r=i.get(s.ICommandService),n=new s.ObjectMatrix;t.forEach(o=>{const{range:c,primary:u,formula:m}=o,{row:d,column:p}=u,f=s.Tools.generateRandomId(6);n.setValue(d,p,{f:m,si:f});const{startRow:h,startColumn:R,endRow:S,endColumn:l}=c;for(let I=h;I<=S;I++)for(let E=R;E<=l;E++)(I!==d||E!==p)&&n.setValue(I,E,{si:f})});const a={value:n.getData()};return r.executeCommand(b.SetRangeValuesCommand.id,a)}},re={id:"formula-ui.operation.select-editor-formula",type:s.CommandType.OPERATION,handler:(i,e)=>!0},ee=A.createIdentifier("formula-ui.prompt-service");class xt{constructor(){D(this,"_search$",new G.Subject);D(this,"_help$",new G.Subject);D(this,"_navigate$",new G.Subject);D(this,"_accept$",new G.Subject);D(this,"_acceptFormulaName$",new G.Subject);D(this,"search$",this._search$.asObservable());D(this,"help$",this._help$.asObservable());D(this,"navigate$",this._navigate$.asObservable());D(this,"accept$",this._accept$.asObservable());D(this,"acceptFormulaName$",this._acceptFormulaName$.asObservable());D(this,"_searching",!1);D(this,"_helping",!1);D(this,"_isInsertRefString",!1)}dispose(){this._search$.complete(),this._help$.complete(),this._navigate$.complete(),this._accept$.complete(),this._acceptFormulaName$.complete()}search(e){this._searching=e.visible,this._search$.next(e)}isSearching(){return this._searching}help(e){this._helping=e.visible,this._help$.next(e)}isHelping(){return this._helping}navigate(e){this._navigate$.next(e)}accept(e){this._accept$.next(e)}acceptFormulaName(e){this._acceptFormulaName$.next(e)}}const Ne={id:"formula-ui.operation.help-function",type:s.CommandType.OPERATION,handler:async(i,e)=>(i.get(ee).help(e),!0)},Fe={id:"formula-ui.operation.insert-function",type:s.CommandType.OPERATION,handler:async(i,e)=>{const t=i.get(b.SelectionManagerService),r=i.get(se),n=t.getSelections();if(!n||!n.length)return!1;const a=i.get(s.IUniverInstanceService).getCurrentUniverSheetInstance(),o=a.getActiveSheet(),c=a.getUnitId(),u=o.getSheetId(),m=o.getCellMatrix(),{value:d}=e,p=i.get(s.ICommandService),f=[];let h=null,R=0,S=0;if(n.some(l=>{const{range:I,primary:E}=l,v=(E==null?void 0:E.actualRow)??I.startRow,y=(E==null?void 0:E.actualColumn)??I.startColumn,k=wt(m,v,y);if(!k)return h=I,R=v,S=y,!0;const C=s.serializeRange(k),B=`=${d}(${C})`;return f.push({range:I,primary:{row:v,column:y},formula:B}),!1}),h){const l=b.getCellAtRowCol(R,S,o),I={range:s.Rectangle.clone(h),primary:{startRow:l.startRow,startColumn:l.startColumn,endRow:l.endRow,endColumn:l.endColumn,actualRow:R,actualColumn:S,isMerged:l.isMerged,isMergedMainCell:l.startRow===R&&l.startColumn===S}},E={unitId:c,sheetId:u,pluginName:b.NORMAL_SELECTION_PLUGIN_NAME,selections:[I]};await p.executeCommand(b.SetSelectionsOperation.id,E),setTimeout(()=>{r.inputFormula(`=${d}(`)},0)}return f.length===0?!1:p.executeCommand(Ye.id,{list:f})}};function wt(i,e,t){const r=Ft(i,e,t);if(r!==e)return{startRow:r,endRow:e-1,startColumn:t,endColumn:t};const n=Lt(i,e,t);return n!==t?{startRow:e,endRow:e,startColumn:n,endColumn:t-1}:null}function Ft(i,e,t){let r=!1;if(e===0)return e;for(let n=e-1;n>=0;n--){const a=i.getValue(n,t);if(Se(a)&&!r){if(n===0)return 0;r=!0}else{if(r&&!Se(a))return n+1;if(r&&n===0)return 0}}return e}function Lt(i,e,t){let r=!1;if(t===0)return t;for(let n=t-1;n>=0;n--){const a=i.getValue(e,n);if(Se(a)&&!r){if(n===0)return 0;r=!0}else{if(r&&!Se(a))return n+1;if(r&&n===0)return 0}}return t}function Se(i){return i&&(s.Tools.isStringNumber(i.v)||s.getCellValueType(i)===s.CellValueType.NUMBER)}const Xe=`${We}_MORE_FUNCTIONS_COMPONENT`,Qe={id:"formula-ui.operation.more-functions",type:s.CommandType.OPERATION,handler:async i=>(i.get(N.ISidebarService).open({header:{title:"formula.insert.tooltip"},children:{label:Xe}}),!0)},Me={id:"formula-ui.operation.search-function",type:s.CommandType.OPERATION,handler:async(i,e)=>(i.get(ee).search(e),!0)};var Je={exports:{}},Pe={};/**
|
|
1
|
+
"use strict";var mt=Object.defineProperty;var ft=(i,e,t)=>e in i?mt(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var D=(i,e,t)=>(ft(i,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@univerjs/core"),A=require("@wendellhu/redi"),P=require("@univerjs/engine-formula"),b=require("@univerjs/sheets"),O=require("@univerjs/sheets-ui"),V=require("@univerjs/engine-render"),oe=require("@univerjs/docs"),N=require("@univerjs/ui"),G=require("rxjs"),L=require("@wendellhu/redi/react-bindings"),T=require("react"),Z=require("@univerjs/design"),We="formula-ui";class lt extends s.Disposable{constructor(){super(...arguments);D(this,"_dirtyConversionMap",new Map)}dispose(){this._dirtyConversionMap.clear()}remove(t){this._dirtyConversionMap.delete(t)}get(t){return this._dirtyConversionMap.get(t)}has(t){return this._dirtyConversionMap.has(t)}register(t,n){this._dirtyConversionMap.set(t,n)}getDirtyConversionMap(){return this._dirtyConversionMap}}const xe=A.createIdentifier("univer.formula.active-dirty-manager.service");var dt=Object.defineProperty,bt=Object.getOwnPropertyDescriptor,pt=(i,e,t,n)=>{for(var r=n>1?void 0:n?bt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&dt(e,t,r),r},Be=(i,e)=>(t,n)=>e(t,n,i);let le=class extends s.Disposable{constructor(i,e,t){super(),this._activeDirtyManagerService=i,this._currentUniverService=e,this._formulaDataModel=t,this._initialize()}_initialize(){this._initialConversion()}_initialConversion(){this._activeDirtyManagerService.register(b.SetRangeValuesMutation.id,{commandId:b.SetRangeValuesMutation.id,getDirtyData:i=>{const e=i.params;return e.trigger===b.SetStyleCommand.id?{}:{dirtyRanges:this._getSetRangeValuesMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.MoveRangeMutation.id,{commandId:b.MoveRangeMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getMoveRangeMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.MoveRowsMutation.id,{commandId:b.MoveRowsMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getMoveRowsMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.MoveColsMutation.id,{commandId:b.MoveColsMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getMoveRowsMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.DeleteRangeMutation.id,{commandId:b.DeleteRangeMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getDeleteRangeMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.InsertRangeMutation.id,{commandId:b.InsertRangeMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getDeleteRangeMutationDirtyRange(e)}}}),this._activeDirtyManagerService.register(b.RemoveRowMutation.id,{commandId:b.RemoveRowMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getRemoveRowOrColumnMutation(e,!0)}}}),this._activeDirtyManagerService.register(b.RemoveColMutation.id,{commandId:b.RemoveColMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyRanges:this._getRemoveRowOrColumnMutation(e,!1)}}}),this._activeDirtyManagerService.register(b.RemoveSheetMutation.id,{commandId:b.RemoveSheetMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyNameMap:this._getRemoveSheetMutation(e)}}}),this._activeDirtyManagerService.register(b.InsertSheetMutation.id,{commandId:b.InsertSheetMutation.id,getDirtyData:i=>{const e=i.params;return{dirtyNameMap:this._getInsertSheetMutation(e)}}})}_getSetRangeValuesMutationDirtyRange(i){const{subUnitId:e,unitId:t,cellValue:n}=i,r=[];return n==null||(r.push(...this._getDirtyRangesByCellValue(t,e,n)),r.push(...this._getDirtyRangesForArrayFormula(t,e,n))),r}_getMoveRangeMutationDirtyRange(i){const{subUnitId:e,unitId:t,from:n,to:r}=i,a=[];return a.push(...this._getDirtyRangesByCellValue(t,e,n)),a.push(...this._getDirtyRangesByCellValue(t,e,r)),a.push(...this._getDirtyRangesForArrayFormula(t,e,r)),a}_getMoveRowsMutationDirtyRange(i){const{subUnitId:e,unitId:t,sourceRange:n,targetRange:r}=i,a=[],o=this._rangeToMatrix(n).getData(),c=this._rangeToMatrix(r).getData();return a.push(...this._getDirtyRangesByCellValue(t,e,o)),a.push(...this._getDirtyRangesByCellValue(t,e,c)),a.push(...this._getDirtyRangesForArrayFormula(t,e,c)),a}_getDeleteRangeMutationDirtyRange(i){const{subUnitId:e,unitId:t,range:n,shiftDimension:r}=i,a=[],o=this._currentUniverService.getUniverSheetInstance(t),c=o==null?void 0:o.getSheetBySheetId(e),u=(c==null?void 0:c.getLastRowWithContent())||0,m=(c==null?void 0:c.getLastColumnWithContent())||0,d=new s.ObjectMatrix;let p=null;const{startRow:f,startColumn:h,endRow:R,endColumn:S}=n;r===s.Dimension.ROWS?p=this._rangeToMatrix({startRow:f,startColumn:h,endRow:u,endColumn:S}):r===s.Dimension.COLUMNS&&(p=this._rangeToMatrix({startRow:f,startColumn:h,endRow:R,endColumn:m})),p!=null&&d.merge(p);const l=d.getData();return a.push(...this._getDirtyRangesByCellValue(t,e,l)),a.push(...this._getDirtyRangesForArrayFormula(t,e,l)),a}_getRemoveRowOrColumnMutation(i,e=!0){const{subUnitId:t,unitId:n,range:r}=i,a=[],o=this._currentUniverService.getUniverSheetInstance(n),c=o==null?void 0:o.getSheetBySheetId(t),u=(c==null?void 0:c.getRowCount())||0,m=(c==null?void 0:c.getColumnCount())||0,d=new s.ObjectMatrix;let p=null;const{startRow:f,endRow:h,startColumn:R,endColumn:S}=r;e===!0?p=this._rangeToMatrix({startRow:f,startColumn:0,endRow:h,endColumn:m-1}):p=this._rangeToMatrix({startRow:0,startColumn:R,endRow:u,endColumn:S}),p!=null&&d.merge(p);const l=d.getData();return a.push(...this._getDirtyRangesByCellValue(n,t,l)),a.push(...this._getDirtyRangesForArrayFormula(n,t,l)),a}_getRemoveSheetMutation(i,e){const t={},{subUnitId:n,unitId:r}=i;return t[r]==null&&(t[r]={}),t[r][n]=e,t}_getInsertSheetMutation(i,e){const t={},{sheet:n,unitId:r}=i;return t[r]==null&&(t[r]={}),t[r][n.id]=e,t}_rangeToMatrix(i){const e=new s.ObjectMatrix,{startRow:t,startColumn:n,endRow:r,endColumn:a}=i;for(let o=t;o<=r;o++)for(let c=n;c<=a;c++)e.setValue(o,c,{});return e}_getDirtyRangesByCellValue(i,e,t){const n=[];return t==null||new s.ObjectMatrix(t).getDiscreteRanges().forEach(o=>{n.push({unitId:i,sheetId:e,range:o})}),n}_getDirtyRangesForArrayFormula(i,e,t){var o,c;const n=[];if(t==null)return n;const r=new s.ObjectMatrix(t),a=this._formulaDataModel.getArrayFormulaRange();if((o=a==null?void 0:a[i])!=null&&o[e]){const u=new s.ObjectMatrix((c=a==null?void 0:a[i])==null?void 0:c[e]);r.forValue((m,d)=>{u.forValue((p,f,h)=>{if(h==null)return!0;const{startRow:R,startColumn:S,endRow:l,endColumn:I}=h;m>=R&&m<=l&&d>=S&&d<=I&&n.push({unitId:i,sheetId:e,range:{startRow:R,startColumn:S,endRow:R,endColumn:S}})})})}return n}};le=pt([s.OnLifecycle(s.LifecycleStages.Ready,le),Be(0,xe),Be(1,s.IUniverInstanceService),Be(2,A.Inject(P.FormulaDataModel))],le);var ht=Object.defineProperty,Et=Object.getOwnPropertyDescriptor,Rt=(i,e,t,n)=>{for(var r=n>1?void 0:n?Et(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&ht(e,t,r),r},ke=(i,e)=>(t,n)=>e(t,n,i);let de=class extends s.Disposable{constructor(i,e,t){super(),this._commandService=i,this._sheetInterceptorService=e,this._formulaDataModel=t,this._initialize()}_initialize(){this._commandExecutedListener(),this._initInterceptorCellContent()}_commandExecutedListener(){this.disposeWithMe(this._commandService.onCommandExecuted(i=>{if(i.id!==P.SetArrayFormulaDataMutation.id)return;const e=i.params;if(e==null)return;const{arrayFormulaRange:t,arrayFormulaCellData:n}=e;this._formulaDataModel.setArrayFormulaRange(t),this._formulaDataModel.setArrayFormulaCellData(n)}))}_initInterceptorCellContent(){this.disposeWithMe(this._sheetInterceptorService.intercept(b.INTERCEPTOR_POINT.CELL_CONTENT,{priority:100,handler:(i,e,t)=>{var p,f,h,R,S,l;const{unitId:n,subUnitId:r,row:a,col:o}=e,c=this._formulaDataModel.getArrayFormulaCellData(),u=this._formulaDataModel.getArrayFormulaRange(),m=(h=(f=(p=c==null?void 0:c[n])==null?void 0:p[r])==null?void 0:f[a])==null?void 0:h[o],d=(l=(S=(R=u==null?void 0:u[n])==null?void 0:R[r])==null?void 0:S[a])==null?void 0:l[o];return m==null||d!=null&&d.startRow===a&&d.startColumn===o?t(i):t({...i,...m})}}))}};de=Rt([s.OnLifecycle(s.LifecycleStages.Ready,de),ke(0,s.ICommandService),ke(1,A.Inject(b.SheetInterceptorService)),ke(2,A.Inject(P.FormulaDataModel))],de);var gt=Object.defineProperty,It=Object.getOwnPropertyDescriptor,vt=(i,e,t,n)=>{for(var r=n>1?void 0:n?It(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&>(e,t,r),r},Ue=(i,e)=>(t,n)=>e(t,n,i);let be=class extends s.Disposable{constructor(i,e){super(),this._autoFillService=i,this._lexerTreeBuilder=e,this._initialize()}_initialize(){this._registerAutoFill()}_registerAutoFill(){const i={type:O.DATA_TYPE.FORMULA,priority:1001,match:e=>s.isFormulaString(e==null?void 0:e.f)||s.isFormulaId(e==null?void 0:e.si),isContinue:(e,t)=>e.type===O.DATA_TYPE.FORMULA,applyFunctions:{[O.APPLY_TYPE.COPY]:(e,t,n,r)=>{const{data:a,index:o}=e;return this._fillCopyFormula(a,t,n,o,r)}}};this._autoFillService.registerRule(i)}_fillCopyFormula(i,e,t,n,r){var u,m;const a=Pt(r),o=[],c=new Map;for(let d=1;d<=e;d++){const p=(d-1)%i.length,f=s.Tools.deepClone(i[p]);if(f){const h=((u=i[p])==null?void 0:u.f)||"",R=((m=i[p])==null?void 0:m.si)||"",S=s.isFormulaString(h);if(s.isFormulaId(R))f.si=R,f.f=null,f.v=null,f.p=null,t===s.Direction.DOWN||t===s.Direction.RIGHT?o.push(f):o.unshift(f);else if(S){let I=c.get(p);if(I)f.si=I,f.f=null,f.v=null,f.p=null;else{I=s.Tools.generateRandomId(6),c.set(p,I);const{offsetX:E,offsetY:v}=St(a,t),y=this._lexerTreeBuilder.moveFormulaRefOffset(h,E,v);f.si=I,f.f=y,f.v=null,f.p=null}t===s.Direction.DOWN||t===s.Direction.RIGHT?o.push(f):o.unshift(f)}}}return o}};be=vt([s.OnLifecycle(s.LifecycleStages.Ready,be),Ue(0,O.IAutoFillService),Ue(1,A.Inject(P.LexerTreeBuilder))],be);function St(i,e){let t=0,n=0;switch(e){case s.Direction.UP:n=-i;break;case s.Direction.RIGHT:t=i;break;case s.Direction.DOWN:n=i;break;case s.Direction.LEFT:t=-i;break}return{offsetX:t,offsetY:n}}function Pt(i){let e=0;for(const t in i)i[t].forEach(n=>{e+=n.data.length});return e}const Ge="special-paste-formula",Ke={id:"sheet.command.paste-formula",type:s.CommandType.COMMAND,handler:async i=>i.get(s.ICommandService).executeCommand(O.SheetPasteCommand.id,{value:Ge})};var Ct=Object.defineProperty,Bt=Object.getOwnPropertyDescriptor,kt=(i,e,t,n)=>{for(var r=n>1?void 0:n?Bt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&Ct(e,t,r),r},me=(i,e)=>(t,n)=>e(t,n,i);const _t="default-paste-formula";let pe=class extends s.Disposable{constructor(i,e,t,n){super(),this._currentUniverSheet=i,this._lexerTreeBuilder=e,this._sheetClipboardService=t,this._injector=n,this._initialize()}_initialize(){this._registerClipboardHook()}_registerClipboardHook(){this.disposeWithMe(this._sheetClipboardService.addClipboardHook(this._pasteFormulaHook())),this.disposeWithMe(this._sheetClipboardService.addClipboardHook(this._pasteWithFormulaHook()))}_pasteFormulaHook(){return{hookName:Ge,specialPasteInfo:{label:"specialPaste.formula"},onPasteCells:(e,t,n,r)=>{const a=this._currentUniverSheet.getCurrentUniverSheetInstance(),o=a.getUnitId(),c=a.getActiveSheet().getSheetId();return this._injector.invoke(u=>Ve(o,c,e,t,u,r,this._lexerTreeBuilder,!0))}}}_pasteWithFormulaHook(){return{hookName:_t,onPasteCells:(e,t,n,r)=>{const a=this._currentUniverSheet.getCurrentUniverSheetInstance(),o=a.getUnitId(),c=a.getActiveSheet().getSheetId();return this._injector.invoke(u=>Ve(o,c,e,t,u,r,this._lexerTreeBuilder))}}}};pe=kt([s.OnLifecycle(s.LifecycleStages.Ready,pe),me(0,s.IUniverInstanceService),me(1,A.Inject(P.LexerTreeBuilder)),me(2,O.ISheetClipboardService),me(3,A.Inject(A.Injector))],pe);function Ve(i,e,t,n,r,a,o,c=!1){const u=[],m=[],{startColumn:d,startRow:p}=t,f=new s.ObjectMatrix,h=new Map;let R=0,S=0,l=0,I=0;if(a){const{copyType:y,copyRange:k}=a;y===O.COPY_TYPE.COPY&&k&&(l=k.startRow,I=k.startColumn,R=k.endRow-l+1,S=k.endColumn-I+1)}n.forValue((y,k,C)=>{const B=C.f||"",M={};if(c&&(M.v=C.v),s.isFormulaString(B)&&R&&S){const F=y%R,_=k%S,w=`${F}_${_}`;let x=h.get(w);if(x)M.si=x,M.f=null,M.v=null,M.p=null;else{x=s.Tools.generateRandomId(6),h.set(w,x);const H=k+d-(I+_),U=y+p-(l+F),K=o.moveFormulaRefOffset(B,H,U);M.si=x,M.f=K,M.v=null,M.p=null}}f.setValue(y+p,k+d,M)});const E={unitId:i,subUnitId:e,cellValue:f.getData()};u.push({id:b.SetRangeValuesMutation.id,params:E});const v=b.SetRangeValuesUndoMutationFactory(r,E);return m.push({id:b.SetRangeValuesMutation.id,params:v}),{undos:m,redos:u}}var Dt=Object.defineProperty,yt=Object.getOwnPropertyDescriptor,Tt=(i,e,t,n)=>{for(var r=n>1?void 0:n?yt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&Dt(e,t,r),r},$=(i,e)=>(t,n)=>e(t,n,i);let he=class extends s.Disposable{constructor(e,t,n,r,a,o,c,u,m){super();D(this,"_previousShape");this._editorBridgeService=e,this._formulaDataModel=t,this._lexerTreeBuilder=n,this._themeService=r,this._renderManagerService=a,this._selectionRenderService=o,this._sheetSkeletonManagerService=c,this._commandService=u,this._sheetInterceptorService=m,this._initInterceptorEditorStart(),this._commandExecutedListener(),this._initInterceptorCell()}_initInterceptorEditorStart(){this.disposeWithMe(s.toDisposable(this._editorBridgeService.interceptor.intercept(this._editorBridgeService.interceptor.getInterceptPoints().BEFORE_CELL_EDIT,{handler:(e,t,n)=>{var h,R,S,l;const{row:r,col:a,unitId:o,subUnitId:c}=t,u=this._formulaDataModel.getArrayFormulaRange(),m=this._formulaDataModel.getArrayFormulaCellData();if(this._removeArrayFormulaRangeShape(),e==null)return n(e);let d=null;const p=this._formulaDataModel.getFormulaDataItem(r,a,c,o);if(p!=null){const{f:I,si:E,x:v=0,y=0}=p;if(E!=null&&(v>0||y>0)){let k="";if(I.length>0)k=I;else{const B=this._formulaDataModel.getFormulaItemBySId(E,c,o);if(B==null||B.f.length===0)return n(e);k=B.f}d={f:this._lexerTreeBuilder.moveFormulaRefOffset(k,v,y)}}}if(e.v!=null&&e.v!==""&&((S=(R=(h=m[o])==null?void 0:h[c])==null?void 0:R[r])==null?void 0:S[a])==null)return d||n(e);const f=(l=u==null?void 0:u[o])==null?void 0:l[c];return f!=null&&new s.ObjectMatrix(f).forValue((I,E,v)=>{if(v==null)return!0;const{startRow:y,startColumn:k,endRow:C,endColumn:B}=v;if(I===r&&E===a)return this._createArrayFormulaRangeShape(v,o),!1;if(r>=y&&r<=C&&a>=k&&a<=B){const M=this._formulaDataModel.getFormulaDataItem(I,E,c,o);return M==null||M.f==null?!0:(d==null&&(d={f:M.f,isInArrayFormulaRange:!0}),this._createArrayFormulaRangeShape(v,o),!1)}}),d||n(e)}})))}_initInterceptorCell(){this.disposeWithMe(this._sheetInterceptorService.intercept(b.INTERCEPTOR_POINT.CELL_CONTENT,{handler:(e,t,n)=>{var d,p,f;const{row:r,col:a,unitId:o,subUnitId:c}=t,u=this._formulaDataModel.getArrayFormulaCellData(),m=(f=(p=(d=u==null?void 0:u[o])==null?void 0:d[c])==null?void 0:p[r])==null?void 0:f[a];return n(m?{...e,...m}:e)}}))}_commandExecutedListener(){this.disposeWithMe(this._commandService.onCommandExecuted(e=>{e.id===P.SetFormulaCalculationResultMutation.id&&this._removeArrayFormulaRangeShape()}))}_createArrayFormulaRangeShape(e,t){var h;const n=this._themeService.getCurrentTheme(),r=new s.ColorKit(n.colorWhite).setAlpha(0).toString(),a={strokeWidth:1,stroke:n.hyacinth700,fill:r,widgets:{},hasAutoFill:!1,hasRowHeader:!1,hasColumnHeader:!1},{scene:o}=this._renderManagerService.getRenderById(t)||{},{rangeWithCoord:c,primaryWithCoord:u}=this._selectionRenderService.convertSelectionRangeToData({range:e,primary:null,style:a}),m=(h=this._sheetSkeletonManagerService.getCurrent())==null?void 0:h.skeleton;if(!o||!m)return;const{rowHeaderWidth:d,columnHeaderHeight:p}=m,f=new O.SelectionShape(o,100,!1,this._themeService);f.update(c,d,p,a,u),this._previousShape=f}_removeArrayFormulaRangeShape(){this._previousShape!=null&&(this._previousShape.dispose(),this._previousShape=null)}};he=Tt([s.OnLifecycle(s.LifecycleStages.Rendered,he),$(0,A.Inject(O.IEditorBridgeService)),$(1,A.Inject(P.FormulaDataModel)),$(2,A.Inject(P.LexerTreeBuilder)),$(3,A.Inject(s.ThemeService)),$(4,V.IRenderManagerService),$(5,O.ISelectionRenderService),$(6,A.Inject(O.SheetSkeletonManagerService)),$(7,s.ICommandService),$(8,A.Inject(b.SheetInterceptorService))],he);const we={id:"formula-ui.operation.change-ref-to-absolute",type:s.CommandType.OPERATION,handler:async i=>!0};class Nt{constructor(){D(this,"_sequenceNodes",[]);D(this,"_isSelectionMoving",!1);D(this,"_isLockedOnSelectionChangeRefString",!1);D(this,"_isLockedOnSelectionInsertRefString",!1);D(this,"_syncToEditor$",new G.Subject);D(this,"syncToEditor$",this._syncToEditor$.asObservable());D(this,"_changeRef$",new G.Subject);D(this,"changeRef$",this._changeRef$.asObservable());D(this,"_inputFormula$",new G.Subject);D(this,"inputFormula$",this._inputFormula$.asObservable())}dispose(){this._sequenceNodes=[]}inputFormula(e){this._inputFormula$.next(e)}syncToEditor(e){this._syncToEditor$.next({sequences:this.getSequenceNodes(),textSelectionOffset:e})}getSequenceNodes(){return[...this._sequenceNodes]}setSequenceNodes(e){this._sequenceNodes=e}clearSequenceNodes(){this._sequenceNodes=[]}getCurrentSequenceNode(e){return this._sequenceNodes[this.getCurrentSequenceNodeIndex(e)]}getCurrentSequenceNodeByIndex(e){return this._sequenceNodes[e]}getCurrentSequenceNodeIndex(e){let t=0;for(let n=0,r=this._sequenceNodes.length;n<r;n++){const a=this._sequenceNodes[n];if(typeof a=="string")t++;else{const{endIndex:o}=a;t=o}if(e<=t)return n}return this._sequenceNodes.length}updateSequenceRef(e,t){const n=this._sequenceNodes[e];if(typeof n=="string"||n.nodeType!==P.sequenceNodeType.REFERENCE)return;const r=t.length-n.token.length,a={...n};a.token=t,a.endIndex+=r,this._sequenceNodes[e]=a;for(let o=e+1,c=this._sequenceNodes.length;o<c;o++){const u=this._sequenceNodes[o];if(typeof u=="string")continue;const m={...u};m.startIndex+=r,m.endIndex+=r,this._sequenceNodes[o]=m}this._changeRef$.next(!0)}insertSequenceRef(e,t){const n=t.length,r=this.getCurrentSequenceNodeIndex(e);this._sequenceNodes.splice(r,0,{token:t,startIndex:e,endIndex:e+n-1,nodeType:P.sequenceNodeType.REFERENCE});for(let a=r+1,o=this._sequenceNodes.length;a<o;a++){const c=this._sequenceNodes[a];if(typeof c=="string")continue;const u={...c};u.startIndex+=n,u.endIndex+=n,this._sequenceNodes[a]=u}this._changeRef$.next(!0)}insertSequenceString(e,t){const n=this.getCurrentSequenceNodeIndex(e),r=t.split("");this._sequenceNodes.splice(n,0,...r);const a=r.length;for(let o=n+a,c=this._sequenceNodes.length;o<c;o++){const u=this._sequenceNodes[o];if(typeof u=="string")continue;const m={...u};m.startIndex+=a,m.endIndex+=a,this._sequenceNodes[o]=m}this._changeRef$.next(!0)}enableSelectionMoving(){this._isSelectionMoving=!0}disableSelectionMoving(){this._isSelectionMoving=!1}isSelectionMoving(){return this._isSelectionMoving}enableLockedSelectionChange(){this._isLockedOnSelectionChangeRefString=!0}disableLockedSelectionChange(){this._isLockedOnSelectionChangeRefString=!1}isLockedSelectionChange(){return this._isLockedOnSelectionChangeRefString}enableLockedSelectionInsert(){this._isLockedOnSelectionInsertRefString=!0}disableLockedSelectionInsert(){this._isLockedOnSelectionInsertRefString=!1}isLockedSelectionInsert(){return this._isLockedOnSelectionInsertRefString}}const se=A.createIdentifier("formula-ui.input-service");var At=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Ot=(i,e,t,n)=>{for(var r=n>1?void 0:n?Mt(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&At(e,t,r),r},X=(i,e)=>(t,n)=>e(t,n,i);let Ee=class extends s.Disposable{constructor(e,t,n,r,a,o,c){super();D(this,"_userCursorMove",!1);this._commandService=e,this._textSelectionRenderManager=t,this._editorBridgeService=n,this._lexerTreeBuilder=r,this._renderManagerService=a,this._formulaInputService=o,this._textSelectionManagerService=c,this._initialize()}_initialize(){this._commandExecutedListener(),this._initialEditorInputChange(),this._userMouseListener(),this._inputFormulaListener()}_initialEditorInputChange(){this.disposeWithMe(s.toDisposable(this._textSelectionRenderManager.onInputBefore$.subscribe(e=>{const t=e==null?void 0:e.event;t!=null&&t.which!==N.KeyCode.F4&&(this._userCursorMove=!1)})))}_userMouseListener(){const e=this._getEditorObject();if(e==null)return;const{document:t}=e;this.disposeWithMe(s.toDisposable(t.onPointerDownObserver.add(()=>{this._userCursorMove=!0})))}_inputFormulaListener(){this.disposeWithMe(s.toDisposable(this._formulaInputService.inputFormula$.subscribe(e=>{this._editorBridgeService.isVisible().visible===!1&&this._editorBridgeService.changeVisible({visible:!0,eventType:V.DeviceInputEventType.Dblclick});const n=this._lexerTreeBuilder.sequenceNodesBuilder(e)||[];this._formulaInputService.setSequenceNodes(n),this._formulaInputService.syncToEditor(e.length-1)})))}_changeRefString(){const e=this._textSelectionManagerService.getActiveRange();if(e==null)return;const{startOffset:t}=e,n=t-2,r=this._formulaInputService.getCurrentSequenceNodeIndex(n),a=this._formulaInputService.getCurrentSequenceNodeByIndex(r);if(a==null||typeof a=="string"||a.nodeType!==P.sequenceNodeType.REFERENCE)return;const o=a.token.split("!");let c=a.token;o.length>1&&(c=o[o.length-1]);let u="";for(let p=0,f=o.length;p<f-1;p++)u+=o[p];let m=c;if(c.indexOf(P.matchToken.COLON)>-1)if(!this._userCursorMove)m=this._changeRangeRef(c);else{const p=c.split(P.matchToken.COLON),f=p[0],h=p[1];n-a.startIndex<=f.length?m=this._changeSingleRef(f)+P.matchToken.COLON+h:m=f+P.matchToken.COLON+this._changeSingleRef(h)}else m=this._changeSingleRef(c);m=u+m;const d=m.length-a.token.length;this._formulaInputService.updateSequenceRef(r,m),this._formulaInputService.syncToEditor(n+d+1)}_changeRangeRef(e){const t=s.deserializeRangeWithSheet(e).range;let n="";return t.startAbsoluteRefType===s.AbsoluteRefType.NONE||t.startAbsoluteRefType==null?(t.startAbsoluteRefType=s.AbsoluteRefType.ALL,t.endAbsoluteRefType=s.AbsoluteRefType.ALL):(t.startAbsoluteRefType=s.AbsoluteRefType.NONE,t.endAbsoluteRefType=s.AbsoluteRefType.NONE),n=s.serializeRange(t),n}_changeSingleRef(e){const t=s.deserializeRangeWithSheet(e).range,n=t.startAbsoluteRefType;let r="";return n===s.AbsoluteRefType.NONE||n==null?(t.startAbsoluteRefType=s.AbsoluteRefType.ALL,t.endAbsoluteRefType=s.AbsoluteRefType.ALL):n===s.AbsoluteRefType.ALL?(t.startAbsoluteRefType=s.AbsoluteRefType.ROW,t.endAbsoluteRefType=s.AbsoluteRefType.ROW):n===s.AbsoluteRefType.ROW?(t.startAbsoluteRefType=s.AbsoluteRefType.COLUMN,t.endAbsoluteRefType=s.AbsoluteRefType.COLUMN):(t.startAbsoluteRefType=s.AbsoluteRefType.NONE,t.endAbsoluteRefType=s.AbsoluteRefType.NONE),r=s.serializeRange(t),r}_commandExecutedListener(){const e=[we.id];this.disposeWithMe(this._commandService.onCommandExecuted(t=>{e.includes(t.id)&&this._changeRefString()}))}_getEditorObject(){return O.getEditorObject(this._editorBridgeService.getCurrentEditorId(),this._renderManagerService)}};Ee=Ot([s.OnLifecycle(s.LifecycleStages.Steady,Ee),X(0,s.ICommandService),X(1,V.ITextSelectionRenderManager),X(2,A.Inject(O.IEditorBridgeService)),X(3,A.Inject(P.LexerTreeBuilder)),X(4,V.IRenderManagerService),X(5,se),X(6,A.Inject(oe.TextSelectionManagerService))],Ee);const Ye={id:"formula-ui.command.insert-function",type:s.CommandType.COMMAND,handler:async(i,e)=>{const{list:t}=e,n=i.get(s.ICommandService),r=new s.ObjectMatrix;t.forEach(o=>{const{range:c,primary:u,formula:m}=o,{row:d,column:p}=u,f=s.Tools.generateRandomId(6);r.setValue(d,p,{f:m,si:f});const{startRow:h,startColumn:R,endRow:S,endColumn:l}=c;for(let I=h;I<=S;I++)for(let E=R;E<=l;E++)(I!==d||E!==p)&&r.setValue(I,E,{si:f})});const a={value:r.getData()};return n.executeCommand(b.SetRangeValuesCommand.id,a)}},re={id:"formula-ui.operation.select-editor-formula",type:s.CommandType.OPERATION,handler:(i,e)=>!0},ee=A.createIdentifier("formula-ui.prompt-service");class xt{constructor(){D(this,"_search$",new G.Subject);D(this,"_help$",new G.Subject);D(this,"_navigate$",new G.Subject);D(this,"_accept$",new G.Subject);D(this,"_acceptFormulaName$",new G.Subject);D(this,"search$",this._search$.asObservable());D(this,"help$",this._help$.asObservable());D(this,"navigate$",this._navigate$.asObservable());D(this,"accept$",this._accept$.asObservable());D(this,"acceptFormulaName$",this._acceptFormulaName$.asObservable());D(this,"_searching",!1);D(this,"_helping",!1);D(this,"_isInsertRefString",!1)}dispose(){this._search$.complete(),this._help$.complete(),this._navigate$.complete(),this._accept$.complete(),this._acceptFormulaName$.complete()}search(e){this._searching=e.visible,this._search$.next(e)}isSearching(){return this._searching}help(e){this._helping=e.visible,this._help$.next(e)}isHelping(){return this._helping}navigate(e){this._navigate$.next(e)}accept(e){this._accept$.next(e)}acceptFormulaName(e){this._acceptFormulaName$.next(e)}}const Ae={id:"formula-ui.operation.help-function",type:s.CommandType.OPERATION,handler:async(i,e)=>(i.get(ee).help(e),!0)},Fe={id:"formula-ui.operation.insert-function",type:s.CommandType.OPERATION,handler:async(i,e)=>{const t=i.get(b.SelectionManagerService),n=i.get(se),r=t.getSelections();if(!r||!r.length)return!1;const a=i.get(s.IUniverInstanceService).getCurrentUniverSheetInstance(),o=a.getActiveSheet(),c=a.getUnitId(),u=o.getSheetId(),m=o.getCellMatrix(),{value:d}=e,p=i.get(s.ICommandService),f=[];let h=null,R=0,S=0;if(r.some(l=>{const{range:I,primary:E}=l,v=(E==null?void 0:E.actualRow)??I.startRow,y=(E==null?void 0:E.actualColumn)??I.startColumn,k=wt(m,v,y);if(!k)return h=I,R=v,S=y,!0;const C=s.serializeRange(k),B=`=${d}(${C})`;return f.push({range:I,primary:{row:v,column:y},formula:B}),!1}),h){const l=b.getCellAtRowCol(R,S,o),I={range:s.Rectangle.clone(h),primary:{startRow:l.startRow,startColumn:l.startColumn,endRow:l.endRow,endColumn:l.endColumn,actualRow:R,actualColumn:S,isMerged:l.isMerged,isMergedMainCell:l.startRow===R&&l.startColumn===S}},E={unitId:c,sheetId:u,pluginName:b.NORMAL_SELECTION_PLUGIN_NAME,selections:[I]};await p.executeCommand(b.SetSelectionsOperation.id,E),setTimeout(()=>{n.inputFormula(`=${d}(`)},0)}return f.length===0?!1:p.executeCommand(Ye.id,{list:f})}};function wt(i,e,t){const n=Ft(i,e,t);if(n!==e)return{startRow:n,endRow:e-1,startColumn:t,endColumn:t};const r=Lt(i,e,t);return r!==t?{startRow:e,endRow:e,startColumn:r,endColumn:t-1}:null}function Ft(i,e,t){let n=!1;if(e===0)return e;for(let r=e-1;r>=0;r--){const a=i.getValue(r,t);if(Se(a)&&!n){if(r===0)return 0;n=!0}else{if(n&&!Se(a))return r+1;if(n&&r===0)return 0}}return e}function Lt(i,e,t){let n=!1;if(t===0)return t;for(let r=t-1;r>=0;r--){const a=i.getValue(e,r);if(Se(a)&&!n){if(r===0)return 0;n=!0}else{if(n&&!Se(a))return r+1;if(n&&r===0)return 0}}return t}function Se(i){return i&&(s.Tools.isStringNumber(i.v)||s.getCellValueType(i)===s.CellValueType.NUMBER)}const Xe=`${We}_MORE_FUNCTIONS_COMPONENT`,Qe={id:"formula-ui.operation.more-functions",type:s.CommandType.OPERATION,handler:async i=>(i.get(N.ISidebarService).open({header:{title:"formula.insert.tooltip"},children:{label:Xe}}),!0)},Me={id:"formula-ui.operation.search-function",type:s.CommandType.OPERATION,handler:async(i,e)=>(i.get(ee).search(e),!0)};var Je={exports:{}},Pe={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var zt=T,Ut=Symbol.for("react.element"),Vt=Symbol.for("react.fragment"),jt=Object.prototype.hasOwnProperty,qt=zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ht={key:!0,ref:!0,__self:!0,__source:!0};function Ze(i,e,t){var r,n={},a=null,o=null;t!==void 0&&(a=""+t),e.key!==void 0&&(a=""+e.key),e.ref!==void 0&&(o=e.ref);for(r in e)jt.call(e,r)&&!Ht.hasOwnProperty(r)&&(n[r]=e[r]);if(i&&i.defaultProps)for(r in e=i.defaultProps,e)n[r]===void 0&&(n[r]=e[r]);return{$$typeof:Ut,type:i,key:a,ref:o,props:n,_owner:qt.current}}Pe.Fragment=Vt;Pe.jsx=Ze;Pe.jsxs=Ze;Je.exports=Pe;var g=Je.exports;const $t="univer-formula-error-function",Wt={formulaErrorFunction:$t};function Gt(){const[i,e]=T.useState(!1),[t,r]=T.useState({left:0,top:0}),n=L.useDependency(ee),a=L.useDependency(O.ICellEditorManagerService);return T.useEffect(()=>{const o=n.help$.subscribe(c=>{const u=a.getState();if(!u)return;const{visible:m}=c;if(!m){e(m);return}const{endX:d=0,startY:p=0}=u;r({left:d,top:p}),e(m)});return()=>{o==null||o.unsubscribe()}},[]),i?g.jsx("div",{className:Wt.formulaErrorFunction,style:{left:t.left,top:t.top}}):null}var q=function(){return q=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},q.apply(this,arguments)},Kt=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},ce=T.forwardRef(function(i,e){var t=i.icon,r=i.id,n=i.className,a=i.extend,o=Kt(i,["icon","id","className","extend"]),c="univerjs-icon univerjs-icon-".concat(r," ").concat(n||"").trim(),u=T.useRef("_".concat(Qt()));return et(t,"".concat(r),{defIds:t.defIds,idSuffix:u.current},q({ref:e,className:c},o),a)});function et(i,e,t,r,n){return T.createElement(i.tag,q(q({key:e},Yt(i,t,n)),r),(Xt(i,t).children||[]).map(function(a,o){return et(a,"".concat(e,"-").concat(i.tag,"-").concat(o),t,void 0,n)}))}function Yt(i,e,t){var r=q({},i.attrs);t!=null&&t.colorChannel1&&r.fill==="colorChannel1"&&(r.fill=t.colorChannel1);var n=e.defIds;return!n||n.length===0||(i.tag==="use"&&r["xlink:href"]&&(r["xlink:href"]=r["xlink:href"]+e.idSuffix),Object.entries(r).forEach(function(a){var o=a[0],c=a[1];typeof c=="string"&&(r[o]=c.replace(/url\(#(.*)\)/,"url(#$1".concat(e.idSuffix,")")))})),r}function Xt(i,e){var t,r=e.defIds;return!r||r.length===0?i:i.tag==="defs"&&(!((t=i.children)===null||t===void 0)&&t.length)?q(q({},i),{children:i.children.map(function(n){return typeof n.attrs.id=="string"&&r&&r.indexOf(n.attrs.id)>-1?q(q({},n),{attrs:q(q({},n.attrs),{id:n.attrs.id+e.idSuffix})}):n})}):i}function Qt(){return Math.random().toString(36).substring(2,8)}ce.displayName="UniverIcon";var Jt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M14.6152 4.52067C14.8732 4.77869 14.8732 5.19703 14.6152 5.45505L6.61862 13.4514C6.46241 13.6077 6.20915 13.6077 6.05294 13.4514L1.73512 9.13354C1.4771 8.87551 1.4771 8.45718 1.73513 8.19915C1.99315 7.94113 2.41149 7.94114 2.66951 8.19916L6.19436 11.7241C6.27247 11.8022 6.3991 11.8022 6.47721 11.7241L13.6808 4.52067C13.9388 4.26264 14.3571 4.26264 14.6152 4.52067Z",fillRule:"evenodd",clipRule:"evenodd"}}]},tt=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"check-mark-single",ref:e,icon:Jt}))});tt.displayName="CheckMarkSingle";const Zt=tt;var en={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M5.48712 4.59907C5.23328 4.34523 4.82172 4.34523 4.56788 4.59907C4.31404 4.85291 4.31404 5.26447 4.56788 5.51831L7.9973 8.94773L4.56773 12.3773C4.31389 12.6311 4.31389 13.0427 4.56773 13.2965C4.82157 13.5504 5.23313 13.5504 5.48697 13.2965L8.91654 9.86697L12.3461 13.2965C12.5999 13.5503 13.0114 13.5503 13.2653 13.2965C13.5191 13.0426 13.5191 12.6311 13.2653 12.3772L9.83577 8.94773L13.2651 5.51836C13.519 5.26452 13.519 4.85296 13.2651 4.59912C13.0113 4.34528 12.5997 4.34528 12.3459 4.59912L8.91654 8.02849L5.48712 4.59907Z"}}]},nt=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"close-single",ref:e,icon:en}))});nt.displayName="CloseSingle";const tn=nt;var nn={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"mask",attrs:{id:"mask0_102_891",style:{maskType:"alpha"},width:17,height:17,x:0,y:0,maskUnits:"userSpaceOnUse"},children:[{tag:"path",attrs:{fill:"#DCDCDC",d:"M0.51 0.5H16.51V16.5H0.51z"}}]},{tag:"g",attrs:{fill:"currentColor",mask:"url(#mask0_102_891)"},children:[{tag:"path",attrs:{d:"M9.30291 5.78907C9.30291 6.22898 8.94629 6.5856 8.50637 6.5856 8.06646 6.5856 7.70984 6.22898 7.70984 5.78907 7.70984 5.34916 8.06646 4.99254 8.50637 4.99254 8.94629 4.99254 9.30291 5.34916 9.30291 5.78907zM9.1436 8.17867C9.1436 7.82674 8.8583 7.54144 8.50637 7.54144 8.15444 7.54144 7.86915 7.82674 7.86915 8.17867V12.002C7.86915 12.354 8.15444 12.6392 8.50637 12.6392 8.8583 12.6392 9.1436 12.354 9.1436 12.002V8.17867z"}},{tag:"path",attrs:{d:"M1.49689 8.49728C1.49689 4.62605 4.63514 1.48779 8.50637 1.48779C12.3776 1.48779 15.5159 4.62605 15.5159 8.49728C15.5159 12.3685 12.3776 15.5068 8.50637 15.5068C4.63514 15.5068 1.49689 12.3685 1.49689 8.49728ZM8.50637 2.76224C5.339 2.76224 2.77134 5.32991 2.77134 8.49728C2.77134 11.6646 5.339 14.2323 8.50637 14.2323C11.6737 14.2323 14.2414 11.6646 14.2414 8.49728C14.2414 5.32991 11.6737 2.76224 8.50637 2.76224Z",fillRule:"evenodd",clipRule:"evenodd"}}]}]},rt=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"details-single",ref:e,icon:nn}))});rt.displayName="DetailsSingle";const rn=rt;var an={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M5.52628 3.57095C5.81918 3.26411 6.29405 3.26411 6.58695 3.57095L11.0869 8.28525C11.3798 8.59209 11.3798 9.08958 11.0869 9.39642L6.51623 14.04C6.22334 14.3468 5.74846 14.3468 5.45557 14.04C5.16268 13.7331 5.16268 13.2357 5.45557 12.9288L9.35939 8.979C9.43544 8.90205 9.43652 8.77857 9.36182 8.70031L5.52628 4.68212C5.23339 4.37528 5.23339 3.87779 5.52628 3.57095Z",fillRule:"evenodd",clipRule:"evenodd"}}]},it=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"more-single",ref:e,icon:an}))});it.displayName="MoreSingle";const on=it,sn="univer-formula-help-function",cn="univer-formula-help-function-title",un="univer-formula-help-function-title-icons",mn="univer-formula-help-function-title-icon",fn="univer-formula-help-function-content",ln="univer-formula-help-function-content-inner",dn="univer-formula-help-function-content-params",bn="univer-formula-help-function-content-params-title",pn="univer-formula-help-function-content-params-detail",hn="univer-formula-help-function-active",En="univer-formula-help-decorator",j={formulaHelpFunction:sn,formulaHelpFunctionTitle:cn,formulaHelpFunctionTitleIcons:un,formulaHelpFunctionTitleIcon:mn,formulaHelpFunctionContent:fn,formulaHelpFunctionContentInner:ln,formulaHelpFunctionContentParams:dn,formulaHelpFunctionContentParamsTitle:bn,formulaHelpFunctionContentParamsDetail:pn,formulaHelpFunctionActive:hn,formulaHelpDecorator:En};function Rn(){const[i,e]=T.useState(!1),[t,r]=T.useState(!0),[n,a]=T.useState(!0),[o,c]=T.useState(0),[u,m]=T.useState([0,0]),[d,p]=T.useState({left:0,top:0}),[f,h]=T.useState(null),R=L.useDependency(ee),S=L.useDependency(O.ICellEditorManagerService),l=L.useDependency(s.LocaleService),I=L.useDependency(O.IFormulaEditorManagerService),E=L.useDependency(s.IContextService),v=l.t("formula.prompt.required"),y=l.t("formula.prompt.optional");T.useEffect(()=>{const C=R.help$.subscribe(B=>{const{visible:M,paramIndex:F,functionInfo:_}=B;if(!M){e(M);return}const x=E.getContextValue(s.FOCUSING_FORMULA_EDITOR)?I.getPosition():S.getRect();if(x==null)return;const{left:H,top:U,height:K}=x,te={functionName:_.functionName,functionType:_.functionType,description:l.t(_.description),abstract:l.t(_.abstract),functionParameter:_.functionParameter.map(Y=>({name:l.t(Y.name),detail:l.t(Y.detail),example:Y.example,require:Y.require,repeat:Y.repeat}))};m([H,U+K]),c(F),h(te),p({left:H,top:U}),e(M)});return()=>{C==null||C.unsubscribe()}},[]);function k(C){c(C)}return g.jsx(g.Fragment,{children:n?g.jsx(Z.Popup,{visible:i,offset:u,children:f?g.jsxs("div",{className:j.formulaHelpFunction,children:[g.jsxs("div",{className:j.formulaHelpFunctionTitle,children:[g.jsx(gn,{prefix:f.functionName,value:f.functionParameter,active:o,onClick:k}),g.jsxs("div",{className:j.formulaHelpFunctionTitleIcons,children:[g.jsx("div",{className:j.formulaHelpFunctionTitleIcon,style:{transform:t?"rotateZ(-90deg)":"rotateZ(90deg)"},onClick:()=>r(!t),children:g.jsx(on,{})}),g.jsx("div",{className:j.formulaHelpFunctionTitleIcon,onClick:()=>a(!n),children:g.jsx(tn,{})})]})]}),g.jsx("div",{className:j.formulaHelpFunctionContent,style:{height:t?"unset":0,padding:t?"revert-layer":0},children:g.jsxs("div",{className:j.formulaHelpFunctionContentInner,children:[g.jsx(_e,{title:l.t("formula.prompt.helpExample"),value:`${f.functionName}(${f.functionParameter.map(C=>C.example).join(",")})`}),g.jsx(_e,{title:l.t("formula.prompt.helpAbstract"),value:f.description}),f&&f.functionParameter&&f.functionParameter.map((C,B)=>g.jsx(_e,{className:o===B?j.formulaHelpFunctionActive:"",title:C.name,value:`${C.require?v:y} ${C.detail}`},B))]})})]}):g.jsx(g.Fragment,{})}):i?g.jsx("div",{className:j.formulaHelpDecorator,onClick:()=>a(!n),style:{left:d.left-24,top:d.top},children:g.jsx(rn,{})}):g.jsx(g.Fragment,{})})}const _e=i=>g.jsxs("div",{className:j.formulaHelpFunctionContentParams,children:[g.jsx("div",{className:`${j.formulaHelpFunctionContentParamsTitle} ${i.className}`,children:i.title}),g.jsx("div",{className:j.formulaHelpFunctionContentParamsDetail,children:i.value})]}),gn=i=>{const{prefix:e,value:t,active:r,onClick:n}=i;return g.jsxs("div",{children:[g.jsxs("span",{children:[e,"("]}),t&&t.map((a,o)=>g.jsxs("span",{children:[g.jsx("span",{className:r===o?j.formulaHelpFunctionActive:"",onClick:()=>n(o),children:a.repeat?`[${a.name},...]`:a.name}),o===t.length-1?"":","]},o)),")"]})},In="univer-formula-search-function",vn="univer-formula-search-function-item",Sn="univer-formula-search-function-item-name",Pn="univer-formula-search-function-item-name-light",Cn="univer-formula-search-function-item-desc",Bn="univer-formula-search-function-item-active",Q={formulaSearchFunction:In,formulaSearchFunctionItem:vn,formulaSearchFunctionItemName:Sn,formulaSearchFunctionItemNameLight:Pn,formulaSearchFunctionItemDesc:Cn,formulaSearchFunctionItemActive:Bn};function kn(){const[i,e]=T.useState(!1),[t,r]=T.useState(0),[n,a]=T.useState([0,0]),[o,c]=T.useState([]),[u,m]=T.useState(""),d=L.useDependency(ee),p=L.useDependency(O.ICellEditorManagerService),f=L.useDependency(O.IFormulaEditorManagerService),h=L.useDependency(s.IContextService);T.useEffect(()=>{let l=[],I=0;const E=d.search$.subscribe(k=>{const{visible:C,searchText:B,searchList:M}=k;if(!C){e(C);return}const _=h.getContextValue(s.FOCUSING_FORMULA_EDITOR)?f.getPosition():p.getRect();if(_==null)return;const{left:w,top:x,height:H}=_;m(B),c(M),l=M,a([w,x+H]),e(C),r(0),I=0}),v=d.navigate$.subscribe(k=>{const{direction:C}=k;if(C===s.Direction.UP){let B=I-1;B=B<0?l.length-1:B,r(B),I=B}else if(C===s.Direction.DOWN){let B=I+1;B=B>=l.length?0:B,r(B),I=B}}),y=d.accept$.subscribe(k=>{const C=l[I].name;d.acceptFormulaName(C)});return()=>{E==null||E.unsubscribe(),v==null||v.unsubscribe(),y==null||y.unsubscribe()}},[]);function R(l){r(l)}function S(){r(-1)}return g.jsx(Z.Popup,{visible:i,offset:n,children:g.jsx("ul",{className:Q.formulaSearchFunction,children:o.map((l,I)=>g.jsxs("li",{className:t===I?`${Q.formulaSearchFunctionItem} ${Q.formulaSearchFunctionItemActive}`:Q.formulaSearchFunctionItem,onMouseEnter:()=>R(I),onMouseLeave:S,onClick:()=>d.acceptFormulaName(l.name),children:[g.jsxs("span",{className:Q.formulaSearchFunctionItemName,children:[g.jsx("span",{className:Q.formulaSearchFunctionItemNameLight,children:u}),g.jsx("span",{children:l.name.slice(u.length)})]}),g.jsx("span",{className:Q.formulaSearchFunctionItemDesc,children:l.desc})]},I))})})}function _n(){return g.jsxs(g.Fragment,{children:[g.jsx(kn,{}),g.jsx(Rn,{}),g.jsx(Gt,{})]})}const Dn="univer-formula-more-functions",yn="univer-formula-more-functions-operation",je={formulaMoreFunctions:Dn,formulaMoreFunctionsOperation:yn};function at(i){const{prefix:e,value:t}=i;return g.jsxs("div",{children:[g.jsxs("span",{children:[e,"("]}),t&&t.map((r,n)=>g.jsxs("span",{children:[g.jsx("span",{children:r.repeat?`[${r.name},...]`:r.name}),n===t.length-1?"":","]},n)),")"]})}const Tn="univer-formula-function-params",An="univer-formula-function-params-title",Nn="univer-formula-function-params-detail",De={formulaFunctionParams:Tn,formulaFunctionParamsTitle:An,formulaFunctionParamsDetail:Nn};function ae(i){const{className:e,value:t,title:r}=i;return g.jsxs("div",{className:De.formulaFunctionParams,children:[g.jsx("div",{className:`${De.formulaFunctionParamsTitle} ${e}`,children:r}),g.jsx("div",{className:De.formulaFunctionParamsDetail,children:t})]})}const Mn="univer-formula-input-params-list",On="univer-formula-input-params-list-item-name",xn="univer-formula-input-params-list-item-selector",ie={formulaInputParamsList:Mn,formulaInputParamsListItemName:On,formulaInputParamsListItemSelector:xn};function wn(i){const{functionInfo:e,onChange:t}=i;if(!e)return null;const[r,n]=T.useState([]),[a,o]=T.useState(e.functionParameter),[c,u]=T.useState(-1);function m(p,f){const h=[...r];h[f]=p,n(h),t(h)}function d(p){if(p===a.length-1&&a[p].repeat){const f=[...a];f.push(a[p]),o(f)}u(p)}return g.jsxs("div",{className:ie.formulaInputParams,children:[g.jsx("div",{className:ie.formulaInputParamsList,children:a.map((p,f)=>g.jsxs("div",{children:[g.jsx("div",{className:ie.formulaInputParamsListItemName,children:p.name}),g.jsx("div",{className:ie.formulaInputParamsListItemSelector,children:g.jsx(O.RangeSelector,{onChange:h=>m(h,f),onActive:()=>d(f)})})]},f))}),g.jsx("div",{className:ie.formulaInputParamsInfo,children:g.jsx(ae,{title:c===-1?g.jsx(at,{prefix:e.functionName,value:a}):a[c].name,value:c===-1?e.description:a[c].detail})})]})}const Fn=[],Ln=[],zn=[],Un=[],Vn=[],jn=[],qn=[],Hn=[],$n=[],Wn=[],Gn=[{functionName:P.FUNCTION_NAMES_MATH.SUM,aliasFunctionName:"formula.functionList.SUM.aliasFunctionName",functionType:P.FunctionType.Math,description:"formula.functionList.SUM.description",abstract:"formula.functionList.SUM.abstract",functionParameter:[{name:"formula.functionList.SUM.functionParameter.number1.name",detail:"formula.functionList.SUM.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.SUM.functionParameter.number2.name",detail:"formula.functionList.SUM.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_MATH.SUMIF,aliasFunctionName:"formula.functionList.SUMIF.aliasFunctionName",functionType:P.FunctionType.Math,description:"formula.functionList.SUMIF.description",abstract:"formula.functionList.SUMIF.abstract",functionParameter:[{name:"formula.functionList.SUMIF.functionParameter.range.name",detail:"formula.functionList.SUMIF.functionParameter.range.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.SUMIF.functionParameter.criteria.name",detail:"formula.functionList.SUMIF.functionParameter.criteria.detail",example:">5",require:1,repeat:0},{name:"formula.functionList.SUMIF.functionParameter.sum_range.name",detail:"formula.functionList.SUMIF.functionParameter.sum_range.detail",example:"B1:B20",require:0,repeat:0}]}],Kn=[{functionName:P.FUNCTION_NAMES_STATISTICAL.AVERAGE,aliasFunctionName:"formula.functionList.AVERAGE.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.AVERAGE.description",abstract:"formula.functionList.AVERAGE.abstract",functionParameter:[{name:"formula.functionList.AVERAGE.functionParameter.number1.name",detail:"formula.functionList.AVERAGE.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.AVERAGE.functionParameter.number2.name",detail:"formula.functionList.AVERAGE.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.MAX,aliasFunctionName:"formula.functionList.MAX.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.MAX.description",abstract:"formula.functionList.MAX.abstract",functionParameter:[{name:"formula.functionList.MAX.functionParameter.number1.name",detail:"formula.functionList.MAX.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.MAX.functionParameter.number2.name",detail:"formula.functionList.MAX.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.COUNT,aliasFunctionName:"formula.functionList.COUNT.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.COUNT.description",abstract:"formula.functionList.COUNT.abstract",functionParameter:[{name:"formula.functionList.COUNT.functionParameter.value1.name",detail:"formula.functionList.COUNT.functionParameter.value1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.COUNT.functionParameter.value2.name",detail:"formula.functionList.COUNT.functionParameter.value2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.MIN,aliasFunctionName:"formula.functionList.MIN.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.MIN.description",abstract:"formula.functionList.MIN.abstract",functionParameter:[{name:"formula.functionList.MIN.functionParameter.number1.name",detail:"formula.functionList.MIN.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.MIN.functionParameter.number2.name",detail:"formula.functionList.MIN.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.COUNTA,aliasFunctionName:"formula.functionList.COUNTA.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.COUNT_A.description",abstract:"formula.functionList.COUNT_A.abstract",functionParameter:[{name:"formula.functionList.COUNT_A.functionParameter.number1.name",detail:"formula.functionList.COUNT_A.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.COUNT_A.functionParameter.number2.name",detail:"formula.functionList.COUNT_A.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]}],Yn=[],Xn=[],Qn=[],Jn=[...qn,...Vn,...Gn,...Kn,...Wn,...Un,...Yn,...$n,...Hn,...jn,...zn,...Ln,...Qn,...Fn,...Xn];function Zn(i,e){return Object.keys(i).filter(t=>isNaN(Number(t))).map(t=>({label:e.t(`formula.functionType.${t.toLocaleLowerCase()}`),value:`${i[t]}`}))}function er(i,e){let t="";return i.aliasFunctionName?(t=e.t(i.aliasFunctionName),t===i.aliasFunctionName&&(t=i.functionName)):t=i.functionName,t}var tr=Object.defineProperty,nr=Object.getOwnPropertyDescriptor,rr=(i,e,t,r)=>{for(var n=r>1?void 0:r?nr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&tr(e,t,n),n},qe=(i,e)=>(t,r)=>e(t,r,i);const Le=A.createIdentifier("formula-ui.description-service");let Oe=class{constructor(i,e,t){this._description=i,this._functionService=e,this._localeService=t,this._initialize(),this._registerDescription()}dispose(){this._localeService.localeChanged$.complete()}getDescriptions(){return this._functionService.getDescriptions()}hasFunction(i){return this._functionService.getDescriptions().get(i.toLocaleUpperCase())!==void 0}getFunctionInfo(i){return this._functionService.getDescriptions().get(i.toLocaleUpperCase())}getSearchListByName(i){const e=[],t=this._functionService.getDescriptions();return i=i.toLocaleUpperCase(),t.forEach(r=>{const{functionName:n,abstract:a}=r;n.indexOf(i)>-1&&e.push({name:n,desc:a})}),e}getSearchListByType(i){const e=[];return this._functionService.getDescriptions().forEach(r=>{const{functionName:n,functionType:a,abstract:o}=r;(a===i||i===-1)&&e.push({name:n,desc:o})}),e}_initialize(){this._localeService.localeChanged$.subscribe(()=>{this._registerDescription()})}_registerDescription(){const i=this._localeService,t=Jn.concat(this._description||[]).map(r=>({functionName:er(r,i),functionType:r.functionType,description:i.t(r.description),abstract:i.t(r.abstract),functionParameter:r.functionParameter.map(n=>({name:i.t(n.name),detail:i.t(n.detail),example:n.example,require:n.require,repeat:n.repeat}))}));this._functionService.registerDescriptions(...t)}};Oe=rr([qe(1,P.IFunctionService),qe(2,A.Inject(s.LocaleService))],Oe);const ir="univer-formula-select-function-select",ar="univer-formula-select-function-result",or="univer-formula-select-function-result-item",sr="univer-formula-select-function-result-item-name-light",cr="univer-formula-select-function-result-item-selected",ur="univer-formula-select-function-result-item-active",mr="univer-formula-select-function-content",W={formulaSelectFunctionSelect:ir,formulaSelectFunctionResult:ar,formulaSelectFunctionResultItem:or,formulaSelectFunctionResultItemNameLight:sr,formulaSelectFunctionResultItemSelected:cr,formulaSelectFunctionResultItemActive:ur,formulaSelectFunctionContent:mr};function fr(i){const{onChange:e}=i,t="-1",[r,n]=T.useState(""),[a,o]=T.useState([]),[c,u]=T.useState(0),[m,d]=T.useState(t),[p,f]=T.useState(0),[h,R]=T.useState(null),S=L.useDependency(Le),l=L.useDependency(s.LocaleService),I=Zn(P.FunctionType,l);I.unshift({label:l.t("formula.moreFunctions.allFunctions"),value:t});const E=l.t("formula.prompt.required"),v=l.t("formula.prompt.optional");T.useEffect(()=>{C(t)},[]),T.useEffect(()=>{k(0)},[a]);const y=w=>{if(r.trim()==="")return w;const x=new RegExp(`(${r.toLocaleUpperCase()})`);return w.split(x).filter(Boolean).map((U,K)=>U.match(x)?g.jsx("span",{className:W.formulaSelectFunctionResultItemNameLight,children:U},K):U)},k=w=>{if(a.length===0){R(null);return}f(w);const x=S.getFunctionInfo(a[w].name);if(!x){R(null);return}R(x),e(x)};function C(w){d(w);const x=S.getSearchListByType(+w);o(x)}function B(w){n(w);const x=S.getSearchListByName(w);o(x)}function M(w){if(w.stopPropagation(),w.key==="ArrowDown"){const x=c+1;u(x===a.length?0:x)}else if(w.key==="ArrowUp"){const x=c-1;u(x===-1?a.length-1:x)}else w.key==="Enter"&&k(c)}const F=w=>{u(w)},_=()=>{u(-1)};return g.jsxs("div",{children:[g.jsxs("div",{className:W.formulaSelectFunctionSelect,children:[g.jsx(Z.Select,{value:m,options:I,onChange:C}),g.jsx(Z.Input,{placeholder:l.t("formula.moreFunctions.searchFunctionPlaceholder"),onKeyDown:M,value:r,onChange:B,size:"large",allowClear:!0})]}),g.jsx("ul",{className:W.formulaSelectFunctionResult,onKeyDown:M,tabIndex:-1,children:a.map(({name:w},x)=>g.jsxs("li",{className:c===x?`${W.formulaSelectFunctionResultItem} ${W.formulaSelectFunctionResultItemActive}`:W.formulaSelectFunctionResultItem,onMouseEnter:()=>F(x),onMouseLeave:_,onClick:()=>k(x),children:[p===x&&g.jsx(Zt,{className:W.formulaSelectFunctionResultItemSelected}),g.jsx("span",{className:W.formulaSelectFunctionResultItemName,children:y(w)})]},x))}),h&&g.jsxs("div",{className:W.formulaSelectFunctionContent,children:[g.jsx(ae,{title:h.functionName,value:h.description}),g.jsx(ae,{title:l.t("formula.moreFunctions.syntax"),value:g.jsx(at,{prefix:h.functionName,value:h.functionParameter})}),g.jsx(ae,{title:l.t("formula.prompt.helpExample"),value:`${h.functionName}(${h.functionParameter.map(w=>w.example).join(",")})`}),h.functionParameter&&h.functionParameter.map((w,x)=>g.jsx(ae,{title:w.name,value:`${w.require?E:v} ${w.detail}`},x))]})]})}function lr(){const[i,e]=T.useState(!0),[t,r]=T.useState(!1),[n,a]=T.useState([]),[o,c]=T.useState(null),u=L.useDependency(s.LocaleService);L.useDependency(N.ISidebarService);const m=L.useDependency(se);function d(){e(!i),r(!t)}function p(){m.inputFormula(`=${o==null?void 0:o.functionName}(`)}return g.jsxs("div",{className:je.formulaMoreFunctions,children:[i&&g.jsx(fr,{onChange:c}),t&&g.jsx(wn,{functionInfo:o,onChange:a}),g.jsxs("div",{className:je.formulaMoreFunctionsOperation,children:[t&&g.jsx(Z.Button,{type:"primary",size:"small",onClick:d,children:u.t("formula.moreFunctions.next")}),t&&g.jsx(Z.Button,{size:"small",onClick:d,children:u.t("formula.moreFunctions.prev")}),i&&g.jsx(Z.Button,{type:"primary",size:"small",onClick:p,children:u.t("formula.moreFunctions.confirm")})]})]})}function dr(i){return{id:Fe.id,icon:"FunctionSingle",tooltip:"formula.insert.tooltip",group:N.MenuGroup.TOOLBAR_FORMULAS_INSERT,type:N.MenuItemType.SELECTOR,positions:[N.MenuPosition.TOOLBAR_START],selections:[{label:"SUM",value:"SUM",icon:"SumSingle"},{label:"AVERAGE",value:"AVERAGE",icon:"AvgSingle"},{label:"COUNT",value:"COUNT",icon:"CntSingle"},{label:"MAX",value:"MAX",icon:"MaxSingle"},{label:"MIN",value:"MIN",icon:"MinSingle"}]}}function br(i){return{id:Qe.id,title:"formula.insert.more",positions:Fe.id,type:N.MenuItemType.BUTTON}}function pr(i){return{id:Ke.id,type:N.MenuItemType.BUTTON,title:"formula.operation.pasteFormula",positions:[O.PASTE_SPECIAL_MENU_ID]}}const ot="meta_key_ctrl_And_Shift",Ce=[N.KeyCode.ARROW_DOWN,N.KeyCode.ARROW_UP,N.KeyCode.ARROW_LEFT,N.KeyCode.ARROW_RIGHT],hr=[...Ce,N.KeyCode.ENTER,N.KeyCode.TAB];function Er(){const i=[];for(const e of hr)i.push({id:re.id,binding:e,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e}});return i}function Rr(){const i=[];for(const e of Ce)i.push({id:re.id,binding:e|N.MetaKeys.SHIFT,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e,metaKey:N.MetaKeys.SHIFT}});return i}function gr(){const i=[];for(const e of Ce)i.push({id:re.id,binding:e|N.MetaKeys.CTRL_COMMAND,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e,metaKey:N.MetaKeys.CTRL_COMMAND}});return i}function Ir(){const i=[];for(const e of Ce)i.push({id:re.id,binding:e|N.MetaKeys.SHIFT|N.MetaKeys.CTRL_COMMAND,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e,metaKey:ot}});return i}const vr={id:we.id,binding:N.KeyCode.F4,preconditions:i=>O.whenEditorInputFormulaActivated(i)};var Sr=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor,Cr=(i,e,t,r)=>{for(var n=r>1?void 0:r?Pr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Sr(e,t,n),n},ne=(i,e)=>(t,r)=>e(t,r,i);let Re=class extends s.Disposable{constructor(i,e,t,r,n,a){super(),this._injector=i,this._menuService=e,this._commandService=t,this._shortcutService=r,this._uiController=n,this._componentManager=a,this._initialize()}_initialize(){this._registerCommands(),this._registerMenus(),this._registerShortcuts(),this._registerComponents()}_registerMenus(){[dr,br,pr].forEach(i=>{this.disposeWithMe(this._menuService.addMenuItem(this._injector.invoke(i)))})}_registerCommands(){[Ye,Ke,Fe,Qe,Me,Ne,re,we].forEach(i=>this.disposeWithMe(this._commandService.registerCommand(i)))}_registerShortcuts(){[...Er(),...Rr(),...gr(),...Ir(),vr].forEach(i=>{this.disposeWithMe(this._shortcutService.registerShortcut(i))})}_registerComponents(){this.disposeWithMe(this._uiController.registerContentComponent(()=>L.connectInjector(_n,this._injector))),this._componentManager.register(Xe,lr)}};Re=Cr([s.OnLifecycle(s.LifecycleStages.Ready,Re),ne(0,A.Inject(A.Injector)),ne(1,N.IMenuService),ne(2,s.ICommandService),ne(3,N.IShortcutService),ne(4,N.IUIController),ne(5,A.Inject(N.ComponentManager))],Re);const He="formula_reference_selection_plugin_name";function ye(i,e,t){const r=i.getCurrentTheme(),n=new s.ColorKit(e).setAlpha(.05).toRgbString();return{id:t,strokeWidth:1,stroke:e,fill:n,widgets:{tl:!0,tc:!0,tr:!0,ml:!0,mr:!0,bl:!0,bc:!0,br:!0},widgetSize:6,widgetStrokeWidth:1,widgetStroke:r.colorWhite,hasAutoFill:!1,hasRowHeader:!1,hasColumnHeader:!1}}var Br=Object.defineProperty,kr=Object.getOwnPropertyDescriptor,_r=(i,e,t,r)=>{for(var n=r>1?void 0:r?kr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Br(e,t,n),n},z=(i,e)=>(t,r)=>e(t,r,i);let ge=class extends s.Disposable{constructor(e,t,r,n,a,o,c,u,m,d,p,f,h,R,S,l){super();D(this,"_formulaRefColors",[]);D(this,"_previousSequenceNodes");D(this,"_previousRangesCount",0);D(this,"_previousInsertRefStringIndex");D(this,"_currentInsertRefStringIndex",-1);D(this,"_currentUnitId");D(this,"_currentSheetId");D(this,"_arrowMoveActionState",0);D(this,"_isSelectionMovingRefSelections",[]);D(this,"_stringColor","");D(this,"_numberColor","");D(this,"_insertSelections",[]);D(this,"_inputPanelState",0);this._commandService=e,this._contextService=t,this._textSelectionRenderManager=r,this._editorBridgeService=n,this._formulaPromptService=a,this._lexerTreeBuilder=o,this._renderManagerService=c,this._themeService=u,this._selectionManagerService=m,this._sheetSkeletonManagerService=d,this._currentUniverService=p,this._selectionRenderService=f,this._descriptionService=h,this._textSelectionManagerService=R,this._formulaInputService=S,this._docViewModelManagerService=l,this._initialize()}dispose(){this._formulaRefColors=[],this._resetTemp()}_resetTemp(){this._previousSequenceNodes=null,this._previousInsertRefStringIndex=null,this._currentUnitId=null,this._currentSheetId=null,this._isSelectionMovingRefSelections=[],this._previousRangesCount=0,this._currentInsertRefStringIndex=-1}_initialize(){this._initialCursorSync(),this._initAcceptFormula(),this._initialFormulaTheme(),this._initialRefSelectionUpdateEvent(),this._initialRefSelectionInsertEvent(),this._initialExitEditor(),this._initialEditorInputChange(),this._commandExecutedListener(),this._cursorStateListener(),this._syncEditorListener()}_initialFormulaTheme(){const e=this._themeService.getCurrentTheme();this._formulaRefColors=[e.loopColor1,e.loopColor2,e.loopColor3,e.loopColor4,e.loopColor5,e.loopColor6,e.loopColor7,e.loopColor8,e.loopColor9,e.loopColor10,e.loopColor11,e.loopColor12],this._numberColor=e.hyacinth700,this._stringColor=e.verdancy800}_initialCursorSync(){this.disposeWithMe(s.toDisposable(this._textSelectionManagerService.textSelection$.subscribe(()=>{if(this._editorBridgeService.isVisible().visible===!1||this._formulaInputService.isSelectionMoving())return;const e=this._getCurrentBody(),t=(e==null?void 0:e.dataStream)||"";this._contextSwitch(t),this._changeKeepVisibleHideState(),this._switchSelectionPlugin(),!this._formulaInputService.isLockedSelectionChange()&&(this._highlightFormula(),this._changeFunctionPanelState())})))}_initialEditorInputChange(){this.disposeWithMe(s.toDisposable(this._textSelectionRenderManager.onInputBefore$.subscribe(e=>{this._previousSequenceNodes=null,this._previousInsertRefStringIndex=null,this._selectionRenderService.enableSkipRemainLast();const t=e==null?void 0:e.event;t!=null&&([N.KeyCode.ARROW_DOWN,N.KeyCode.ARROW_UP,N.KeyCode.ARROW_LEFT,N.KeyCode.ARROW_RIGHT].includes(t.which)?this._inputPanelState=2:(this._arrowMoveActionState!==1&&(this._arrowMoveActionState=2),this._inputPanelState=1))})))}_initialExitEditor(){this.disposeWithMe(s.toDisposable(this._editorBridgeService.afterVisible$.subscribe(e=>{if(e.visible===!0){const{unitId:r,sheetId:n}=this._getCurrentUnitIdAndSheetId();this._currentUnitId==null&&(this._currentUnitId=r),this._currentSheetId==null&&(this._currentSheetId=n);return}const t=this._selectionManagerService.getCurrent();if((t==null?void 0:t.pluginName)===b.NORMAL_SELECTION_PLUGIN_NAME){this._disableForceKeepVisible();return}this._selectionManagerService.clear(),this._selectionManagerService.changePlugin(b.NORMAL_SELECTION_PLUGIN_NAME),this._updateEditorModel(`\r
|
|
10
|
-
`,[]),this._contextService.setContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA,!1),this._disableForceKeepVisible(),this._selectionRenderService.resetStyle(),this._resetTemp(),this._hideFunctionPanel()})))}_initialRefSelectionUpdateEvent(){const e=new s.DisposableCollection;this.disposeWithMe(s.toDisposable(this._selectionManagerService.selectionMoveEnd$.subscribe(()=>{e.dispose();const t=this._selectionManagerService.getCurrent();if(this._formulaInputService.disableSelectionMoving(),(t==null?void 0:t.pluginName)!==He)return;this._updateRefSelectionStyle(this._isSelectionMovingRefSelections),this._selectionRenderService.getCurrentControls().forEach(n=>{n.disableHelperSelection(),e.add(s.toDisposable(n.selectionMoving$.subscribe(a=>{this._changeControlSelection(a,n)}))),e.add(s.toDisposable(n.selectionScaling$.subscribe(a=>{this._changeControlSelection(a,n)}))),e.add(s.toDisposable(n.selectionMoved$.subscribe(()=>{this._formulaInputService.disableLockedSelectionChange()}))),e.add(s.toDisposable(n.selectionScaled$.subscribe(()=>{this._formulaInputService.disableLockedSelectionChange()})))})})))}_syncEditorListener(){this.disposeWithMe(s.toDisposable(this._formulaInputService.syncToEditor$.subscribe(e=>{const{sequences:t,textSelectionOffset:r}=e;this._syncToEditor(t,r)})))}_selectionChanging(e,t=!1){if(e.length===0||!this._formulaInputService.isLockedSelectionInsert()||(this._formulaInputService.enableSelectionMoving(),this._inertControlSelection(e),t===!1))return;const r=e[e.length-1];this._inertControlSelectionReplace(r)}_initialRefSelectionInsertEvent(){this.disposeWithMe(s.toDisposable(this._selectionRenderService.selectionMoving$.subscribe(e=>{this._selectionChanging(e.map(t=>b.convertSelectionDataToRange(t)))}))),this.disposeWithMe(s.toDisposable(this._selectionRenderService.selectionMoveStart$.subscribe(e=>{this._selectionChanging(e.map(t=>b.convertSelectionDataToRange(t)),!0)})))}_initAcceptFormula(){this.disposeWithMe(s.toDisposable(this._formulaPromptService.acceptFormulaName$.subscribe(e=>{const t=this._textSelectionManagerService.getActiveRange();if(t==null){this._hideFunctionPanel();return}const{startOffset:r}=t,n=this._formulaInputService.getSequenceNodes(),a=this._formulaInputService.getCurrentSequenceNodeIndex(r-2),o=n[a];if(o==null||typeof o=="string"){this._hideFunctionPanel();return}const c=e.length-o.token.length,u={...o};u.token=e,u.endIndex+=c,n[a]=u,n.splice(a+1,0,P.matchToken.OPEN_BRACKET);const m=e.length+1;for(let d=a+2,p=n.length;d<p;d++){const f=n[d];if(typeof f=="string")continue;const h={...f};h.startIndex+=m,h.endIndex+=m,n[d]=h}this._syncToEditor(n,u.endIndex+2)})))}_changeFunctionPanelState(){const e=this._textSelectionManagerService.getActiveRange();if(e==null){this._hideFunctionPanel();return}const{startOffset:t}=e,r=this._formulaInputService.getCurrentSequenceNode(t-2);if(r==null){this._hideFunctionPanel();return}if(typeof r!="string"&&r.nodeType===P.sequenceNodeType.FUNCTION){const m=r.token.toUpperCase();if(this._inputPanelState===1){const d=this._descriptionService.getSearchListByName(m);if(this._hideFunctionPanel(),d==null||d.length===0)return;this._commandService.executeCommand(Me.id,{visible:!0,searchText:m,searchList:d})}else this._descriptionService.hasFunction(m)&&this._changeHelpFunctionPanelState(m,-1);return}const n=this._getCurrentBody(),a=(n==null?void 0:n.dataStream)||"",o=this._lexerTreeBuilder.getFunctionAndParameter(a,t-1);if(o==null){this._hideFunctionPanel();return}const{functionName:c,paramIndex:u}=o;this._changeHelpFunctionPanelState(c.toUpperCase(),u)}_changeHelpFunctionPanelState(e,t){const r=this._descriptionService.getFunctionInfo(e);this._hideFunctionPanel(),r!=null&&this._commandService.executeCommand(Ne.id,{visible:!0,paramIndex:t,functionInfo:r})}_hideFunctionPanel(){this._commandService.executeCommand(Me.id,{visible:!1,searchText:""}),this._commandService.executeCommand(Ne.id,{visible:!1,paramIndex:-1})}_changeKeepVisibleHideState(){if(this._getContextState()===!1){this._disableForceKeepVisible();return}const e=this._getCurrentChar();if(e==null){this._disableForceKeepVisible();return}this._matchRefDrawToken(e)?(this._editorBridgeService.enableForceKeepVisible(),this._formulaInputService.enableLockedSelectionInsert(),this._selectionRenderService.enableRemainLast(),this._arrowMoveActionState!==1&&(this._arrowMoveActionState=2)):this._disableForceKeepVisible()}_matchRefDrawToken(e){return P.isFormulaLexerToken(e)&&e!==P.matchToken.CLOSE_BRACES&&e!==P.matchToken.CLOSE_BRACKET&&e!==P.matchToken.SINGLE_QUOTATION&&e!==P.matchToken.DOUBLE_QUOTATION||e===" "}_getCurrentChar(){const e=this._textSelectionManagerService.getActiveRange();if(e==null)return;const{startOffset:t}=e,r=this._getCurrentBody();return r==null||t==null?void 0:r.dataStream[t-1]}_disableForceKeepVisible(){this._editorBridgeService.disableForceKeepVisible(),this._formulaInputService.disableLockedSelectionInsert(),this._currentInsertRefStringIndex=-1,this._selectionRenderService.disableRemainLast(),this._arrowMoveActionState===2&&(this._arrowMoveActionState=4)}_getCurrentBody(){var r;const e=this._editorBridgeService.getCurrentEditorId();if(e==null)return;const t=this._currentUniverService.getUniverDocInstance(e);return(r=t==null?void 0:t.snapshot)==null?void 0:r.body}_getFormulaAndCellEditorBody(){return[s.DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,s.DOCS_NORMAL_EDITOR_UNIT_ID_KEY].map(t=>{const r=this._currentUniverService.getUniverDocInstance(t);return r==null?void 0:r.getBody()})}_contextSwitch(e){if(s.isFormulaString(e)){this._contextService.setContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA,!0);const t=this._lexerTreeBuilder.sequenceNodesBuilder(e.replace(/\r/g,"").replace(/\n/g,""))||[];this._formulaInputService.setSequenceNodes(t);const r=this._textSelectionManagerService.getActiveRange();if(r==null)return;const{startOffset:n}=r;this._currentInsertRefStringIndex=n-1}else this._contextService.setContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA,!1),this._formulaInputService.disableLockedSelectionChange(),this._formulaInputService.disableLockedSelectionInsert(),this._formulaInputService.clearSequenceNodes(),this._hideFunctionPanel()}_getContextState(){return this._contextService.getContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA)}_switchSelectionPlugin(){if(this._getContextState()===!0){this._selectionManagerService.changePluginNoRefresh(He);const e=b.getNormalSelectionStyle(this._themeService);e.strokeDash=8,e.hasAutoFill=!1,e.hasRowHeader=!1,e.hasColumnHeader=!1,this._selectionRenderService.setStyle(e)}else this._selectionManagerService.changePluginNoRefresh(b.NORMAL_SELECTION_PLUGIN_NAME),this._selectionRenderService.resetStyle()}_highlightFormula(){if(this._getContextState()===!1)return;const e=this._formulaInputService.getSequenceNodes(),t=this._getFormulaAndCellEditorBody().filter(r=>!!r);if(this._selectionManagerService.clear(),e==null||e.length===0)t.forEach(r=>r.textRuns=[]);else{const{textRuns:r,refSelections:n}=this._buildTextRuns(e);t.forEach(a=>a.textRuns=r),this._refreshSelectionForReference(n)}this._refreshFormulaAndCellEditor()}_buildTextRuns(e){const t=[],r=[];let n=0;for(let a=0,o=e.length;a<o;a++){const c=e[a];if(typeof c=="string")continue;const{startIndex:u,endIndex:m,nodeType:d,token:p}=c;let f="";if(d===P.sequenceNodeType.REFERENCE){const h=n%this._formulaRefColors.length;f=this._formulaRefColors[h],r.push({refIndex:a,themeColor:f,token:p}),n++}else d===P.sequenceNodeType.NUMBER?f=this._numberColor:d===P.sequenceNodeType.STRING?f=this._stringColor:d===P.sequenceNodeType.ARRAY&&(f=this._stringColor);f&&f.length>0&&t.push({st:u+1,ed:m+2,ts:{cl:{rgb:f}}})}return{textRuns:t,refSelections:r}}_refreshSelectionForReference(e){var u;const{unitId:t,sheetId:r}=this._getCurrentUnitIdAndSheetId(),n=[],a=this._currentUniverService.getUniverSheetInstance(t);if((a==null?void 0:a.getSheetBySheetId(r))==null)return;let c=null;for(let m=0,d=e.length;m<d;m++){const p=e[m],{themeColor:f,token:h,refIndex:R}=p,S=s.deserializeRangeWithSheet(h),{unitId:l,sheetName:I,range:E}=S;if(l!=null&&l.length>0&&t!==l)continue;const v=this._getSheetIdByName(t,I.trim());if(I.length!==0&&v!==r)continue;const y=(u=this._insertSelections.find(k=>{const{startRow:C,startColumn:B,endRow:M,endColumn:F}=k.range;return C===E.startRow&&B===E.startColumn&&M===E.endRow&&F===E.endColumn||C===E.startRow&&B===E.startColumn&&E.startRow===E.endRow&&E.startColumn===E.endColumn}))==null?void 0:u.primary;if(y!=null){const{isMerged:k,isMergedMainCell:C,startRow:B,endRow:M,startColumn:F,endColumn:_}=y;(k||C)&&B===E.startRow&&F===E.startColumn&&E.startRow===E.endRow&&E.startColumn===E.endColumn&&(E.endRow=M,E.endColumn=_),c={range:E,primary:y,style:ye(this._themeService,f,R.toString())};continue}n.push({range:E,primary:y,style:ye(this._themeService,f,R.toString())})}c&&n.push(c),n.length!==0&&this._selectionManagerService.add(n)}_getSheetIdByName(e,t){var n;const r=this._currentUniverService.getUniverSheetInstance(e);return(n=r==null?void 0:r.getSheetBySheetName(P.normalizeSheetName(t)))==null?void 0:n.getSheetId()}_getSheetNameById(e,t){var a;const r=this._currentUniverService.getUniverSheetInstance(e);let n=((a=r==null?void 0:r.getSheetBySheetId(t))==null?void 0:a.getName())||"";return n.length>0&&P.includeFormulaLexerToken(n)&&(n=`'${n}'`),n}_getCurrentUnitIdAndSheetId(){const e=this._sheetSkeletonManagerService.getCurrent();if(e==null){const a=this._currentUniverService.getCurrentUniverSheetInstance(),o=a.getActiveSheet();return{unitId:a.getUnitId(),sheetId:o.getSheetId()}}const{unitId:t,sheetId:r,skeleton:n}=e;return{unitId:t,sheetId:r,skeleton:n}}_getRefString(e){const{unitId:t,sheetId:r}=this._getCurrentUnitIdAndSheetId();let n="",a="";t===this._currentUnitId?n="":n=t,r===this._currentSheetId?a="":a=this._getSheetNameById(t,r);const{range:o,primary:c}=e;let{startRow:u,endRow:m,startColumn:d,endColumn:p}=o;if(c){const{isMerged:f,isMergedMainCell:h,startRow:R,endRow:S,startColumn:l,endColumn:I}=c;(f||h)&&R===u&&l===d&&S===m&&I===p&&(u=R,d=l,m=R,p=l)}return s.serializeRangeToRefString({sheetName:a,unitId:n,range:{startRow:u,endRow:m,startColumn:d,endColumn:p}})}async _syncToEditor(e,t,r=!0){const n=P.generateStringWithSequence(e),{textRuns:a,refSelections:o}=this._buildTextRuns(e);this._isSelectionMovingRefSelections=o;const c=this._textSelectionManagerService.getActiveRange();if(c==null)return;const{collapsed:u,style:m}=c;this._currentInsertRefStringIndex=t,await this._fitEditorSize(),r?this._commandService.executeCommand(oe.ReplaceContentCommand.id,{unitId:this._editorBridgeService.getCurrentEditorId(),body:{dataStream:`=${n}`,textRuns:a},textRanges:[{startOffset:t+1,endOffset:t+1,collapsed:u,style:m}],segmentId:null}):(this._updateEditorModel(`=${n}\r
|
|
11
|
-
`,a),this._textSelectionManagerService.replaceTextRanges([{startOffset:t+1,endOffset:t+1,style:m}]))}async _fitEditorSize(){const e=this._editorBridgeService.getCurrentEditorId();e!=null&&await this._commandService.syncExecuteCommand(O.SetEditorResizeOperation.id,{unitId:e})}_updateEditorModel(e,t){const r=this._editorBridgeService.getCurrentEditorId();if(r==null)return;const n=this._currentUniverService.getUniverDocInstance(r),a=this._docViewModelManagerService.getViewModel(r);if(a==null||n==null)return;const o=n==null?void 0:n.getSnapshot();if(o==null)return;const c={dataStream:e,textRuns:t};o.body=c,a.reset(n)}_inertControlSelectionReplace(e){this._previousSequenceNodes==null&&(this._previousSequenceNodes=this._formulaInputService.getSequenceNodes()),this._previousInsertRefStringIndex==null&&(this._previousInsertRefStringIndex=this._currentInsertRefStringIndex);const t=s.Tools.deepClone(this._previousSequenceNodes);if(t==null)return;const r=this._getRefString(e);this._formulaInputService.setSequenceNodes(t),this._formulaInputService.insertSequenceRef(this._previousInsertRefStringIndex,r),this._syncToEditor(t,this._previousInsertRefStringIndex+r.length);const n=this._selectionRenderService.getSelectionDataWithStyle();this._insertSelections=[],n.forEach(a=>{const o=b.convertSelectionDataToRange(a);this._insertSelections.push(o)})}_inertControlSelection(e){const t=e[e.length-1];if((e.length===this._previousRangesCount||this._previousRangesCount===0)&&this._previousSequenceNodes!=null)this._inertControlSelectionReplace(t);else{let r=this._formulaInputService.getSequenceNodes();if(r==null)return;const n=this._getCurrentChar();if(n==null)return;this._previousInsertRefStringIndex=this._currentInsertRefStringIndex,this._matchRefDrawToken(n)||(this._formulaInputService.insertSequenceString(this._currentInsertRefStringIndex,P.matchToken.COMMA),r=this._formulaInputService.getSequenceNodes(),this._previousInsertRefStringIndex+=1),this._previousSequenceNodes=s.Tools.deepClone(r);const a=this._getRefString(t);this._formulaInputService.setSequenceNodes(r),this._formulaInputService.insertSequenceRef(this._previousInsertRefStringIndex,a),this._selectionRenderService.disableSkipRemainLast()}this._arrowMoveActionState=2,this._previousRangesCount=e.length}_updateRefSelectionStyle(e){const t=this._selectionRenderService.getCurrentControls(),{unitId:r,sheetId:n}=this._getCurrentUnitIdAndSheetId();for(let a=0,o=e.length;a<o;a++){const c=e[a],{refIndex:u,themeColor:m,token:d}=c,p=s.deserializeRangeWithSheet(d),{unitId:f,sheetName:h,range:R}=p;if(f!=null&&f.length>0&&r!==f)continue;const S=this._getSheetIdByName(r,h.trim());if(S!=null&&S!==n)continue;const l=t.find(E=>{const{startRow:v,startColumn:y,endRow:k,endColumn:C}=E.getRange();return v===R.startRow&&y===R.startColumn&&k===R.endRow&&C===R.endColumn||v===R.startRow&&y===R.startColumn&&R.startRow===R.endRow&&R.startColumn===R.endColumn});if(l==null)continue;const I=ye(this._themeService,m,u.toString());l.updateStyle(I)}}_changeControlSelection(e,t){var l;if(!e)return;const{unitId:r,sheetId:n,skeleton:a}=this._getCurrentUnitIdAndSheetId();this._formulaInputService.enableLockedSelectionChange();const o=(l=t.selectionStyle)==null?void 0:l.id;if(o==null||!s.Tools.isStringNumber(o))return;let{startRow:c,endRow:u,startColumn:m,endColumn:d}=e;const p=V.getCellInfoInMergeData(c,m,a==null?void 0:a.mergeData);if(p){const{isMerged:I,isMergedMainCell:E,startRow:v,endRow:y,startColumn:k,endColumn:C}=p;(I||E)&&v===c&&k===m&&y===u&&C===d&&(c=v,m=k,u=v,d=k)}const f=this._getRefString({range:{startRow:c,endRow:u,startColumn:m,endColumn:d},primary:p,style:null}),h=Number(o);this._formulaInputService.updateSequenceRef(h,f);const R=this._formulaInputService.getSequenceNodes(),S=R[h];typeof S!="string"&&(this._syncToEditor(R,S.endIndex+1),t.update(e))}_refreshFormulaAndCellEditor(){var t;const e=[s.DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,s.DOCS_NORMAL_EDITOR_UNIT_ID_KEY];for(const r of e){const n=O.getEditorObject(r,this._renderManagerService),a=n==null?void 0:n.document;a!=null&&((t=a.getSkeleton())==null||t.calculate(),a.makeDirty())}}_cursorStateListener(){const e=this._getEditorObject();if(e==null)return;const{document:t}=e;this.disposeWithMe(s.toDisposable(t.onPointerDownObserver.add(()=>{this._arrowMoveActionState=1,this._inputPanelState=3})))}_commandExecutedListener(){const e=[re.id];this.disposeWithMe(this._commandService.onCommandExecuted(t=>{if(e.includes(t.id)){const r=t.params,{keycode:n,metaKey:a}=r;if(n===N.KeyCode.ENTER){if(this._formulaPromptService.isSearching()){this._formulaPromptService.accept(!0);return}this._editorBridgeService.changeVisible({visible:!1,eventType:V.DeviceInputEventType.Keyboard,keycode:n}),this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:s.Direction.DOWN});return}if(n===N.KeyCode.TAB){if(this._formulaPromptService.isSearching()){this._formulaPromptService.accept(!0);return}this._editorBridgeService.changeVisible({visible:!1,eventType:V.DeviceInputEventType.Keyboard,keycode:n}),this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:s.Direction.RIGHT});return}if(this._formulaPromptService.isSearching()){if(n===N.KeyCode.ARROW_DOWN){this._formulaPromptService.navigate({direction:s.Direction.DOWN});return}if(n===N.KeyCode.ARROW_UP){this._formulaPromptService.navigate({direction:s.Direction.UP});return}}if(this._arrowMoveActionState===1){this._moveInEditor(n);return}if(this._arrowMoveActionState===4){this._editorBridgeService.changeVisible({visible:!1,eventType:V.DeviceInputEventType.Keyboard,keycode:n});return}if(this._arrowMoveActionState===2&&(this._arrowMoveActionState=3),(this._selectionManagerService.getSelectionRanges()||[]).length===0){const d=this._selectionManagerService.getLastByPlugin(b.NORMAL_SELECTION_PLUGIN_NAME);if(d!=null){const p=s.Tools.deepClone(d);this._selectionManagerService.add([p])}}let c=s.Direction.DOWN;n===N.KeyCode.ARROW_DOWN?c=s.Direction.DOWN:n===N.KeyCode.ARROW_UP?c=s.Direction.UP:n===N.KeyCode.ARROW_LEFT?c=s.Direction.LEFT:n===N.KeyCode.ARROW_RIGHT&&(c=s.Direction.RIGHT),a===N.MetaKeys.CTRL_COMMAND?this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:c,jumpOver:O.JumpOver.moveGap}):a===N.MetaKeys.SHIFT?this._commandService.executeCommand(O.ExpandSelectionCommand.id,{direction:c}):a===ot?this._commandService.executeCommand(O.ExpandSelectionCommand.id,{direction:c,jumpOver:O.JumpOver.moveGap}):this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:c});const u=this._selectionManagerService.getSelections()||[],m=u[u.length-1];this._inertControlSelectionReplace(m)}}))}_moveInEditor(e){if(e==null)return;let t=s.Direction.LEFT;e===N.KeyCode.ARROW_DOWN?t=s.Direction.DOWN:e===N.KeyCode.ARROW_UP?t=s.Direction.UP:e===N.KeyCode.ARROW_RIGHT&&(t=s.Direction.RIGHT),this._commandService.executeCommand(oe.MoveCursorOperation.id,{direction:t})}_getEditorObject(){return O.getEditorObject(this._editorBridgeService.getCurrentEditorId(),this._renderManagerService)}};ge=_r([s.OnLifecycle(s.LifecycleStages.Steady,ge),z(0,s.ICommandService),z(1,s.IContextService),z(2,V.ITextSelectionRenderManager),z(3,A.Inject(O.IEditorBridgeService)),z(4,A.Inject(ee)),z(5,A.Inject(P.LexerTreeBuilder)),z(6,V.IRenderManagerService),z(7,A.Inject(s.ThemeService)),z(8,A.Inject(b.SelectionManagerService)),z(9,A.Inject(O.SheetSkeletonManagerService)),z(10,s.IUniverInstanceService),z(11,A.Inject(O.ISelectionRenderService)),z(12,A.Inject(Le)),z(13,A.Inject(oe.TextSelectionManagerService)),z(14,se),z(15,A.Inject(oe.DocViewModelManagerService))],ge);var Dr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,Tr=(i,e,t,r)=>{for(var n=r>1?void 0:r?yr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Dr(e,t,n),n},$e=(i,e)=>(t,r)=>e(t,r,i);let Ie=class extends s.Disposable{constructor(e,t){super();D(this,"_waitingCommandQueue",[]);D(this,"_executingCommandQueue",[]);D(this,"_setTimeoutKey",-1);D(this,"_startExecutionTime",0);this._commandService=e,this._activeDirtyManagerService=t,this._initialize()}_initialize(){this._commandExecutedListener(),this._initialExecuteFormulaProcessListener(),this._initialExecuteFormula()}_commandExecutedListener(){this.disposeWithMe(this._commandService.onCommandExecuted((e,t)=>{if(this._activeDirtyManagerService.get(e.id)){if(e.id===b.SetRangeValuesMutation.id){const r=e.params;if(t&&t.onlyLocal===!0||r.trigger===b.SetStyleCommand.id||r.trigger===b.SetBorderCommand.id)return}this._waitingCommandQueue.push(e),clearTimeout(this._setTimeoutKey),this._setTimeoutKey=setTimeout(()=>{this._commandService.executeCommand(P.SetFormulaCalculationStartMutation.id,{...this._generateDirty(this._waitingCommandQueue)},{local:!0}),this._startExecutionTime=performance.now(),this._executingCommandQueue=this._waitingCommandQueue,this._waitingCommandQueue=[]},100)}}))}_generateDirty(e){const t=[],r={},n={};for(const a of e){const o=this._activeDirtyManagerService.get(a.id);if(o==null)continue;const c=o.getDirtyData(a),{dirtyRanges:u,dirtyNameMap:m,dirtyUnitFeatureMap:d}=c;u!=null&&t.push(...u),m!=null&&this._mergeDirtyNameMap(r,m),d!=null&&this._mergeDirtyUnitFeatureMap(n,d)}return{dirtyRanges:t,dirtyNameMap:r,dirtyUnitFeatureMap:n}}_mergeDirtyNameMap(e,t){Object.keys(t).forEach(r=>{e[r]==null&&(e[r]={}),Object.keys(t[r]).forEach(n=>{e[r][n]=t[r][n]})})}_mergeDirtyUnitFeatureMap(e,t){Object.keys(t).forEach(r=>{e[r]==null&&(e[r]={}),Object.keys(t[r]).forEach(n=>{e[r][n]==null&&(e[r][n]={}),Object.keys(t[r][n]).forEach(a=>{e[r][n][a]=t[r][n][a]})})})}_initialExecuteFormulaProcessListener(){this.disposeWithMe(this._commandService.onCommandExecuted(e=>{if(e.id!==P.SetFormulaCalculationNotificationMutation.id)return;const t=e.params;if(t.stageInfo!=null){const{totalFormulasToCalculate:r,completedFormulasCount:n,totalArrayFormulasToCalculate:a,completedArrayFormulasCount:o,stage:c}=t.stageInfo;a>0?console.log(`Stage ${c} Array formula.There are ${a} functions to be executed, ${o} complete.`):console.log(`Stage ${c} .There are ${r} functions to be executed, ${n} complete.`)}else{const r=t.functionsExecutedState;let n="";switch(r){case P.FormulaExecutedStateType.NOT_EXECUTED:n="No tasks are being executed anymore",this._waitingCommandQueue.unshift(...this._executingCommandQueue),this._executingCommandQueue=[];break;case P.FormulaExecutedStateType.STOP_EXECUTION:n="The execution of the formula has been stopped",this._waitingCommandQueue.unshift(...this._executingCommandQueue),this._executingCommandQueue=[];break;case P.FormulaExecutedStateType.SUCCESS:n=`Formula calculation succeeded, Total time consumed: ${performance.now()-this._startExecutionTime} ms`,this._executingCommandQueue=[];break;case P.FormulaExecutedStateType.INITIAL:n="Waiting for calculation",this._executingCommandQueue=[];break}console.log(`execution result${n}`)}}))}_initialExecuteFormula(){this._commandService.executeCommand(P.SetFormulaCalculationStartMutation.id,{commands:[],forceCalculation:!0},{local:!0})}};Ie=Tr([s.OnLifecycle(s.LifecycleStages.Ready,Ie),$e(0,s.ICommandService),$e(1,xe)],Ie);function fe(i,e,t,r,n){const{id:a}=e;if(st(i,t,r))return i;const o=new s.ObjectMatrix(i[t][r]);switch(a){case b.MoveRangeCommand.id:Ar(o,e);break;case b.MoveRowsCommand.id:Nr(o,e,n);break;case b.MoveColsCommand.id:Mr(o,e,n);break;case b.InsertRowCommand.id:Or(o,e);break;case b.InsertColCommand.id:xr(o,e);break;case b.InsertRangeMoveRightCommand.id:wr(o,e);break;case b.InsertRangeMoveDownCommand.id:Fr(o,e);break;case b.RemoveRowCommand.id:Lr(o,e);break;case b.RemoveColCommand.id:zr(o,e);break;case b.DeleteRangeMoveUpCommand.id:Ur(o,e);break;case b.DeleteRangeMoveLeftCommand.id:Vr(o,e);break}return i}function Ar(i,e){const{params:t}=e;if(!t)return;const{fromRange:r,toRange:n}=t,{startRow:a,endRow:o,startColumn:c,endColumn:u}=r,{startRow:m,endRow:d,startColumn:p,endColumn:f}=n,h=new s.ObjectMatrix;for(let R=a;R<=o;R++)for(let S=c;S<=u;S++){const l=i.getValue(R,S);h.setValue(R-a,S-c,l),i.setValue(R,S,null)}for(let R=m;R<=d;R++)for(let S=p;S<=f;S++){const l=h.getValue(R-m,S-p);i.setValue(R,S,l)}}function Nr(i,e,t){const{params:r}=e;if(!r)return;const{fromRow:n,toRow:a}=r,o=t==null?void 0:t.filter(d=>d.range.rangeType===s.RANGE_TYPE.ROW&&d.range.startRow<=n&&n<=d.range.endRow);if((o==null?void 0:o.length)!==1)return;const c=o[0].range,u=c.startRow,m=c.endRow-c.startRow+1;i.moveRows(u,m,a)}function Mr(i,e,t){const{params:r}=e;if(!r)return;const{fromCol:n,toCol:a}=r,o=t==null?void 0:t.filter(d=>d.range.rangeType===s.RANGE_TYPE.COLUMN&&d.range.startColumn<=n&&n<=d.range.endColumn);if((o==null?void 0:o.length)!==1)return;const c=o[0].range,u=c.startColumn,m=c.endColumn-c.startColumn+1;i.moveColumns(u,m,a)}function Or(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,r,n,a,s.Dimension.ROWS)}function xr(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,r,n,a,s.Dimension.COLUMNS)}function wr(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,r,n,a,s.Dimension.COLUMNS)}function Fr(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,r,n,a,s.Dimension.ROWS)}function Lr(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,r,n,a,s.Dimension.ROWS)}function zr(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,r,n,a,s.Dimension.COLUMNS)}function Ur(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,r,n,a,s.Dimension.ROWS)}function Vr(i,e){const{params:t}=e;if(!t)return;const{range:r}=t,n=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,r,n,a,s.Dimension.COLUMNS)}function jr(i,e,t){if(st(i,e,t))return i;const r=new s.ObjectMatrix(i[e][t]);return r.forValue((n,a,o)=>{const{startRow:c,startColumn:u,endRow:m,endColumn:d}=o;if(n===c&&a===u)return;const p=m-c,f=d-u,h={startRow:n,startColumn:a,endRow:n+p,endColumn:a+f};r.setValue(n,a,h)}),i}function st(i,e,t){return i==null||i[e]==null||i[e][t]==null}var qr=Object.defineProperty,Hr=Object.getOwnPropertyDescriptor,$r=(i,e,t,r)=>{for(var n=r>1?void 0:r?Hr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&qr(e,t,n),n},J=(i,e)=>(t,r)=>e(t,r,i);let ve=class extends s.Disposable{constructor(i,e,t,r,n,a,o){super(),this._currentUniverService=i,this._commandService=e,this._lexerTreeBuilder=t,this._formulaDataModel=r,this._sheetInterceptorService=n,this._selectionManagerService=a,this._injector=o,this._initialize()}_initialize(){this._commandExecutedListener()}_commandExecutedListener(){this.disposeWithMe(this._sheetInterceptorService.interceptCommand({getMutations:i=>this._getUpdateFormula(i)})),this.disposeWithMe(this._commandService.onCommandExecuted((i,e)=>{if(i.params)if(i.id===b.SetRangeValuesMutation.id){const t=i.params;if(e&&e.onlyLocal===!0||t.trigger===b.SetStyleCommand.id||t.trigger===b.SetBorderCommand.id)return;this._handleSetRangeValuesMutation(t,e)}else i.id===b.RemoveSheetMutation.id?this._handleRemoveSheetMutation(i.params):i.id===b.InsertSheetMutation.id&&this._handleInsertSheetMutation(i.params)}))}_handleSetRangeValuesMutation(i,e){const{subUnitId:t,unitId:r,cellValue:n}=i;e&&e.onlyLocal===!0||n==null||(this._formulaDataModel.updateFormulaData(r,t,n),this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:this._formulaDataModel.getFormulaData()},{local:!0}))}_handleRemoveSheetMutation(i){const{subUnitId:e,unitId:t}=i,r=this._formulaDataModel.getFormulaData();delete r[t][e];const n=this._formulaDataModel.getArrayFormulaRange();delete n[t][e];const a=this._formulaDataModel.getArrayFormulaCellData();delete a[t][e],this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:r}),this._commandService.executeCommand(P.SetArrayFormulaDataMutation.id,{arrayFormulaRange:n,arrayFormulaCellData:a})}_handleInsertSheetMutation(i){const{sheet:e,unitId:t}=i,r=this._formulaDataModel.getFormulaData(),{id:n,cellData:a}=e,o=new s.ObjectMatrix(a);P.initSheetFormulaData(r,t,n,o),this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:r})}_getUpdateFormula(i){const{id:e}=i;let t=null;switch(e){case b.MoveRangeCommand.id:t=this._handleMoveRange(i);break;case b.MoveRowsCommand.id:t=this._handleMoveRows(i);break;case b.MoveColsCommand.id:t=this._handleMoveCols(i);break;case b.InsertRowCommand.id:t=this._handleInsertRow(i);break;case b.InsertColCommand.id:t=this._handleInsertCol(i);break;case b.InsertRangeMoveRightCommand.id:t=this._handleInsertRangeMoveRight(i);break;case b.InsertRangeMoveDownCommand.id:t=this._handleInsertRangeMoveDown(i);break;case b.RemoveRowCommand.id:t=this._handleRemoveRow(i);break;case b.RemoveColCommand.id:t=this._handleRemoveCol(i);break;case b.DeleteRangeMoveUpCommand.id:t=this._handleDeleteRangeMoveUp(i);break;case b.DeleteRangeMoveLeftCommand.id:t=this._handleDeleteRangeMoveLeft(i);break;case b.SetWorksheetNameCommand.id:t=this._handleSetWorksheetName(i);break}if(t){const{unitSheetNameMap:r}=this._formulaDataModel.getCalculateData();let n=this._formulaDataModel.getFormulaData();const a=this._getFormulaReferenceMoveInfo(n,r,t),o=this._currentUniverService.getCurrentUniverSheetInstance(),c=o.getUnitId(),u=o.getActiveSheet().getSheetId(),m=this._selectionManagerService.getSelections(),d=this._formulaDataModel.getArrayFormulaRange(),p=this._formulaDataModel.getArrayFormulaCellData();let f=fe(d,i,c,u,m);f=jr(f,c,u);const h=fe(p,i,c,u,m);this._commandService.executeCommand(P.SetArrayFormulaDataMutation.id,{arrayFormulaRange:f,arrayFormulaCellData:h},{local:!0}),n=fe(n,i,c,u,m);const R=fe(a,i,c,u,m);return this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:this._formulaDataModel.getFormulaData()}),this._getUpdateFormulaMutations(n,R)}return{undos:[],redos:[]}}_handleMoveRange(i){const{params:e}=i;if(!e)return null;const{fromRange:t,toRange:r}=e;if(!t||!r)return null;const{unitId:n,sheetId:a}=this._getCurrentSheetInfo();return{type:0,from:t,to:r,unitId:n,sheetId:a}}_handleMoveRows(i){const{params:e}=i;if(!e)return null;const{fromRow:t,toRow:r}=e,n=this._currentUniverService.getCurrentUniverSheetInstance(),a=n.getUnitId(),o=n.getActiveSheet(),c=o.getSheetId(),u={startRow:t,startColumn:0,endRow:t,endColumn:o.getColumnCount()-1,rangeType:s.RANGE_TYPE.ROW},m={startRow:r,startColumn:0,endRow:r,endColumn:o.getColumnCount()-1,rangeType:s.RANGE_TYPE.ROW};return{type:0,from:u,to:m,unitId:a,sheetId:c}}_handleMoveCols(i){const{params:e}=i;if(!e)return null;const{fromCol:t,toCol:r}=e,n=this._currentUniverService.getCurrentUniverSheetInstance(),a=n.getUnitId(),o=n.getActiveSheet(),c=o.getSheetId(),u={startRow:0,startColumn:t,endRow:o.getRowCount()-1,endColumn:t,rangeType:s.RANGE_TYPE.COLUMN},m={startRow:0,startColumn:r,endRow:o.getRowCount()-1,endColumn:r,rangeType:s.RANGE_TYPE.COLUMN};return{type:0,from:u,to:m,unitId:a,sheetId:c}}_handleInsertRow(i){const{params:e}=i;if(!e)return null;const{range:t,unitId:r,subUnitId:n}=e;return{type:1,ranges:[t],unitId:r,sheetId:n}}_handleInsertCol(i){const{params:e}=i;if(!e)return null;const{range:t,unitId:r,subUnitId:n}=e;return{type:2,ranges:[t],unitId:r,sheetId:n}}_handleInsertRangeMoveRight(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:r,sheetId:n}=this._getCurrentSheetInfo();return{type:8,range:t,unitId:r,sheetId:n}}_handleInsertRangeMoveDown(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:r,sheetId:n}=this._getCurrentSheetInfo();return{type:7,range:t,unitId:r,sheetId:n}}_handleRemoveRow(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:r,sheetId:n}=this._getCurrentSheetInfo();return{type:3,range:t,unitId:r,sheetId:n}}_handleRemoveCol(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:r,sheetId:n}=this._getCurrentSheetInfo();return{type:4,range:t,unitId:r,sheetId:n}}_handleDeleteRangeMoveUp(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:r,sheetId:n}=this._getCurrentSheetInfo();return{type:6,range:t,unitId:r,sheetId:n}}_handleDeleteRangeMoveLeft(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:r,sheetId:n}=this._getCurrentSheetInfo();return{type:5,range:t,unitId:r,sheetId:n}}_handleSetWorksheetName(i){const{params:e}=i;if(!e)return null;const{unitId:t,subUnitId:r,name:n}=e,{unitId:a,sheetId:o}=this._getCurrentSheetInfo();return{type:9,unitId:t||a,sheetId:r||o,sheetName:n}}_getUpdateFormulaMutations(i,e){const t=[],r=[],n={get:this._injector.get.bind(this._injector)},a=Object.keys(e);for(const o of a){const c=e[o],u=Object.keys(c);for(const m of u){const d=new s.ObjectMatrix(i[o][m]),p=new s.ObjectMatrix(c[m]),f=new s.ObjectMatrix;p.forValue((l,I,E)=>{var k;const v=(E==null?void 0:E.f)||"",y=((k=d.getValue(l,I))==null?void 0:k.f)||"";s.isFormulaString(v)&&(s.isFormulaString(y)&&v!==y?f.setValue(l,I,{f:v}):f.setValue(l,I,{f:v,si:null}))});const h=f.getData();if(s.Tools.isEmptyObject(h))continue;const R={subUnitId:m,unitId:o,cellValue:h};t.push({id:b.SetRangeValuesMutation.id,params:R});const S=b.SetRangeValuesUndoMutationFactory(n,R);r.push({id:b.SetRangeValuesMutation.id,params:S})}}return{redos:t,undos:r}}_getFormulaReferenceMoveInfo(i,e,t){const r=Object.keys(i),n={};for(const a of r){const o=i[a],c=Object.keys(o);n[a]==null&&(n[a]={});for(const u of c){const m=new s.ObjectMatrix(o[u]),d=new s.ObjectMatrix;m.forValue((p,f,h)=>{var C;if(!h)return!0;const{f:R,x:S,y:l,si:I}=h,E=this._lexerTreeBuilder.sequenceNodesBuilder(R);if(E==null)return!0;let v=!1;const y=[];for(let B=0,M=E.length;B<M;B++){const F=E[B];if(typeof F=="string"||F.nodeType!==P.sequenceNodeType.REFERENCE)continue;const{token:_}=F,w=s.deserializeRangeWithSheet(_),{range:x,sheetName:H,unitId:U}=w,K=U==null||U.length===0?a:U,te=(C=e==null?void 0:e[K])==null?void 0:C[H],Y={range:x,sheetId:te,unitId:U,sheetName:H,refOffsetX:S||0,refOffsetY:l||0};let ue=null;if(t.type===9){const{unitId:ki,sheetId:ut,sheetName:ze}=t;if(ze==null||te==null||te.length===0||ut!==te)continue;ue=s.serializeRangeToRefString({range:x,sheetName:ze,unitId:U})}else ue=this._getNewRangeByMoveParam(Y,t,a,u);ue!=null&&(E[B]={...F,token:ue},v=!0,y.push(B))}if(!v)return!0;const k=this._updateRefOffset(E,y,S,l);d.setValue(p,f,{f:`=${P.generateStringWithSequence(k)}`,x:S,y:l,si:I})}),n[a][u]=d.getData()}}return n}_getNewRangeByMoveParam(i,e,t,r){const{type:n,unitId:a,sheetId:o,range:c,from:u,to:m}=e,{range:d,sheetId:p,unitId:f,sheetName:h,refOffsetX:R,refOffsetY:S}=i;if(!this._checkIsSameUnitAndSheet(a,o,t,r,f,p))return;const l=s.Rectangle.moveOffset(d,R,S);let I=null;if(n===0){if(u==null||m==null)return;const E=this._checkMoveEdge(l,u),v=s.Rectangle.getIntersects(l,u);if(v==null)return;const y=b.handleMoveRange({id:b.EffectRefRangId.MoveRangeCommandId,params:{toRange:m,fromRange:u}},v),k=b.runRefRangeMutations(y,v);if(k==null)return;I=this._getMoveNewRange(E,k,u,m,l,v)}if(c!=null){if(n===1){const E=b.handleInsertRow({id:b.EffectRefRangId.InsertRowCommandId,params:{range:c,unitId:"",subUnitId:"",direction:s.Direction.DOWN}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===2){const E=b.handleInsertCol({id:b.EffectRefRangId.InsertColCommandId,params:{range:c,unitId:"",subUnitId:"",direction:s.Direction.RIGHT}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===3){const E=b.handleIRemoveRow({id:b.EffectRefRangId.RemoveRowCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===4){const E=b.handleIRemoveCol({id:b.EffectRefRangId.RemoveColCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===5){const E=b.handleDeleteRangeMoveLeft({id:b.EffectRefRangId.DeleteRangeMoveLeftCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===6){const E=b.handleDeleteRangeMoveUp({id:b.EffectRefRangId.DeleteRangeMoveUpCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===7){const E=b.handleInsertRangeMoveDown({id:b.EffectRefRangId.InsertRangeMoveDownCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(n===8){const E=b.handleInsertRangeMoveRight({id:b.EffectRefRangId.InsertRangeMoveRightCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}}if(I!=null)return s.serializeRangeToRefString({range:I,sheetName:h,unitId:f})}_checkIsSameUnitAndSheet(i,e,t,r,n,a){if((n==null||n.length===0)&&(a==null||a.length===0)){if(i===t&&e===r)return!0}else if((i===n||n==null||n.length===0)&&e===a)return!0;return!1}_updateRefOffset(i,e,t=0,r=0){const n=[];for(let a=0,o=i.length;a<o;a++){const c=i[a];if(typeof c=="string"||c.nodeType!==P.sequenceNodeType.REFERENCE||e.includes(a)){n.push(c);continue}const{token:u}=c,m=s.deserializeRangeWithSheet(u),{range:d,sheetName:p,unitId:f}=m,h=s.Rectangle.moveOffset(d,t,r);n.push({...c,token:s.serializeRangeToRefString({range:h,unitId:f,sheetName:p})})}return n}_checkMoveEdge(i,e){const{startRow:t,startColumn:r,endRow:n,endColumn:a}=i,{startRow:o,startColumn:c,endRow:u,endColumn:m}=e;if(t>=o&&n<=u&&r>=c&&a<=m)return 4;if(r>=c&&a<=m&&t>=o&&t<=u&&n>u)return 0;if(r>=c&&a<=m&&n>=o&&n<=u&&t<o)return 1;if(t>=o&&n<=u&&r>=c&&r<=m&&a>m)return 2;if(t>=o&&n<=u&&a>=c&&a<=m&&r<c)return 3}_getMoveNewRange(i,e,t,r,n,a){const{startRow:o,endRow:c,startColumn:u,endColumn:m}=e,{startRow:d,startColumn:p,endRow:f,endColumn:h}=t,{startRow:R,startColumn:S,endRow:l,endColumn:I}=r,{startRow:E,endRow:v,startColumn:y,endColumn:k}=a,{startRow:C,endRow:B,startColumn:M,endColumn:F}=n,_={...n};if(i===0)if(u===M&&m===F)if(o<C)_.startRow=o;else if(c<B)_.startRow=o;else if(c>=B&&R<=B)_.startRow=f+1,_.endRow=c;else return;else return;else if(i===1)if(u===M&&m===F)if(c>B)_.endRow=c;else if(o>C)_.endRow=c;else if(o<=C&&l>=C)_.endRow=d+1,_.startRow=o;else return;else return;else if(i===2)if(o===C&&c===B)if(u<M)_.startColumn=u;else if(m<F)_.startColumn=u;else if(m>=F&&S<=F)_.startColumn=h+1,_.endColumn=m;else return;else return;else if(i===3)if(o===C&&c===B)if(m>F)_.endColumn=m;else if(u>M)_.endColumn=m;else if(u<=M&&I>=M)_.endColumn=p+1,_.startColumn=u;else return;else return;else(i===4||(S<=k+1&&I>=F||S<=M&&I>=y-1)&&R<=C&&l>=B||(R<=v+1&&l>=B||R<=C&&l>=E-1)&&S<=M&&I>=F)&&(_.startRow=o,_.startColumn=u,_.endRow=c,_.endColumn=m);return _}_getInsertNewRange(){}_getCurrentSheetInfo(){const i=this._currentUniverService.getCurrentUniverSheetInstance(),e=i.getUnitId(),t=i.getActiveSheet().getSheetId();return{unitId:e,sheetId:t}}};ve=$r([s.OnLifecycle(s.LifecycleStages.Ready,ve),J(0,s.IUniverInstanceService),J(1,s.ICommandService),J(2,A.Inject(P.LexerTreeBuilder)),J(3,A.Inject(P.FormulaDataModel)),J(4,A.Inject(b.SheetInterceptorService)),J(5,A.Inject(b.SelectionManagerService)),J(6,A.Inject(A.Injector))],ve);const Wr={},Gr={BETADIST:{description:"Returns the beta cumulative distribution function",abstract:"Returns the beta cumulative distribution function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/betadist-function-49f1b9a9-a5da-470f-8077-5f1730b5fd47"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETAINV:{description:"Returns the inverse of the cumulative distribution function for a specified beta distribution",abstract:"Returns the inverse of the cumulative distribution function for a specified beta distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/betainv-function-8b914ade-b902-43c1-ac9c-c05c54f10d6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOMDIST:{description:"Returns the individual term binomial distribution probability",abstract:"Returns the individual term binomial distribution probability",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binomdist-function-506a663e-c4ca-428d-b9a8-05583d68789c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHIDIST:{description:"Returns the one-tailed probability of the chi-squared distribution",abstract:"Returns the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chidist-function-c90d0fbc-5b56-4f5f-ab57-34af1bf6897e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHIINV:{description:"Returns the inverse of the one-tailed probability of the chi-squared distribution",abstract:"Returns the inverse of the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chiinv-function-cfbea3f6-6e4f-40c9-a87f-20472e0512af"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHITEST:{description:"Returns the test for independence",abstract:"Returns the test for independence",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chitest-function-981ff871-b694-4134-848e-38ec704577ac"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCATENATE:{description:"Joins two or more text strings into one string",abstract:"Joins two or more text strings into one string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE:{description:"Returns the confidence interval for a population mean",abstract:"Returns the confidence interval for a population mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/confidence-function-75ccc007-f77c-4343-bc14-673642091ad6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVAR:{description:"Returns covariance, the average of the products of paired deviations",abstract:"Returns covariance, the average of the products of paired deviations",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/covar-function-50479552-2c03-4daf-bd71-a5ab88b2db03"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CRITBINOM:{description:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",abstract:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/critbinom-function-eb6b871d-796b-4d21-b69b-e4350d5f407b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPONDIST:{description:"Returns the exponential distribution",abstract:"Returns the exponential distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/expondist-function-68ab45fd-cd6d-4887-9770-9357eb8ee06a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FDIST:{description:"Returns the F probability distribution",abstract:"Returns the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fdist-function-ecf76fba-b3f1-4e7d-a57e-6a5b7460b786"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FINV:{description:"Returns the inverse of the F probability distribution",abstract:"Returns the inverse of the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/finv-function-4d46c97c-c368-4852-bc15-41e8e31140b1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR:{description:"Rounds a number down, toward zero",abstract:"Rounds a number down, toward zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-function-14bb497c-24f2-4e04-b327-b0b4de5a8886"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST:{description:"Calculates, or predicts, a future value by using existing values.",abstract:"Calculates, or predicts, a future value by using existing values.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecast-and-forecast-linear-functions-50ca49c9-7b40-4892-94e4-7ad38bbeda99"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FTEST:{description:"Returns the result of an F-test",abstract:"Returns the result of an F-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ftest-function-4c9e1202-53fe-428c-a737-976f6fc3f9fd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMADIST:{description:"Returns the gamma distribution",abstract:"Returns the gamma distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gammadist-function-7327c94d-0f05-4511-83df-1dd7ed23e19e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMAINV:{description:"Returns the inverse of the gamma cumulative distribution",abstract:"Returns the inverse of the gamma cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gammainv-function-06393558-37ab-47d0-aa63-432f99e7916d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPGEOMDIST:{description:"Returns the hypergeometric distribution",abstract:"Returns the hypergeometric distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hypgeomdist-function-23e37961-2871-4195-9629-d0b2c108a12e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGINV:{description:"Returns the inverse of the lognormal cumulative distribution function",abstract:"Returns the inverse of the lognormal cumulative distribution function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/loginv-function-0bd7631a-2725-482b-afb4-de23df77acfe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORMDIST:{description:"Returns the cumulative lognormal distribution",abstract:"Returns the cumulative lognormal distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lognormdist-function-f8d194cb-9ee3-4034-8c75-1bdb3884100b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE:{description:"Returns the most common value in a data set",abstract:"Returns the most common value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mode-function-e45192ce-9122-4980-82ed-4bdc34973120"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NEGBINOMDIST:{description:"Returns the negative binomial distribution",abstract:"Returns the negative binomial distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/negbinomdist-function-f59b0a37-bae2-408d-b115-a315609ba714"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMDIST:{description:"Returns the normal cumulative distribution",abstract:"Returns the normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/normdist-function-126db625-c53e-4591-9a22-c9ff422d6d58"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMINV:{description:"Returns the inverse of the normal cumulative distribution",abstract:"Returns the inverse of the normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/norminv-function-87981ab8-2de0-4cb0-b1aa-e21d4cb879b8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMSDIST:{description:"Returns the standard normal cumulative distribution",abstract:"Returns the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/normsdist-function-463369ea-0345-445d-802a-4ff0d6ce7cac"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMSINV:{description:"Returns the inverse of the standard normal cumulative distribution",abstract:"Returns the inverse of the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/normsinv-function-8d1bce66-8e4d-4f3b-967c-30eed61f019d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE:{description:"Returns the k-th percentile of values in a range",abstract:"Returns the k-th percentile of values in a range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentile-function-91b43a53-543c-4708-93de-d626debdddca"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK:{description:"Returns the percentage rank of a value in a data set",abstract:"Returns the percentage rank of a value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentrank-function-f1b5836c-9619-4847-9fc9-080ec9024442"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POISSON:{description:"Returns the Poisson distribution",abstract:"Returns the Poisson distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/poisson-function-d81f7294-9d7c-4f75-bc23-80aa8624173a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE:{description:"Returns the quartile of a data set",abstract:"Returns the quartile of a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/quartile-function-93cf8f62-60cd-4fdb-8a92-8451041e1a2a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK:{description:"Returns the rank of a number in a list of numbers",abstract:"Returns the rank of a number in a list of numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rank-function-6a2fc49d-1831-4a03-9d8c-c279cf99f723"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV:{description:"Estimates standard deviation based on a sample",abstract:"Estimates standard deviation based on a sample",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdev-function-51fecaaa-231e-4bbb-9230-33650a72c9b0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVP:{description:"Calculates standard deviation based on the entire population",abstract:"Calculates standard deviation based on the entire population",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdevp-function-1f7c1c88-1bec-4422-8242-e9f7dc8bb195"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TDIST:{description:"Returns the Student's t-distribution",abstract:"Returns the Student's t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tdist-function-630a7695-4021-4853-9468-4a1f9dcdd192"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TINV:{description:"Returns the inverse of the Student's t-distribution",abstract:"Returns the inverse of the Student's t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tinv-function-a7c85b9d-90f5-41fe-9ca5-1cd2f3e1ed7c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TTEST:{description:"Returns the probability associated with a Student's t-test",abstract:"Returns the probability associated with a Student's t-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ttest-function-1696ffc1-4811-40fd-9d13-a0eaad83c7ae"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR:{description:"Estimates variance based on a sample",abstract:"Estimates variance based on a sample",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/var-function-1f2b7ab2-954d-4e17-ba2c-9e58b15a7da2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARP:{description:"Calculates variance based on the entire population",abstract:"Calculates variance based on the entire population",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/varp-function-26a541c4-ecee-464d-a731-bd4c575b1a6b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEIBULL:{description:"Returns the Weibull distribution",abstract:"Returns the Weibull distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weibull-function-b83dc2c6-260b-4754-bef2-633196f6fdcc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ZTEST:{description:"Returns the one-tailed probability-value of a z-test",abstract:"Returns the one-tailed probability-value of a z-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ztest-function-8f33be8a-6bd6-4ecc-8e3a-d9a4420c4a6a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Kr={CUBEKPIMEMBER:{description:"Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization's performance.",abstract:"Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization's performance.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubekpimember-function-744608bf-2c62-42cd-b67a-a56109f4b03b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEMEMBER:{description:"Returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.",abstract:"Returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubemember-function-0f6a15b9-2c18-4819-ae89-e1b5c8b398ad"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEMEMBERPROPERTY:{description:"Returns the value of a member property from the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.",abstract:"Returns the value of a member property from the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubememberproperty-function-001e57d6-b35a-49e5-abcd-05ff599e8951"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBERANKEDMEMBER:{description:"Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or the top 10 students.",abstract:"Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or the top 10 students.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cuberankedmember-function-07efecde-e669-4075-b4bf-6b40df2dc4b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBESET:{description:"Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.",abstract:"Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubeset-function-5b2146bd-62d6-4d04-9d8f-670e993ee1d9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBESETCOUNT:{description:"Returns the number of items in a set.",abstract:"Returns the number of items in a set.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubesetcount-function-c4c2a438-c1ff-4061-80fe-982f2d705286"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEVALUE:{description:"Returns an aggregated value from the cube.",abstract:"Returns an aggregated value from the cube.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubevalue-function-8733da24-26d1-4e34-9b3a-84a8f00dcbe0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Yr={DAVERAGE:{description:"Returns the average of selected database entries",abstract:"Returns the average of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/daverage-function-a6a2d5ac-4b4b-48cd-a1d8-7b37834e5aee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DCOUNT:{description:"Counts the cells that contain numbers in a database",abstract:"Counts the cells that contain numbers in a database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dcount-function-c1fc7b93-fb0d-4d8d-97db-8d5f076eaeb1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DCOUNTA:{description:"Counts nonblank cells in a database",abstract:"Counts nonblank cells in a database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dcounta-function-00232a6d-5a66-4a01-a25b-c1653fda1244"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DGET:{description:"Extracts from a database a single record that matches the specified criteria",abstract:"Extracts from a database a single record that matches the specified criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dget-function-455568bf-4eef-45f7-90f0-ec250d00892e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DMAX:{description:"Returns the maximum value from selected database entries",abstract:"Returns the maximum value from selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dmax-function-f4e8209d-8958-4c3d-a1ee-6351665d41c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DMIN:{description:"Returns the minimum value from selected database entries",abstract:"Returns the minimum value from selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dmin-function-4ae6f1d9-1f26-40f1-a783-6dc3680192a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DPRODUCT:{description:"Multiplies the values in a particular field of records that match the criteria in a database",abstract:"Multiplies the values in a particular field of records that match the criteria in a database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dproduct-function-4f96b13e-d49c-47a7-b769-22f6d017cb31"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSTDEV:{description:"Estimates the standard deviation based on a sample of selected database entries",abstract:"Estimates the standard deviation based on a sample of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dstdev-function-026b8c73-616d-4b5e-b072-241871c4ab96"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSTDEVP:{description:"Calculates the standard deviation based on the entire population of selected database entries",abstract:"Calculates the standard deviation based on the entire population of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dstdevp-function-04b78995-da03-4813-bbd9-d74fd0f5d94b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSUM:{description:"Adds the numbers in the field column of records in the database that match the criteria",abstract:"Adds the numbers in the field column of records in the database that match the criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dsum-function-53181285-0c4b-4f5a-aaa3-529a322be41b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DVAR:{description:"Estimates variance based on a sample from selected database entries",abstract:"Estimates variance based on a sample from selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dvar-function-d6747ca9-99c7-48bb-996e-9d7af00f3ed1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DVARP:{description:"Calculates variance based on the entire population of selected database entries",abstract:"Calculates variance based on the entire population of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dvarp-function-eb0ba387-9cb7-45c8-81e9-0394912502fc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Xr={DATE:{description:"Returns the serial number of a particular date",abstract:"Returns the serial number of a particular date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/date-function-e36c0c8c-4104-49da-ab83-82328b832349"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DATEDIF:{description:"Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.",abstract:"Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/datedif-function-25dba1a4-2812-480b-84dd-8b32a451b35c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DATEVALUE:{description:"Converts a date in the form of text to a serial number",abstract:"Converts a date in the form of text to a serial number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/datevalue-function-df8b07d4-7761-4a93-bc33-b7471bbff252"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAY:{description:"Converts a serial number to a day of the month",abstract:"Converts a serial number to a day of the month",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/day-function-8a7d1cbb-6c7d-4ba1-8aea-25c134d03101"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAYS:{description:"Returns the number of days between two dates",abstract:"Returns the number of days between two dates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/days-function-57740535-d549-4395-8728-0f07bff0b9df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAYS360:{description:"Calculates the number of days between two dates based on a 360-day year",abstract:"Calculates the number of days between two dates based on a 360-day year",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/days360-function-b9a509fd-49ef-407e-94df-0cbda5718c2a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EDATE:{description:"Returns the serial number of the date that is the indicated number of months before or after the start date",abstract:"Returns the serial number of the date that is the indicated number of months before or after the start date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/edate-function-3c920eb2-6e66-44e7-a1f5-753ae47ee4f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EOMONTH:{description:"Returns the serial number of the last day of the month before or after a specified number of months",abstract:"Returns the serial number of the last day of the month before or after a specified number of months",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/eomonth-function-7314ffa1-2bc9-4005-9d66-f49db127d628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HOUR:{description:"Converts a serial number to an hour",abstract:"Converts a serial number to an hour",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hour-function-a3afa879-86cb-4339-b1b5-2dd2d7310ac7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISOWEEKNUM:{description:"Returns the number of the ISO week number of the year for a given date",abstract:"Returns the number of the ISO week number of the year for a given date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/isoweeknum-function-1c2d0afe-d25b-4ab1-8894-8d0520e90e0e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINUTE:{description:"Converts a serial number to a minute",abstract:"Converts a serial number to a minute",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/minute-function-af728df0-05c4-4b07-9eed-a84801a60589"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MONTH:{description:"Converts a serial number to a month",abstract:"Converts a serial number to a month",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/month-function-579a2881-199b-48b2-ab90-ddba0eba86e8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NETWORKDAYS:{description:"Returns the number of whole workdays between two dates",abstract:"Returns the number of whole workdays between two dates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/networkdays-function-48e717bf-a7a3-495f-969e-5005e3eb18e7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NETWORKDAYS_INTL:{description:"Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days",abstract:"Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/networkdays-intl-function-a9b26239-4f20-46a1-9ab8-4e925bfd5e28"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOW:{description:"Returns the serial number of the current date and time",abstract:"Returns the serial number of the current date and time",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/now-function-3337fd29-145a-4347-b2e6-20c904739c46"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SECOND:{description:"Converts a serial number to a second",abstract:"Converts a serial number to a second",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/second-function-740d1cfc-553c-4099-b668-80eaa24e8af1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TIME:{description:"Returns the serial number of a particular time",abstract:"Returns the serial number of a particular time",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/time-function-9a5aff99-8f7d-4611-845e-747d0b8d5457"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TIMEVALUE:{description:"Converts a time in the form of text to a serial number",abstract:"Converts a time in the form of text to a serial number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/timevalue-function-0b615c12-33d8-4431-bf3d-f3eb6d186645"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TODAY:{description:"Returns the serial number of today's date",abstract:"Returns the serial number of today's date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/today-function-5eb3078d-a82c-4736-8930-2f51a028fdd9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEEKDAY:{description:"Converts a serial number to a day of the week",abstract:"Converts a serial number to a day of the week",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weekday-function-60e44483-2ed1-439f-8bd0-e404c190949a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEEKNUM:{description:"Converts a serial number to a number representing where the week falls numerically with a year",abstract:"Converts a serial number to a number representing where the week falls numerically with a year",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weeknum-function-e5c43a03-b4ab-426c-b411-b18c13c75340"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WORKDAY:{description:"Returns the serial number of the date before or after a specified number of workdays",abstract:"Returns the serial number of the date before or after a specified number of workdays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/workday-function-f764a5b7-05fc-4494-9486-60d494efbf33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WORKDAY_INTL:{description:"Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days",abstract:"Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/workday-intl-function-a378391c-9ba7-4678-8a39-39611a9bf81d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YEAR:{description:"Converts a serial number to a year",abstract:"Converts a serial number to a year",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/year-function-c64f017a-1354-490d-981f-578e8ec8d3b9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YEARFRAC:{description:"Returns the year fraction representing the number of whole days between start_date and end_date",abstract:"Returns the year fraction representing the number of whole days between start_date and end_date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yearfrac-function-3844141e-c76d-4143-82b6-208454ddc6a8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Qr={BESSELI:{description:"Returns the modified Bessel function In(x)",abstract:"Returns the modified Bessel function In(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/besseli-function-8d33855c-9a8d-444b-98e0-852267b1c0df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELJ:{description:"Returns the Bessel function Jn(x)",abstract:"Returns the Bessel function Jn(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/besselj-function-839cb181-48de-408b-9d80-bd02982d94f7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELK:{description:"Returns the modified Bessel function Kn(x)",abstract:"Returns the modified Bessel function Kn(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/besselk-function-606d11bc-06d3-4d53-9ecb-2803e2b90b70"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELY:{description:"Returns the Bessel function Yn(x)",abstract:"Returns the Bessel function Yn(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bessely-function-f3a356b3-da89-42c3-8974-2da54d6353a2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2DEC:{description:"Converts a binary number to decimal",abstract:"Converts a binary number to decimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bin2dec-function-63905b57-b3a0-453d-99f4-647bb519cd6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2HEX:{description:"Converts a binary number to hexadecimal",abstract:"Converts a binary number to hexadecimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bin2hex-function-0375e507-f5e5-4077-9af8-28d84f9f41cc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2OCT:{description:"Converts a binary number to octal",abstract:"Converts a binary number to octal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bin2oct-function-0a4e01ba-ac8d-4158-9b29-16c25c4c23fd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITAND:{description:"Returns a 'Bitwise And' of two numbers",abstract:"Returns a 'Bitwise And' of two numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitand-function-8a2be3d7-91c3-4b48-9517-64548008563a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITLSHIFT:{description:"Returns a value number shifted left by shift_amount bits",abstract:"Returns a value number shifted left by shift_amount bits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitlshift-function-c55bb27e-cacd-4c7c-b258-d80861a03c9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITOR:{description:"Returns a bitwise OR of 2 numbers",abstract:"Returns a bitwise OR of 2 numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitor-function-f6ead5c8-5b98-4c9e-9053-8ad5234919b2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITRSHIFT:{description:"Returns a value number shifted right by shift_amount bits",abstract:"Returns a value number shifted right by shift_amount bits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitrshift-function-274d6996-f42c-4743-abdb-4ff95351222c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITXOR:{description:"Returns a bitwise 'Exclusive Or' of two numbers",abstract:"Returns a bitwise 'Exclusive Or' of two numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitxor-function-c81306a1-03f9-4e89-85ac-b86c3cba10e4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMPLEX:{description:"Converts real and imaginary coefficients into a complex number",abstract:"Converts real and imaginary coefficients into a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/complex-function-f0b8f3a9-51cc-4d6d-86fb-3a9362fa4128"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONVERT:{description:"Converts a number from one measurement system to another",abstract:"Converts a number from one measurement system to another",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/convert-function-d785bef1-808e-4aac-bdcd-666c810f9af2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2BIN:{description:"Converts a decimal number to binary",abstract:"Converts a decimal number to binary",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dec2bin-function-0f63dd0e-5d1a-42d8-b511-5bf5c6d43838"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2HEX:{description:"Converts a decimal number to hexadecimal",abstract:"Converts a decimal number to hexadecimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dec2hex-function-6344ee8b-b6b5-4c6a-a672-f64666704619"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2OCT:{description:"Converts a decimal number to octal",abstract:"Converts a decimal number to octal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dec2oct-function-c9d835ca-20b7-40c4-8a9e-d3be351ce00f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DELTA:{description:"Tests whether two values are equal",abstract:"Tests whether two values are equal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/delta-function-2f763672-c959-4e07-ac33-fe03220ba432"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERF:{description:"Returns the error function",abstract:"Returns the error function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erf-function-c53c7e7b-5482-4b6c-883e-56df3c9af349"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERF_PRECISE:{description:"Returns the error function",abstract:"Returns the error function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erf-precise-function-9a349593-705c-4278-9a98-e4122831a8e0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERFC:{description:"Returns the complementary error function",abstract:"Returns the complementary error function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erfc-function-736e0318-70ba-4e8b-8d08-461fe68b71b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERFC_PRECISE:{description:"Returns the complementary ERF function integrated between x and infinity",abstract:"Returns the complementary ERF function integrated between x and infinity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erfc-precise-function-e90e6bab-f45e-45df-b2ac-cd2eb4d4a273"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GESTEP:{description:"Tests whether a number is greater than a threshold value",abstract:"Tests whether a number is greater than a threshold value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gestep-function-f37e7d2a-41da-4129-be95-640883fca9df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2BIN:{description:"Converts a hexadecimal number to binary",abstract:"Converts a hexadecimal number to binary",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hex2bin-function-a13aafaa-5737-4920-8424-643e581828c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2DEC:{description:"Converts a hexadecimal number to decimal",abstract:"Converts a hexadecimal number to decimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hex2dec-function-8c8c3155-9f37-45a5-a3ee-ee5379ef106e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2OCT:{description:"Converts a hexadecimal number to octal",abstract:"Converts a hexadecimal number to octal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hex2oct-function-54d52808-5d19-4bd0-8a63-1096a5d11912"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMABS:{description:"Returns the absolute value (modulus) of a complex number",abstract:"Returns the absolute value (modulus) of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imabs-function-b31e73c6-d90c-4062-90bc-8eb351d765a1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMAGINARY:{description:"Returns the imaginary coefficient of a complex number",abstract:"Returns the imaginary coefficient of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imaginary-function-dd5952fd-473d-44d9-95a1-9a17b23e428a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMARGUMENT:{description:"Returns the argument theta, an angle expressed in radians",abstract:"Returns the argument theta, an angle expressed in radians",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imargument-function-eed37ec1-23b3-4f59-b9f3-d340358a034a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCONJUGATE:{description:"Returns the complex conjugate of a complex number",abstract:"Returns the complex conjugate of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imconjugate-function-2e2fc1ea-f32b-4f9b-9de6-233853bafd42"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOS:{description:"Returns the cosine of a complex number",abstract:"Returns the cosine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcos-function-dad75277-f592-4a6b-ad6c-be93a808a53c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOSH:{description:"Returns the hyperbolic cosine of a complex number",abstract:"Returns the hyperbolic cosine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcosh-function-053e4ddb-4122-458b-be9a-457c405e90ff"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOT:{description:"Returns the cotangent of a complex number",abstract:"Returns the cotangent of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcot-function-dc6a3607-d26a-4d06-8b41-8931da36442c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCSC:{description:"Returns the cosecant of a complex number",abstract:"Returns the cosecant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcsc-function-9e158d8f-2ddf-46cd-9b1d-98e29904a323"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCSCH:{description:"Returns the hyperbolic cosecant of a complex number",abstract:"Returns the hyperbolic cosecant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcsch-function-c0ae4f54-5f09-4fef-8da0-dc33ea2c5ca9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMDIV:{description:"Returns the quotient of two complex numbers",abstract:"Returns the quotient of two complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imdiv-function-a505aff7-af8a-4451-8142-77ec3d74d83f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMEXP:{description:"Returns the exponential of a complex number",abstract:"Returns the exponential of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imexp-function-c6f8da1f-e024-4c0c-b802-a60e7147a95f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLN:{description:"Returns the natural logarithm of a complex number",abstract:"Returns the natural logarithm of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imln-function-32b98bcf-8b81-437c-a636-6fb3aad509d8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLOG10:{description:"Returns the base-10 logarithm of a complex number",abstract:"Returns the base-10 logarithm of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imlog10-function-58200fca-e2a2-4271-8a98-ccd4360213a5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLOG2:{description:"Returns the base-2 logarithm of a complex number",abstract:"Returns the base-2 logarithm of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imlog2-function-152e13b4-bc79-486c-a243-e6a676878c51"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMPOWER:{description:"Returns a complex number raised to an integer power",abstract:"Returns a complex number raised to an integer power",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/impower-function-210fd2f5-f8ff-4c6a-9d60-30e34fbdef39"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMPRODUCT:{description:"Returns the product of from 2 to 255 complex numbers",abstract:"Returns the product of from 2 to 255 complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/improduct-function-2fb8651a-a4f2-444f-975e-8ba7aab3a5ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMREAL:{description:"Returns the real coefficient of a complex number",abstract:"Returns the real coefficient of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imreal-function-d12bc4c0-25d0-4bb3-a25f-ece1938bf366"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSEC:{description:"Returns the secant of a complex number",abstract:"Returns the secant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsec-function-6df11132-4411-4df4-a3dc-1f17372459e0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSECH:{description:"Returns the hyperbolic secant of a complex number",abstract:"Returns the hyperbolic secant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsech-function-f250304f-788b-4505-954e-eb01fa50903b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSIN:{description:"Returns the sine of a complex number",abstract:"Returns the sine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsin-function-1ab02a39-a721-48de-82ef-f52bf37859f6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSINH:{description:"Returns the hyperbolic sine of a complex number",abstract:"Returns the hyperbolic sine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsinh-function-dfb9ec9e-8783-4985-8c42-b028e9e8da3d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSQRT:{description:"Returns the square root of a complex number",abstract:"Returns the square root of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsqrt-function-e1753f80-ba11-4664-a10e-e17368396b70"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSUB:{description:"Returns the difference between two complex numbers",abstract:"Returns the difference between two complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsub-function-2e404b4d-4935-4e85-9f52-cb08b9a45054"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSUM:{description:"Returns the sum of complex numbers",abstract:"Returns the sum of complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsum-function-81542999-5f1c-4da6-9ffe-f1d7aaa9457f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMTAN:{description:"Returns the tangent of a complex number",abstract:"Returns the tangent of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imtan-function-8478f45d-610a-43cf-8544-9fc0b553a132"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2BIN:{description:"Converts an octal number to binary",abstract:"Converts an octal number to binary",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oct2bin-function-55383471-3c56-4d27-9522-1a8ec646c589"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2DEC:{description:"Converts an octal number to decimal",abstract:"Converts an octal number to decimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oct2dec-function-87606014-cb98-44b2-8dbb-e48f8ced1554"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2HEX:{description:"Converts an octal number to hexadecimal",abstract:"Converts an octal number to hexadecimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oct2hex-function-912175b4-d497-41b4-a029-221f051b858f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Jr={ACCRINT:{description:"Returns the accrued interest for a security that pays periodic interest",abstract:"Returns the accrued interest for a security that pays periodic interest",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/accrint-function-fe45d089-6722-4fb3-9379-e1f911d8dc74"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACCRINTM:{description:"Returns the accrued interest for a security that pays interest at maturity",abstract:"Returns the accrued interest for a security that pays interest at maturity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/accrintm-function-f62f01f9-5754-4cc4-805b-0e70199328a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AMORDEGRC:{description:"Returns the depreciation for each accounting period by using a depreciation coefficient",abstract:"Returns the depreciation for each accounting period by using a depreciation coefficient",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/amordegrc-function-a14d0ca1-64a4-42eb-9b3d-b0dededf9e51"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AMORLINC:{description:"Returns the depreciation for each accounting period",abstract:"Returns the depreciation for each accounting period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/amorlinc-function-7d417b45-f7f5-4dba-a0a5-3451a81079a8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYBS:{description:"Returns the number of days from the beginning of the coupon period to the settlement date",abstract:"Returns the number of days from the beginning of the coupon period to the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupdaybs-function-eb9a8dfb-2fb2-4c61-8e5d-690b320cf872"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYS:{description:"Returns the number of days in the coupon period that contains the settlement date",abstract:"Returns the number of days in the coupon period that contains the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupdays-function-cc64380b-315b-4e7b-950c-b30b0a76f671"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYSNC:{description:"Returns the number of days from the settlement date to the next coupon date",abstract:"Returns the number of days from the settlement date to the next coupon date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupdaysnc-function-5ab3f0b2-029f-4a8b-bb65-47d525eea547"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPNCD:{description:"Returns the next coupon date after the settlement date",abstract:"Returns the next coupon date after the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupncd-function-fd962fef-506b-4d9d-8590-16df5393691f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPNUM:{description:"Returns the number of coupons payable between the settlement date and maturity date",abstract:"Returns the number of coupons payable between the settlement date and maturity date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupnum-function-a90af57b-de53-4969-9c99-dd6139db2522"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPPCD:{description:"Returns the previous coupon date before the settlement date",abstract:"Returns the previous coupon date before the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/couppcd-function-2eb50473-6ee9-4052-a206-77a9a385d5b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUMIPMT:{description:"Returns the cumulative interest paid between two periods",abstract:"Returns the cumulative interest paid between two periods",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cumipmt-function-61067bb0-9016-427d-b95b-1a752af0e606"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUMPRINC:{description:"Returns the cumulative principal paid on a loan between two periods",abstract:"Returns the cumulative principal paid on a loan between two periods",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cumprinc-function-94a4516d-bd65-41a1-bc16-053a6af4c04d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DB:{description:"Returns the depreciation of an asset for a specified period by using the fixed-declining balance method",abstract:"Returns the depreciation of an asset for a specified period by using the fixed-declining balance method",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/db-function-354e7d28-5f93-4ff1-8a52-eb4ee549d9d7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DDB:{description:"Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify",abstract:"Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ddb-function-519a7a37-8772-4c96-85c0-ed2c209717a5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DISC:{description:"Returns the discount rate for a security",abstract:"Returns the discount rate for a security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/disc-function-71fce9f3-3f05-4acf-a5a3-eac6ef4daa53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLARDE:{description:"Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number",abstract:"Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dollarde-function-db85aab0-1677-428a-9dfd-a38476693427"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLARFR:{description:"Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction",abstract:"Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dollarfr-function-0835d163-3023-4a33-9824-3042c5d4f495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DURATION:{description:"Returns the annual duration of a security with periodic interest payments",abstract:"Returns the annual duration of a security with periodic interest payments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/duration-function-b254ea57-eadc-4602-a86a-c8e369334038"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EFFECT:{description:"Returns the effective annual interest rate",abstract:"Returns the effective annual interest rate",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/effect-function-910d4e4c-79e2-4009-95e6-507e04f11bc4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FV:{description:"Returns the future value of an investment",abstract:"Returns the future value of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fv-function-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FVSCHEDULE:{description:"Returns the future value of an initial principal after applying a series of compound interest rates",abstract:"Returns the future value of an initial principal after applying a series of compound interest rates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fvschedule-function-bec29522-bd87-4082-bab9-a241f3fb251d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INTRATE:{description:"Returns the interest rate for a fully invested security",abstract:"Returns the interest rate for a fully invested security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/intrate-function-5cb34dde-a221-4cb6-b3eb-0b9e55e1316f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IPMT:{description:"Returns the interest payment for an investment for a given period",abstract:"Returns the interest payment for an investment for a given period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ipmt-function-5cce0ad6-8402-4a41-8d29-61a0b054cb6f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IRR:{description:"Returns the internal rate of return for a series of cash flows",abstract:"Returns the internal rate of return for a series of cash flows",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/irr-function-64925eaa-9988-495b-b290-3ad0c163c1bc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISPMT:{description:"Calculates the interest paid during a specific period of an investment",abstract:"Calculates the interest paid during a specific period of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ispmt-function-fa58adb6-9d39-4ce0-8f43-75399cea56cc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MDURATION:{description:"Returns the Macauley modified duration for a security with an assumed par value of $100",abstract:"Returns the Macauley modified duration for a security with an assumed par value of $100",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mduration-function-b3786a69-4f20-469a-94ad-33e5b90a763c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIRR:{description:"Returns the internal rate of return where positive and negative cash flows are financed at different rates",abstract:"Returns the internal rate of return where positive and negative cash flows are financed at different rates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mirr-function-b020f038-7492-4fb4-93c1-35c345b53524"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOMINAL:{description:"Returns the annual nominal interest rate",abstract:"Returns the annual nominal interest rate",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/nominal-function-7f1ae29b-6b92-435e-b950-ad8b190ddd2b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NPER:{description:"Returns the number of periods for an investment",abstract:"Returns the number of periods for an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/nper-function-240535b5-6653-4d2d-bfcf-b6a38151d815"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NPV:{description:"Returns the net present value of an investment based on a series of periodic cash flows and a discount rate",abstract:"Returns the net present value of an investment based on a series of periodic cash flows and a discount rate",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/npv-function-8672cb67-2576-4d07-b67b-ac28acf2a568"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDFPRICE:{description:"Returns the price per $100 face value of a security with an odd first period",abstract:"Returns the price per $100 face value of a security with an odd first period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddfprice-function-d7d664a8-34df-4233-8d2b-922bcf6a69e1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDFYIELD:{description:"Returns the yield of a security with an odd first period",abstract:"Returns the yield of a security with an odd first period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddfyield-function-66bc8b7b-6501-4c93-9ce3-2fd16220fe37"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDLPRICE:{description:"Returns the price per $100 face value of a security with an odd last period",abstract:"Returns the price per $100 face value of a security with an odd last period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddlprice-function-fb657749-d200-4902-afaf-ed5445027fc4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDLYIELD:{description:"Returns the yield of a security with an odd last period",abstract:"Returns the yield of a security with an odd last period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddlyield-function-c873d088-cf40-435f-8d41-c8232fee9238"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PDURATION:{description:"Returns the number of periods required by an investment to reach a specified value",abstract:"Returns the number of periods required by an investment to reach a specified value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pduration-function-44f33460-5be5-4c90-b857-22308892adaf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PMT:{description:"Returns the periodic payment for an annuity",abstract:"Returns the periodic payment for an annuity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pmt-function-0214da64-9a63-4996-bc20-214433fa6441"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PPMT:{description:"Returns the payment on the principal for an investment for a given period",abstract:"Returns the payment on the principal for an investment for a given period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ppmt-function-c370d9e3-7749-4ca4-beea-b06c6ac95e1b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICE:{description:"Returns the price per $100 face value of a security that pays periodic interest",abstract:"Returns the price per $100 face value of a security that pays periodic interest",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/price-function-3ea9deac-8dfa-436f-a7c8-17ea02c21b0a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICEDISC:{description:"Returns the price per $100 face value of a discounted security",abstract:"Returns the price per $100 face value of a discounted security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pricedisc-function-d06ad7c1-380e-4be7-9fd9-75e3079acfd3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICEMAT:{description:"Returns the price per $100 face value of a security that pays interest at maturity",abstract:"Returns the price per $100 face value of a security that pays interest at maturity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pricemat-function-52c3b4da-bc7e-476a-989f-a95f675cae77"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PV:{description:"Returns the present value of an investment",abstract:"Returns the present value of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pv-function-23879d31-0e02-4321-be01-da16e8168cbd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RATE:{description:"Returns the interest rate per period of an annuity",abstract:"Returns the interest rate per period of an annuity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rate-function-9f665657-4a7e-4bb7-a030-83fc59e748ce"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RECEIVED:{description:"Returns the amount received at maturity for a fully invested security",abstract:"Returns the amount received at maturity for a fully invested security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/received-function-7a3f8b93-6611-4f81-8576-828312c9b5e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RRI:{description:"Returns an equivalent interest rate for the growth of an investment",abstract:"Returns an equivalent interest rate for the growth of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rri-function-6f5822d8-7ef1-4233-944c-79e8172930f4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SLN:{description:"Returns the straight-line depreciation of an asset for one period",abstract:"Returns the straight-line depreciation of an asset for one period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sln-function-cdb666e5-c1c6-40a7-806a-e695edc2f1c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SYD:{description:"Returns the sum-of-years' digits depreciation of an asset for a specified period",abstract:"Returns the sum-of-years' digits depreciation of an asset for a specified period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/syd-function-069f8106-b60b-4ca2-98e0-2a0f206bdb27"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLEQ:{description:"Returns the bond-equivalent yield for a Treasury bill",abstract:"Returns the bond-equivalent yield for a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tbilleq-function-2ab72d90-9b4d-4efe-9fc2-0f81f2c19c8c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLPRICE:{description:"Returns the price per $100 face value for a Treasury bill",abstract:"Returns the price per $100 face value for a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tbillprice-function-eacca992-c29d-425a-9eb8-0513fe6035a2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLYIELD:{description:"Returns the yield for a Treasury bill",abstract:"Returns the yield for a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VDB:{description:"Returns the depreciation of an asset for a specified or partial period by using a declining balance method",abstract:"Returns the depreciation of an asset for a specified or partial period by using a declining balance method",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vdb-function-dde4e207-f3fa-488d-91d2-66d55e861d73"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XIRR:{description:"Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic",abstract:"Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XNPV:{description:"Returns the net present value for a schedule of cash flows that is not necessarily periodic",abstract:"Returns the net present value for a schedule of cash flows that is not necessarily periodic",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xnpv-function-1b42bbf6-370f-4532-a0eb-d67c16b664b7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELD:{description:"Returns the yield on a security that pays periodic interest",abstract:"Returns the yield on a security that pays periodic interest",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yield-function-f5f5ca43-c4bd-434f-8bd2-ed3c9727a4fe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELDDISC:{description:"Returns the annual yield for a discounted security; for example, a Treasury bill",abstract:"Returns the annual yield for a discounted security; for example, a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yielddisc-function-a9dbdbae-7dae-46de-b995-615faffaaed7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELDMAT:{description:"Returns the annual yield of a security that pays interest at maturity",abstract:"Returns the annual yield of a security that pays interest at maturity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yieldmat-function-ba7d1809-0d33-4bcb-96c7-6c56ec62ef6f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Zr={CELL:{description:"Returns information about the formatting, location, or contents of a cell",abstract:"Returns information about the formatting, location, or contents of a cell",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cell-function-51bd39a5-f338-4dbe-a33f-955d67c2b2cf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERROR_TYPE:{description:"Returns a number corresponding to an error type",abstract:"Returns a number corresponding to an error type",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/error-type-function-10958677-7c8d-44f7-ae77-b9a9ee6eefaa"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INFO:{description:"Returns information about the current operating environment",abstract:"Returns information about the current operating environment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/info-function-725f259a-0e4b-49b3-8b52-58815c69acae"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISBLANK:{description:"Returns TRUE if the value is blank",abstract:"Returns TRUE if the value is blank",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISERR:{description:"Returns TRUE if the value is any error value except #N/A",abstract:"Returns TRUE if the value is any error value except #N/A",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISERROR:{description:"Returns TRUE if the value is any error value",abstract:"Returns TRUE if the value is any error value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISEVEN:{description:"Returns TRUE if the number is even",abstract:"Returns TRUE if the number is even",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/iseven-function-aa15929a-d77b-4fbb-92f4-2f479af55356"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISFORMULA:{description:"Returns TRUE if there is a reference to a cell that contains a formula",abstract:"Returns TRUE if there is a reference to a cell that contains a formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/isformula-function-e4d1355f-7121-4ef2-801e-3839bfd6b1e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISLOGICAL:{description:"Returns TRUE if the value is a logical value",abstract:"Returns TRUE if the value is a logical value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNA:{description:"Returns TRUE if the value is the #N/A error value",abstract:"Returns TRUE if the value is the #N/A error value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNONTEXT:{description:"Returns TRUE if the value is not text",abstract:"Returns TRUE if the value is not text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNUMBER:{description:"Returns TRUE if the value is a number",abstract:"Returns TRUE if the value is a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISODD:{description:"Returns TRUE if the number is odd",abstract:"Returns TRUE if the number is odd",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISOMITTED:{description:"Checks whether the value in a LAMBDA is missing and returns TRUE or FALSE",abstract:"Checks whether the value in a LAMBDA is missing and returns TRUE or FALSE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/isomitted-function-831d6fbc-0f07-40c4-9c5b-9c73fd1d60c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISREF:{description:"Returns TRUE if the value is a reference",abstract:"Returns TRUE if the value is a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISTEXT:{description:"Returns TRUE if the value is text",abstract:"Returns TRUE if the value is text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},N:{description:"Returns a value converted to a number",abstract:"Returns a value converted to a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/n-function-a624cad1-3635-4208-b54a-29733d1278c9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NA:{description:"Returns the error value #N/A",abstract:"Returns the error value #N/A",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/na-function-5469c2d1-a90c-4fb5-9bbc-64bd9bb6b47c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SHEET:{description:"Returns the sheet number of the referenced sheet",abstract:"Returns the sheet number of the referenced sheet",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sheet-function-44718b6f-8b87-47a1-a9d6-b701c06cff24"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SHEETS:{description:"Returns the number of sheets in a reference",abstract:"Returns the number of sheets in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sheets-function-770515eb-e1e8-45ce-8066-b557e5e4b80b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TYPE:{description:"Returns a number indicating the data type of a value",abstract:"Returns a number indicating the data type of a value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/type-function-45b4e688-4bc3-48b3-a105-ffa892995899"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ei={AND:{description:"Returns TRUE if all of its arguments are TRUE",abstract:"Returns TRUE if all of its arguments are TRUE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/and-function-5f19b2e8-e1df-4408-897a-ce285a19e9d9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BYCOL:{description:"Applies a LAMBDA to each column and returns an array of the results",abstract:"Applies a LAMBDA to each column and returns an array of the results",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bycol-function-58463999-7de5-49ce-8f38-b7f7a2192bfb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BYROW:{description:"Applies a LAMBDA to each row and returns an array of the results",abstract:"Applies a LAMBDA to each row and returns an array of the results",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/byrow-function-2e04c677-78c8-4e6b-8c10-a4602f2602bb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FALSE:{description:"Returns the logical value FALSE",abstract:"Returns the logical value FALSE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/false-function-2d58dfa5-9c03-4259-bf8f-f0ae14346904"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IF:{description:"Specifies a logical test to perform",abstract:"Specifies a logical test to perform",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFERROR:{description:"Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula",abstract:"Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/iferror-function-c526fd07-caeb-47b8-8bb6-63f3e417f611"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFNA:{description:"Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression",abstract:"Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ifna-function-6626c961-a569-42fc-a49d-79b4951fd461"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFS:{description:"Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.",abstract:"Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ifs-function-36329a26-37b2-467c-972b-4a39bd951d45"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LAMBDA:{description:"Create custom, reusable functions and call them by a friendly name",abstract:"Create custom, reusable functions and call them by a friendly name",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lambda-function-bd212d27-1cd1-4321-a34a-ccbf254b8b67"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LET:{description:"Assigns names to calculation results",abstract:"Assigns names to calculation results",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAKEARRAY:{description:"Returns a calculated array of a specified row and column size, by applying a LAMBDA",abstract:"Returns a calculated array of a specified row and column size, by applying a LAMBDA",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/makearray-function-b80da5ad-b338-4149-a523-5b221da09097"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAP:{description:"Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value",abstract:"Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/map-function-48006093-f97c-47c1-bfcc-749263bb1f01"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOT:{description:"Reverses the logic of its argument",abstract:"Reverses the logic of its argument",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/not-function-9cfc6011-a054-40c7-a140-cd4ba2d87d77"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OR:{description:"Returns TRUE if any argument is TRUE",abstract:"Returns TRUE if any argument is TRUE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/or-function-7d17ad14-8700-4281-b308-00b131e22af0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REDUCE:{description:"Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator",abstract:"Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/reduce-function-42e39910-b345-45f3-84b8-0642b568b7cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SCAN:{description:"Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value",abstract:"Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/scan-function-d58dfd11-9969-4439-b2dc-e7062724de29"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SWITCH:{description:"Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.",abstract:"Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/switch-function-47ab33c0-28ce-4530-8a45-d532ec4aa25e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRUE:{description:"Returns the logical value TRUE",abstract:"Returns the logical value TRUE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XOR:{description:"Returns a logical exclusive OR of all arguments",abstract:"Returns a logical exclusive OR of all arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xor-function-1548d4c2-5e47-4f77-9a92-0533bba14f37"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ti={ADDRESS:{description:"Returns a reference as text to a single cell in a worksheet",abstract:"Returns a reference as text to a single cell in a worksheet",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/address-function-d0c26c0d-3991-446b-8de4-ab46431d4f89"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AREAS:{description:"Returns the number of areas in a reference",abstract:"Returns the number of areas in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/areas-function-8392ba32-7a41-43b3-96b0-3695d2ec6152"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSE:{description:"Chooses a value from a list of values",abstract:"Chooses a value from a list of values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/choose-function-fc5c184f-cb62-4ec7-a46e-38653b98f5bc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSECOLS:{description:"Returns the specified columns from an array",abstract:"Returns the specified columns from an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/choosecols-function-bf117976-2722-4466-9b9a-1c01ed9aebff"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSEROWS:{description:"Returns the specified rows from an array",abstract:"Returns the specified rows from an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chooserows-function-51ace882-9bab-4a44-9625-7274ef7507a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COLUMN:{description:"Returns the column number of a reference",abstract:"Returns the column number of a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/column-function-44e8c754-711c-4df3-9da4-47a55042554b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COLUMNS:{description:"Returns the number of columns in a reference",abstract:"Returns the number of columns in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/columns-function-4e8e7b4e-e603-43e8-b177-956088fa48ca"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DROP:{description:"Excludes a specified number of rows or columns from the start or end of an array",abstract:"Excludes a specified number of rows or columns from the start or end of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/drop-function-1cb4e151-9e17-4838-abe5-9ba48d8c6a34"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPAND:{description:"Expands or pads an array to specified row and column dimensions",abstract:"Expands or pads an array to specified row and column dimensions",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/expand-function-7433fba5-4ad1-41da-a904-d5d95808bc38"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FILTER:{description:"Filters a range of data based on criteria you define",abstract:"Filters a range of data based on criteria you define",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/filter-function-f4f7cb66-82eb-4767-8f7c-4877ad80c759"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORMULATEXT:{description:"Returns the formula at the given reference as text",abstract:"Returns the formula at the given reference as text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/formulatext-function-0a786771-54fd-4ae2-96ee-09cda35439c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GETPIVOTDATA:{description:"Returns data stored in a PivotTable report",abstract:"Returns data stored in a PivotTable report",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/getpivotdata-function-8c083b99-a922-4ca0-af5e-3af55960761f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HLOOKUP:{description:"Looks in the top row of an array and returns the value of the indicated cell",abstract:"Looks in the top row of an array and returns the value of the indicated cell",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hlookup-function-a3034eec-b719-4ba3-bb65-e1ad662ed95f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HSTACK:{description:"Appends arrays horizontally and in sequence to return a larger array",abstract:"Appends arrays horizontally and in sequence to return a larger array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hstack-function-98c4ab76-10fe-4b4f-8d5f-af1c125fe8c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPERLINK:{description:"Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet",abstract:"Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hyperlink-function-333c7ce6-c5ae-4164-9c47-7de9b76f577f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMAGE:{description:"Returns an image from a given source",abstract:"Returns an image from a given source",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/image-function-7e112975-5e52-4f2a-b9da-1d913d51f5d5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INDEX:{description:"Uses an index to choose a value from a reference or array",abstract:"Uses an index to choose a value from a reference or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/index-function-a5dcf0dd-996d-40a4-a822-b56b061328bd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INDIRECT:{description:"Returns a reference indicated by a text value",abstract:"Returns a reference indicated by a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/indirect-function-474b3a3a-8a26-4f44-b491-92b6306fa261"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOOKUP:{description:"Looks up values in a vector or array",abstract:"Looks up values in a vector or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lookup-function-446d94af-663b-451d-8251-369d5e3864cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MATCH:{description:"Looks up values in a reference or array",abstract:"Looks up values in a reference or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/match-function-e8dffd45-c762-47d6-bf89-533f4a37673a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OFFSET:{description:"Returns a reference offset from a given reference",abstract:"Returns a reference offset from a given reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/offset-function-c8de19ae-dd79-4b9b-a14e-b4d906d11b66"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROW:{description:"Returns the row number of a reference",abstract:"Returns the row number of a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/row-function-3a63b74a-c4d0-4093-b49a-e76eb49a6d8d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROWS:{description:"Returns the number of rows in a reference",abstract:"Returns the number of rows in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rows-function-b592593e-3fc2-47f2-bec1-bda493811597"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RTD:{description:"Retrieves real-time data from a program that supports COM automation",abstract:"Retrieves real-time data from a program that supports COM automation",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rtd-function-e0cc001a-56f0-470a-9b19-9455dc0eb593"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SORT:{description:"Sorts the contents of a range or array",abstract:"Sorts the contents of a range or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sort-function-22f63bd0-ccc8-492f-953d-c20e8e44b86c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SORTBY:{description:"Sorts the contents of a range or array based on the values in a corresponding range or array",abstract:"Sorts the contents of a range or array based on the values in a corresponding range or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sortby-function-cd2d7a62-1b93-435c-b561-d6a35134f28f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TAKE:{description:"Returns a specified number of contiguous rows or columns from the start or end of an array",abstract:"Returns a specified number of contiguous rows or columns from the start or end of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/take-function-25382ff1-5da1-4f78-ab43-f33bd2e4e003"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TOCOL:{description:"Returns the array in a single column",abstract:"Returns the array in a single column",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tocol-function-22839d9b-0b55-4fc1-b4e6-2761f8f122ed"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TOROW:{description:"Returns the array in a single row",abstract:"Returns the array in a single row",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/torow-function-b90d0964-a7d9-44b7-816b-ffa5c2fe2289"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRANSPOSE:{description:"Returns the transpose of an array",abstract:"Returns the transpose of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/transpose-function-ed039415-ed8a-4a81-93e9-4b6dfac76027"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNIQUE:{description:"Returns a list of unique values in a list or range",abstract:"Returns a list of unique values in a list or range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/unique-function-c5ab87fd-30a3-4ce9-9d1a-40204fb85e1e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VLOOKUP:{description:"Looks in the first column of an array and moves across the row to return the value of a cell",abstract:"Looks in the first column of an array and moves across the row to return the value of a cell",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VSTACK:{description:"Appends arrays vertically and in sequence to return a larger array",abstract:"Appends arrays vertically and in sequence to return a larger array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vstack-function-a4b86897-be0f-48fc-adca-fcc10d795a9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WRAPCOLS:{description:"Wraps the provided row or column of values by columns after a specified number of elements",abstract:"Wraps the provided row or column of values by columns after a specified number of elements",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/wrapcols-function-d038b05a-57b7-4ee0-be94-ded0792511e2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WRAPROWS:{description:"Wraps the provided row or column of values by rows after a specified number of elements",abstract:"Wraps the provided row or column of values by rows after a specified number of elements",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/wraprows-function-796825f3-975a-4cee-9c84-1bbddf60ade0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XLOOKUP:{description:"Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match. ",abstract:"Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match. ",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xlookup-function-b7fd680e-6d10-43e6-84f9-88eae8bf5929"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XMATCH:{description:"Returns the relative position of an item in an array or range of cells. ",abstract:"Returns the relative position of an item in an array or range of cells. ",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xmatch-function-d966da31-7a6b-4a13-a1c6-5a33ed6a0312"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ni={ABS:{description:"Returns the absolute value of a number",abstract:"Returns the absolute value of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/abs-function-3420200f-5628-4e8c-99da-c99d7c87713c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOS:{description:"Returns the arccosine of a number",abstract:"Returns the arccosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acos-function-cb73173f-d089-4582-afa1-76e5524b5d5b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOSH:{description:"Returns the inverse hyperbolic cosine of a number",abstract:"Returns the inverse hyperbolic cosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acosh-function-e3992cc1-103f-4e72-9f04-624b9ef5ebfe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOT:{description:"Returns the arccotangent of a number",abstract:"Returns the arccotangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acot-function-dc7e5008-fe6b-402e-bdd6-2eea8383d905"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOTH:{description:"Returns the hyperbolic arccotangent of a number",abstract:"Returns the hyperbolic arccotangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acoth-function-cc49480f-f684-4171-9fc5-73e4e852300f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AGGREGATE:{description:"Returns an aggregate in a list or database",abstract:"Returns an aggregate in a list or database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/aggregate-function-43b9278e-6aa7-4f17-92b6-e19993fa26df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ARABIC:{description:"Converts a Roman number to Arabic, as a number",abstract:"Converts a Roman number to Arabic, as a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/arabic-function-9a8da418-c17b-4ef9-a657-9370a30a674f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ASIN:{description:"Returns the arcsine of a number",abstract:"Returns the arcsine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/asin-function-81fb95e5-6d6f-48c4-bc45-58f955c6d347"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ASINH:{description:"Returns the inverse hyperbolic sine of a number",abstract:"Returns the inverse hyperbolic sine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/asinh-function-4e00475a-067a-43cf-926a-765b0249717c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATAN:{description:"Returns the arctangent of a number",abstract:"Returns the arctangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/atan-function-50746fa8-630a-406b-81d0-4a2aed395543"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATAN2:{description:"Returns the arctangent from x- and y-coordinates",abstract:"Returns the arctangent from x- and y-coordinates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/atan2-function-c04592ab-b9e3-4908-b428-c96b3a565033"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATANH:{description:"Returns the inverse hyperbolic tangent of a number",abstract:"Returns the inverse hyperbolic tangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/atanh-function-3cd65768-0de7-4f1d-b312-d01c8c930d90"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BASE:{description:"Converts a number into a text representation with the given radix (base)",abstract:"Converts a number into a text representation with the given radix (base)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/base-function-2ef61411-aee9-4f29-a811-1c42456c6342"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING:{description:"Rounds a number to the nearest integer or to the nearest multiple of significance",abstract:"Rounds a number to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ceiling-function-0a5cd7c8-0720-4f0a-bd2c-c943e510899f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING_MATH:{description:"Rounds a number up, to the nearest integer or to the nearest multiple of significance",abstract:"Rounds a number up, to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ceiling-math-function-80f95d2f-b499-4eee-9f16-f795a8e306c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING_PRECISE:{description:"Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.",abstract:"Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ceiling-precise-function-f366a774-527a-4c92-ba49-af0a196e66cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMBIN:{description:"Returns the number of combinations for a given number of objects",abstract:"Returns the number of combinations for a given number of objects",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/combin-function-12a3f276-0a21-423a-8de6-06990aaf638a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMBINA:{description:"Returns the number of combinations with repetitions for a given number of items",abstract:"Returns the number of combinations with repetitions for a given number of items",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/combina-function-efb49eaa-4f4c-4cd2-8179-0ddfcf9d035d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COS:{description:"Returns the cosine of a number",abstract:"Returns the cosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cos-function-0fb808a5-95d6-4553-8148-22aebdce5f05"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COSH:{description:"Returns the hyperbolic cosine of a number",abstract:"Returns the hyperbolic cosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cosh-function-e460d426-c471-43e8-9540-a57ff3b70555"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COT:{description:"Returns the cotangent of an angle",abstract:"Returns the cotangent of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cot-function-c446f34d-6fe4-40dc-84f8-cf59e5f5e31a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COTH:{description:"Returns the hyperbolic cotangent of a number",abstract:"Returns the hyperbolic cotangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coth-function-2e0b4cb6-0ba0-403e-aed4-deaa71b49df5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CSC:{description:"Returns the cosecant of an angle",abstract:"Returns the cosecant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/csc-function-07379361-219a-4398-8675-07ddc4f135c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CSCH:{description:"Returns the hyperbolic cosecant of an angle",abstract:"Returns the hyperbolic cosecant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/csch-function-f58f2c22-eb75-4dd6-84f4-a503527f8eeb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DECIMAL:{description:"Converts a text representation of a number in a given base into a decimal number",abstract:"Converts a text representation of a number in a given base into a decimal number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/decimal-function-ee554665-6176-46ef-82de-0a283658da2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEGREES:{description:"Converts radians to degrees",abstract:"Converts radians to degrees",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/degrees-function-4d6ec4db-e694-4b94-ace0-1cc3f61f9ba1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EVEN:{description:"Rounds a number up to the nearest even integer",abstract:"Rounds a number up to the nearest even integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/even-function-197b5f06-c795-4c1e-8696-3c3b8a646cf9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXP:{description:"Returns e raised to the power of a given number",abstract:"Returns e raised to the power of a given number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/exp-function-c578f034-2c45-4c37-bc8c-329660a63abe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FACT:{description:"Returns the factorial of a number",abstract:"Returns the factorial of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fact-function-ca8588c2-15f2-41c0-8e8c-c11bd471a4f3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FACTDOUBLE:{description:"Returns the double factorial of a number",abstract:"Returns the double factorial of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/factdouble-function-e67697ac-d214-48eb-b7b7-cce2589ecac8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR:{description:"Rounds a number down, toward zero",abstract:"Rounds a number down, toward zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-function-14bb497c-24f2-4e04-b327-b0b4de5a8886"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR_MATH:{description:"Rounds a number down, to the nearest integer or to the nearest multiple of significance",abstract:"Rounds a number down, to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-math-function-c302b599-fbdb-4177-ba19-2c2b1249a2f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR_PRECISE:{description:"Rounds a number down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down.",abstract:"Rounds a number down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-precise-function-f769b468-1452-4617-8dc3-02f842a0702e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GCD:{description:"Returns the greatest common divisor",abstract:"Returns the greatest common divisor",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gcd-function-d5107a51-69e3-461f-8e4c-ddfc21b5073a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INT:{description:"Rounds a number down to the nearest integer",abstract:"Rounds a number down to the nearest integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/int-function-a6c4af9e-356d-4369-ab6a-cb1fd9d343ef"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISO_CEILING:{description:"Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance",abstract:"Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/iso-ceiling-function-e587bb73-6cc2-4113-b664-ff5b09859a83"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LCM:{description:"Returns the least common multiple",abstract:"Returns the least common multiple",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lcm-function-7152b67a-8bb5-4075-ae5c-06ede5563c94"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LET:{description:"Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula",abstract:"Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LN:{description:"Returns the natural logarithm of a number",abstract:"Returns the natural logarithm of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ln-function-81fe1ed7-dac9-4acd-ba1d-07a142c6118f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOG:{description:"Returns the logarithm of a number to a specified base",abstract:"Returns the logarithm of a number to a specified base",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/log-function-4e82f196-1ca9-4747-8fb0-6c4a3abb3280"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOG10:{description:"Returns the base-10 logarithm of a number",abstract:"Returns the base-10 logarithm of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/log10-function-c75b881b-49dd-44fb-b6f4-37e3486a0211"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MDETERM:{description:"Returns the matrix determinant of an array",abstract:"Returns the matrix determinant of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mdeterm-function-e7bfa857-3834-422b-b871-0ffd03717020"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINVERSE:{description:"Returns the matrix inverse of an array",abstract:"Returns the matrix inverse of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/minverse-function-11f55086-adde-4c9f-8eb9-59da2d72efc6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MMULT:{description:"Returns the matrix product of two arrays",abstract:"Returns the matrix product of two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mmult-function-40593ed7-a3cd-4b6b-b9a3-e4ad3c7245eb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MOD:{description:"Returns the remainder from division",abstract:"Returns the remainder from division",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mod-function-9b6cd169-b6ee-406a-a97b-edf2a9dc24f3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MROUND:{description:"Returns a number rounded to the desired multiple",abstract:"Returns a number rounded to the desired multiple",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mround-function-c299c3b0-15a5-426d-aa4b-d2d5b3baf427"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MULTINOMIAL:{description:"Returns the multinomial of a set of numbers",abstract:"Returns the multinomial of a set of numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/multinomial-function-6fa6373c-6533-41a2-a45e-a56db1db1bf6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MUNIT:{description:"Returns the unit matrix or the specified dimension",abstract:"Returns the unit matrix or the specified dimension",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/munit-function-c9fe916a-dc26-4105-997d-ba22799853a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODD:{description:"Rounds a number up to the nearest odd integer",abstract:"Rounds a number up to the nearest odd integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/odd-function-deae64eb-e08a-4c88-8b40-6d0b42575c98"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PI:{description:"Returns the value of pi",abstract:"Returns the value of pi",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pi-function-264199d0-a3ba-46b8-975a-c4a04608989b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POWER:{description:"Returns the result of a number raised to a power",abstract:"Returns the result of a number raised to a power",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/power-function-d3f2908b-56f4-4c3f-895a-07fb519c362a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRODUCT:{description:"Multiplies its arguments",abstract:"Multiplies its arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/product-function-8e6b5b24-90ee-4650-aeec-80982a0512ce"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUOTIENT:{description:"Returns the integer portion of a division",abstract:"Returns the integer portion of a division",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/quotient-function-9f7bf099-2a18-4282-8fa4-65290cc99dee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RADIANS:{description:"Converts degrees to radians",abstract:"Converts degrees to radians",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/radians-function-ac409508-3d48-45f5-ac02-1497c92de5bf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RAND:{description:"Returns a random number between 0 and 1",abstract:"Returns a random number between 0 and 1",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rand-function-4cbfa695-8869-4788-8d90-021ea9f5be73"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANDARRAY:{description:"Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.",abstract:"Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/randarray-function-21261e55-3bec-4885-86a6-8b0a47fd4d33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANDBETWEEN:{description:"Returns a random number between the numbers you specify",abstract:"Returns a random number between the numbers you specify",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/randbetween-function-4cc7f0d1-87dc-4eb7-987f-a469ab381685"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROMAN:{description:"Converts an Arabic numeral to Roman, as text",abstract:"Converts an Arabic numeral to Roman, as text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/roman-function-d6b0b99e-de46-4704-a518-b45a0f8b56f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUND:{description:"Rounds a number to a specified number of digits",abstract:"Rounds a number to a specified number of digits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/round-function-c018c5d8-40fb-4053-90b1-b3e7f61a213c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUNDDOWN:{description:"Rounds a number down, toward zero",abstract:"Rounds a number down, toward zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rounddown-function-2ec94c73-241f-4b01-8c6f-17e6d7968f53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUNDUP:{description:"Rounds a number up, away from zero",abstract:"Rounds a number up, away from zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/roundup-function-f8bc9b23-e795-47db-8703-db171d0c42a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEC:{description:"Returns the secant of an angle",abstract:"Returns the secant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sec-function-ff224717-9c87-4170-9b58-d069ced6d5f7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SECH:{description:"Returns the hyperbolic secant of an angle",abstract:"Returns the hyperbolic secant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sech-function-e05a789f-5ff7-4d7f-984a-5edb9b09556f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SERIESSUM:{description:"Returns the sum of a power series based on the formula",abstract:"Returns the sum of a power series based on the formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/seriessum-function-a3ab25b5-1093-4f5b-b084-96c49087f637"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEQUENCE:{description:"Generates a list of sequential numbers in an array, such as 1, 2, 3, 4",abstract:"Generates a list of sequential numbers in an array, such as 1, 2, 3, 4",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sequence-function-57467a98-57e0-4817-9f14-2eb78519ca90"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SIGN:{description:"Returns the sign of a number",abstract:"Returns the sign of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sign-function-109c932d-fcdc-4023-91f1-2dd0e916a1d8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SIN:{description:"Returns the sine of the given angle",abstract:"Returns the sine of the given angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sin-function-cf0e3432-8b9e-483c-bc55-a76651c95602"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SINH:{description:"Returns the hyperbolic sine of a number",abstract:"Returns the hyperbolic sine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sinh-function-1e4e8b9f-2b65-43fc-ab8a-0a37f4081fa7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SQRT:{description:"Returns a positive square root",abstract:"Returns a positive square root",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sqrt-function-654975c2-05c4-4831-9a24-2c65e4040fdf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SQRTPI:{description:"Returns the square root of (number * pi)",abstract:"Returns the square root of (number * pi)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sqrtpi-function-1fb4e63f-9b51-46d6-ad68-b3e7a8b519b4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUBTOTAL:{description:"Returns a subtotal in a list or database",abstract:"Returns a subtotal in a list or database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/subtotal-function-7b027003-f060-4ade-9040-e478765b9939"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUM:{description:"You can add individual values, cell references or ranges or a mix of all three.",abstract:"Adds its arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sum-function-043e1c7d-7726-4e80-8f32-07b23e057f89"}],functionParameter:{number1:{name:"number1",detail:"The first number you want to add. The number can be like 4, a cell reference like B6, or a cell range like B2:B8."},number2:{name:"number2",detail:"This is the second number you want to add. You can specify up to 255 numbers in this way."}}},SUMIF:{description:"Sum the values in a range that meet criteria that you specify.",abstract:"Adds the cells specified by a given criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumif-function-169b8c99-c05c-4483-a712-1697a653039b"}],functionParameter:{range:{name:"range",detail:"The range of cells that you want evaluated by criteria."},criteria:{name:"criteria",detail:"The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. Wildcard characters can be included - a question mark (?) to match any single character, an asterisk (*) to match any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character."},sum_range:{name:"sum_range",detail:"The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied)."}}},SUMIFS:{description:"Adds the cells in a range that meet multiple criteria",abstract:"Adds the cells in a range that meet multiple criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumifs-function-c9e748f5-7ea7-455d-9406-611cebce642b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMPRODUCT:{description:"Returns the sum of the products of corresponding array components",abstract:"Returns the sum of the products of corresponding array components",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumproduct-function-16753e75-9f68-4874-94ac-4d2145a2fd2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMSQ:{description:"Returns the sum of the squares of the arguments",abstract:"Returns the sum of the squares of the arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumsq-function-e3313c02-51cc-4963-aae6-31442d9ec307"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMX2MY2:{description:"Returns the sum of the difference of squares of corresponding values in two arrays",abstract:"Returns the sum of the difference of squares of corresponding values in two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumx2my2-function-9e599cc5-5399-48e9-a5e0-e37812dfa3e9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMX2PY2:{description:"Returns the sum of the sum of squares of corresponding values in two arrays",abstract:"Returns the sum of the sum of squares of corresponding values in two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumx2py2-function-826b60b4-0aa2-4e5e-81d2-be704d3d786f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMXMY2:{description:"Returns the sum of squares of differences of corresponding values in two arrays",abstract:"Returns the sum of squares of differences of corresponding values in two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumxmy2-function-9d144ac1-4d79-43de-b524-e2ecee23b299"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TAN:{description:"Returns the tangent of a number",abstract:"Returns the tangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tan-function-08851a40-179f-4052-b789-d7f699447401"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TANH:{description:"Returns the hyperbolic tangent of a number",abstract:"Returns the hyperbolic tangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tanh-function-017222f0-a0c3-4f69-9787-b3202295dc6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRUNC:{description:"Truncates a number to an integer",abstract:"Truncates a number to an integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/trunc-function-8b86a64c-3127-43db-ba14-aa5ceb292721"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ri={AVEDEV:{description:"Returns the average of the absolute deviations of data points from their mean",abstract:"Returns the average of the absolute deviations of data points from their mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/avedev-function-58fe8d65-2a84-4dc7-8052-f3f87b5c6639"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGE:{description:"Returns the average (arithmetic mean) of the arguments.",abstract:"Returns the average of its arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/average-function-047bac88-d466-426c-a32b-8f33eb960cf6"}],functionParameter:{number1:{name:"number1",detail:"The first number, cell reference, or range for which you want the average."},number2:{name:"number2",detail:"Additional numbers, cell references or ranges for which you want the average, up to a maximum of 255."}}},AVERAGEA:{description:"Returns the average of its arguments, including numbers, text, and logical values",abstract:"Returns the average of its arguments, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/averagea-function-f5f84098-d453-4f4c-bbba-3d2c66356091"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGEIF:{description:"Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria",abstract:"Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/averageif-function-faec8e2e-0dec-4308-af69-f5576d8ac642"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGEIFS:{description:"Returns the average (arithmetic mean) of all cells that meet multiple criteria",abstract:"Returns the average (arithmetic mean) of all cells that meet multiple criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/averageifs-function-48910c45-1fc0-4389-a028-f7c5c3001690"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETA_DIST:{description:"Returns the beta cumulative distribution function",abstract:"Returns the beta cumulative distribution function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/beta-dist-function-11188c9c-780a-42c7-ba43-9ecb5a878d31"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETA_INV:{description:"Returns the inverse of the cumulative distribution function for a specified beta distribution",abstract:"Returns the inverse of the cumulative distribution function for a specified beta distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/beta-inv-function-e84cb8aa-8df0-4cf6-9892-83a341d252eb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_DIST:{description:"Returns the individual term binomial distribution probability",abstract:"Returns the individual term binomial distribution probability",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binom-dist-function-c5ae37b6-f39c-4be2-94c2-509a1480770c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_DIST_RANGE:{description:"Returns the probability of a trial result using a binomial distribution",abstract:"Returns the probability of a trial result using a binomial distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binom-dist-range-function-17331329-74c7-4053-bb4c-6653a7421595"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_INV:{description:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",abstract:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binom-inv-function-80a0370c-ada6-49b4-83e7-05a91ba77ac9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_DIST:{description:"Returns the cumulative beta probability density function",abstract:"Returns the cumulative beta probability density function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-dist-function-8486b05e-5c05-4942-a9ea-f6b341518732"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_DIST_RT:{description:"Returns the one-tailed probability of the chi-squared distribution",abstract:"Returns the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-dist-rt-function-dc4832e8-ed2b-49ae-8d7c-b28d5804c0f2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_INV:{description:"Returns the cumulative beta probability density function",abstract:"Returns the cumulative beta probability density function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-inv-function-400db556-62b3-472d-80b3-254723e7092f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_INV_RT:{description:"Returns the inverse of the one-tailed probability of the chi-squared distribution",abstract:"Returns the inverse of the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-inv-rt-function-435b5ed8-98d5-4da6-823f-293e2cbc94fe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_TEST:{description:"Returns the test for independence",abstract:"Returns the test for independence",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-test-function-2e8a7861-b14a-4985-aa93-fb88de3f260f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE_NORM:{description:"Returns the confidence interval for a population mean",abstract:"Returns the confidence interval for a population mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/confidence-norm-function-7cec58a6-85bb-488d-91c3-63828d4fbfd4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE_T:{description:"Returns the confidence interval for a population mean, using a Student's t distribution",abstract:"Returns the confidence interval for a population mean, using a Student's t distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/confidence-t-function-e8eca395-6c3a-4ba9-9003-79ccc61d3c53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CORREL:{description:"Returns the correlation coefficient between two data sets",abstract:"Returns the correlation coefficient between two data sets",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/correl-function-995dcef7-0c0a-4bed-a3fb-239d7b68ca92"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNT:{description:"Counts the number of cells that contain numbers, and counts numbers within the list of arguments.",abstract:"Counts how many numbers are in the list of arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/count-function-a59cd7fc-b623-4d93-87a4-d23bf411294c"}],functionParameter:{value1:{name:"value1",detail:"The first item, cell reference, or range within which you want to count numbers."},value2:{name:"value2",detail:"Up to 255 additional items, cell references, or ranges within which you want to count numbers."}}},COUNTA:{description:`Counts cells containing any type of information, including error values and empty text ("")
|
|
9
|
+
*/var zt=T,Ut=Symbol.for("react.element"),Vt=Symbol.for("react.fragment"),jt=Object.prototype.hasOwnProperty,qt=zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ht={key:!0,ref:!0,__self:!0,__source:!0};function Ze(i,e,t){var n,r={},a=null,o=null;t!==void 0&&(a=""+t),e.key!==void 0&&(a=""+e.key),e.ref!==void 0&&(o=e.ref);for(n in e)jt.call(e,n)&&!Ht.hasOwnProperty(n)&&(r[n]=e[n]);if(i&&i.defaultProps)for(n in e=i.defaultProps,e)r[n]===void 0&&(r[n]=e[n]);return{$$typeof:Ut,type:i,key:a,ref:o,props:r,_owner:qt.current}}Pe.Fragment=Vt;Pe.jsx=Ze;Pe.jsxs=Ze;Je.exports=Pe;var g=Je.exports;const $t="univer-formula-error-function",Wt={formulaErrorFunction:$t};function Gt(){const[i,e]=T.useState(!1),[t,n]=T.useState({left:0,top:0}),r=L.useDependency(ee),a=L.useDependency(O.ICellEditorManagerService);return T.useEffect(()=>{const o=r.help$.subscribe(c=>{const u=a.getState();if(!u)return;const{visible:m}=c;if(!m){e(m);return}const{endX:d=0,startY:p=0}=u;n({left:d,top:p}),e(m)});return()=>{o==null||o.unsubscribe()}},[]),i?g.jsx("div",{className:Wt.formulaErrorFunction,style:{left:t.left,top:t.top}}):null}var q=function(){return q=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},q.apply(this,arguments)},Kt=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t},ce=T.forwardRef(function(i,e){var t=i.icon,n=i.id,r=i.className,a=i.extend,o=Kt(i,["icon","id","className","extend"]),c="univerjs-icon univerjs-icon-".concat(n," ").concat(r||"").trim(),u=T.useRef("_".concat(Qt()));return et(t,"".concat(n),{defIds:t.defIds,idSuffix:u.current},q({ref:e,className:c},o),a)});function et(i,e,t,n,r){return T.createElement(i.tag,q(q({key:e},Yt(i,t,r)),n),(Xt(i,t).children||[]).map(function(a,o){return et(a,"".concat(e,"-").concat(i.tag,"-").concat(o),t,void 0,r)}))}function Yt(i,e,t){var n=q({},i.attrs);t!=null&&t.colorChannel1&&n.fill==="colorChannel1"&&(n.fill=t.colorChannel1);var r=e.defIds;return!r||r.length===0||(i.tag==="use"&&n["xlink:href"]&&(n["xlink:href"]=n["xlink:href"]+e.idSuffix),Object.entries(n).forEach(function(a){var o=a[0],c=a[1];typeof c=="string"&&(n[o]=c.replace(/url\(#(.*)\)/,"url(#$1".concat(e.idSuffix,")")))})),n}function Xt(i,e){var t,n=e.defIds;return!n||n.length===0?i:i.tag==="defs"&&(!((t=i.children)===null||t===void 0)&&t.length)?q(q({},i),{children:i.children.map(function(r){return typeof r.attrs.id=="string"&&n&&n.indexOf(r.attrs.id)>-1?q(q({},r),{attrs:q(q({},r.attrs),{id:r.attrs.id+e.idSuffix})}):r})}):i}function Qt(){return Math.random().toString(36).substring(2,8)}ce.displayName="UniverIcon";var Jt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M14.6152 4.52067C14.8732 4.77869 14.8732 5.19703 14.6152 5.45505L6.61862 13.4514C6.46241 13.6077 6.20915 13.6077 6.05294 13.4514L1.73512 9.13354C1.4771 8.87551 1.4771 8.45718 1.73513 8.19915C1.99315 7.94113 2.41149 7.94114 2.66951 8.19916L6.19436 11.7241C6.27247 11.8022 6.3991 11.8022 6.47721 11.7241L13.6808 4.52067C13.9388 4.26264 14.3571 4.26264 14.6152 4.52067Z",fillRule:"evenodd",clipRule:"evenodd"}}]},tt=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"check-mark-single",ref:e,icon:Jt}))});tt.displayName="CheckMarkSingle";const Zt=tt;var en={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M5.48712 4.59907C5.23328 4.34523 4.82172 4.34523 4.56788 4.59907C4.31404 4.85291 4.31404 5.26447 4.56788 5.51831L7.9973 8.94773L4.56773 12.3773C4.31389 12.6311 4.31389 13.0427 4.56773 13.2965C4.82157 13.5504 5.23313 13.5504 5.48697 13.2965L8.91654 9.86697L12.3461 13.2965C12.5999 13.5503 13.0114 13.5503 13.2653 13.2965C13.5191 13.0426 13.5191 12.6311 13.2653 12.3772L9.83577 8.94773L13.2651 5.51836C13.519 5.26452 13.519 4.85296 13.2651 4.59912C13.0113 4.34528 12.5997 4.34528 12.3459 4.59912L8.91654 8.02849L5.48712 4.59907Z"}}]},nt=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"close-single",ref:e,icon:en}))});nt.displayName="CloseSingle";const tn=nt;var nn={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"mask",attrs:{id:"mask0_102_891",style:{maskType:"alpha"},width:17,height:17,x:0,y:0,maskUnits:"userSpaceOnUse"},children:[{tag:"path",attrs:{fill:"#DCDCDC",d:"M0.51 0.5H16.51V16.5H0.51z"}}]},{tag:"g",attrs:{fill:"currentColor",mask:"url(#mask0_102_891)"},children:[{tag:"path",attrs:{d:"M9.30291 5.78907C9.30291 6.22898 8.94629 6.5856 8.50637 6.5856 8.06646 6.5856 7.70984 6.22898 7.70984 5.78907 7.70984 5.34916 8.06646 4.99254 8.50637 4.99254 8.94629 4.99254 9.30291 5.34916 9.30291 5.78907zM9.1436 8.17867C9.1436 7.82674 8.8583 7.54144 8.50637 7.54144 8.15444 7.54144 7.86915 7.82674 7.86915 8.17867V12.002C7.86915 12.354 8.15444 12.6392 8.50637 12.6392 8.8583 12.6392 9.1436 12.354 9.1436 12.002V8.17867z"}},{tag:"path",attrs:{d:"M1.49689 8.49728C1.49689 4.62605 4.63514 1.48779 8.50637 1.48779C12.3776 1.48779 15.5159 4.62605 15.5159 8.49728C15.5159 12.3685 12.3776 15.5068 8.50637 15.5068C4.63514 15.5068 1.49689 12.3685 1.49689 8.49728ZM8.50637 2.76224C5.339 2.76224 2.77134 5.32991 2.77134 8.49728C2.77134 11.6646 5.339 14.2323 8.50637 14.2323C11.6737 14.2323 14.2414 11.6646 14.2414 8.49728C14.2414 5.32991 11.6737 2.76224 8.50637 2.76224Z",fillRule:"evenodd",clipRule:"evenodd"}}]}]},rt=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"details-single",ref:e,icon:nn}))});rt.displayName="DetailsSingle";const rn=rt;var an={tag:"svg",attrs:{fill:"none",viewBox:"0 0 17 17",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M5.52628 3.57095C5.81918 3.26411 6.29405 3.26411 6.58695 3.57095L11.0869 8.28525C11.3798 8.59209 11.3798 9.08958 11.0869 9.39642L6.51623 14.04C6.22334 14.3468 5.74846 14.3468 5.45557 14.04C5.16268 13.7331 5.16268 13.2357 5.45557 12.9288L9.35939 8.979C9.43544 8.90205 9.43652 8.77857 9.36182 8.70031L5.52628 4.68212C5.23339 4.37528 5.23339 3.87779 5.52628 3.57095Z",fillRule:"evenodd",clipRule:"evenodd"}}]},it=T.forwardRef(function(i,e){return T.createElement(ce,Object.assign({},i,{id:"more-single",ref:e,icon:an}))});it.displayName="MoreSingle";const on=it,sn="univer-formula-help-function",cn="univer-formula-help-function-title",un="univer-formula-help-function-title-icons",mn="univer-formula-help-function-title-icon",fn="univer-formula-help-function-content",ln="univer-formula-help-function-content-inner",dn="univer-formula-help-function-content-params",bn="univer-formula-help-function-content-params-title",pn="univer-formula-help-function-content-params-detail",hn="univer-formula-help-function-active",En="univer-formula-help-decorator",j={formulaHelpFunction:sn,formulaHelpFunctionTitle:cn,formulaHelpFunctionTitleIcons:un,formulaHelpFunctionTitleIcon:mn,formulaHelpFunctionContent:fn,formulaHelpFunctionContentInner:ln,formulaHelpFunctionContentParams:dn,formulaHelpFunctionContentParamsTitle:bn,formulaHelpFunctionContentParamsDetail:pn,formulaHelpFunctionActive:hn,formulaHelpDecorator:En};function Rn(){const[i,e]=T.useState(!1),[t,n]=T.useState(!0),[r,a]=T.useState(!0),[o,c]=T.useState(0),[u,m]=T.useState([0,0]),[d,p]=T.useState({left:0,top:0}),[f,h]=T.useState(null),R=L.useDependency(ee),S=L.useDependency(O.ICellEditorManagerService),l=L.useDependency(s.LocaleService),I=L.useDependency(O.IFormulaEditorManagerService),E=L.useDependency(s.IContextService),v=l.t("formula.prompt.required"),y=l.t("formula.prompt.optional");T.useEffect(()=>{const C=R.help$.subscribe(B=>{const{visible:M,paramIndex:F,functionInfo:_}=B;if(!M){e(M);return}const x=E.getContextValue(s.FOCUSING_FORMULA_EDITOR)?I.getPosition():S.getRect();if(x==null)return;const{left:H,top:U,height:K}=x,te={functionName:_.functionName,functionType:_.functionType,description:l.t(_.description),abstract:l.t(_.abstract),functionParameter:_.functionParameter.map(Y=>({name:l.t(Y.name),detail:l.t(Y.detail),example:Y.example,require:Y.require,repeat:Y.repeat}))};m([H,U+K]),c(F),h(te),p({left:H,top:U}),e(M)});return()=>{C==null||C.unsubscribe()}},[]);function k(C){c(C)}return g.jsx(g.Fragment,{children:r?g.jsx(Z.Popup,{visible:i,offset:u,children:f?g.jsxs("div",{className:j.formulaHelpFunction,children:[g.jsxs("div",{className:j.formulaHelpFunctionTitle,children:[g.jsx(gn,{prefix:f.functionName,value:f.functionParameter,active:o,onClick:k}),g.jsxs("div",{className:j.formulaHelpFunctionTitleIcons,children:[g.jsx("div",{className:j.formulaHelpFunctionTitleIcon,style:{transform:t?"rotateZ(-90deg)":"rotateZ(90deg)"},onClick:()=>n(!t),children:g.jsx(on,{})}),g.jsx("div",{className:j.formulaHelpFunctionTitleIcon,onClick:()=>a(!r),children:g.jsx(tn,{})})]})]}),g.jsx("div",{className:j.formulaHelpFunctionContent,style:{height:t?"unset":0,padding:t?"revert-layer":0},children:g.jsxs("div",{className:j.formulaHelpFunctionContentInner,children:[g.jsx(_e,{title:l.t("formula.prompt.helpExample"),value:`${f.functionName}(${f.functionParameter.map(C=>C.example).join(",")})`}),g.jsx(_e,{title:l.t("formula.prompt.helpAbstract"),value:f.description}),f&&f.functionParameter&&f.functionParameter.map((C,B)=>g.jsx(_e,{className:o===B?j.formulaHelpFunctionActive:"",title:C.name,value:`${C.require?v:y} ${C.detail}`},B))]})})]}):g.jsx(g.Fragment,{})}):i?g.jsx("div",{className:j.formulaHelpDecorator,onClick:()=>a(!r),style:{left:d.left-24,top:d.top},children:g.jsx(rn,{})}):g.jsx(g.Fragment,{})})}const _e=i=>g.jsxs("div",{className:j.formulaHelpFunctionContentParams,children:[g.jsx("div",{className:`${j.formulaHelpFunctionContentParamsTitle} ${i.className}`,children:i.title}),g.jsx("div",{className:j.formulaHelpFunctionContentParamsDetail,children:i.value})]}),gn=i=>{const{prefix:e,value:t,active:n,onClick:r}=i;return g.jsxs("div",{children:[g.jsxs("span",{children:[e,"("]}),t&&t.map((a,o)=>g.jsxs("span",{children:[g.jsx("span",{className:n===o?j.formulaHelpFunctionActive:"",onClick:()=>r(o),children:a.repeat?`[${a.name},...]`:a.name}),o===t.length-1?"":","]},o)),")"]})},In="univer-formula-search-function",vn="univer-formula-search-function-item",Sn="univer-formula-search-function-item-name",Pn="univer-formula-search-function-item-name-light",Cn="univer-formula-search-function-item-desc",Bn="univer-formula-search-function-item-active",Q={formulaSearchFunction:In,formulaSearchFunctionItem:vn,formulaSearchFunctionItemName:Sn,formulaSearchFunctionItemNameLight:Pn,formulaSearchFunctionItemDesc:Cn,formulaSearchFunctionItemActive:Bn};function kn(){const[i,e]=T.useState(!1),[t,n]=T.useState(0),[r,a]=T.useState([0,0]),[o,c]=T.useState([]),[u,m]=T.useState(""),d=L.useDependency(ee),p=L.useDependency(O.ICellEditorManagerService),f=L.useDependency(O.IFormulaEditorManagerService),h=L.useDependency(s.IContextService);T.useEffect(()=>{let l=[],I=0;const E=d.search$.subscribe(k=>{const{visible:C,searchText:B,searchList:M}=k;if(!C){e(C);return}const _=h.getContextValue(s.FOCUSING_FORMULA_EDITOR)?f.getPosition():p.getRect();if(_==null)return;const{left:w,top:x,height:H}=_;m(B),c(M),l=M,a([w,x+H]),e(C),n(0),I=0}),v=d.navigate$.subscribe(k=>{const{direction:C}=k;if(C===s.Direction.UP){let B=I-1;B=B<0?l.length-1:B,n(B),I=B}else if(C===s.Direction.DOWN){let B=I+1;B=B>=l.length?0:B,n(B),I=B}}),y=d.accept$.subscribe(k=>{const C=l[I].name;d.acceptFormulaName(C)});return()=>{E==null||E.unsubscribe(),v==null||v.unsubscribe(),y==null||y.unsubscribe()}},[]);function R(l){n(l)}function S(){n(-1)}return g.jsx(Z.Popup,{visible:i,offset:r,children:g.jsx("ul",{className:Q.formulaSearchFunction,children:o.map((l,I)=>g.jsxs("li",{className:t===I?`${Q.formulaSearchFunctionItem} ${Q.formulaSearchFunctionItemActive}`:Q.formulaSearchFunctionItem,onMouseEnter:()=>R(I),onMouseLeave:S,onClick:()=>d.acceptFormulaName(l.name),children:[g.jsxs("span",{className:Q.formulaSearchFunctionItemName,children:[g.jsx("span",{className:Q.formulaSearchFunctionItemNameLight,children:u}),g.jsx("span",{children:l.name.slice(u.length)})]}),g.jsx("span",{className:Q.formulaSearchFunctionItemDesc,children:l.desc})]},I))})})}function _n(){return g.jsxs(g.Fragment,{children:[g.jsx(kn,{}),g.jsx(Rn,{}),g.jsx(Gt,{})]})}const Dn="univer-formula-more-functions",yn="univer-formula-more-functions-operation",je={formulaMoreFunctions:Dn,formulaMoreFunctionsOperation:yn};function at(i){const{prefix:e,value:t}=i;return g.jsxs("div",{children:[g.jsxs("span",{children:[e,"("]}),t&&t.map((n,r)=>g.jsxs("span",{children:[g.jsx("span",{children:n.repeat?`[${n.name},...]`:n.name}),r===t.length-1?"":","]},r)),")"]})}const Tn="univer-formula-function-params",Nn="univer-formula-function-params-title",An="univer-formula-function-params-detail",De={formulaFunctionParams:Tn,formulaFunctionParamsTitle:Nn,formulaFunctionParamsDetail:An};function ae(i){const{className:e,value:t,title:n}=i;return g.jsxs("div",{className:De.formulaFunctionParams,children:[g.jsx("div",{className:`${De.formulaFunctionParamsTitle} ${e}`,children:n}),g.jsx("div",{className:De.formulaFunctionParamsDetail,children:t})]})}const Mn="univer-formula-input-params-list",On="univer-formula-input-params-list-item-name",xn="univer-formula-input-params-list-item-selector",ie={formulaInputParamsList:Mn,formulaInputParamsListItemName:On,formulaInputParamsListItemSelector:xn};function wn(i){const{functionInfo:e,onChange:t}=i;if(!e)return null;const[n,r]=T.useState([]),[a,o]=T.useState(e.functionParameter),[c,u]=T.useState(-1);function m(p,f){const h=[...n];h[f]=p,r(h),t(h)}function d(p){if(p===a.length-1&&a[p].repeat){const f=[...a];f.push(a[p]),o(f)}u(p)}return g.jsxs("div",{className:ie.formulaInputParams,children:[g.jsx("div",{className:ie.formulaInputParamsList,children:a.map((p,f)=>g.jsxs("div",{children:[g.jsx("div",{className:ie.formulaInputParamsListItemName,children:p.name}),g.jsx("div",{className:ie.formulaInputParamsListItemSelector,children:g.jsx(O.RangeSelector,{onChange:h=>m(h,f),onActive:()=>d(f)})})]},f))}),g.jsx("div",{className:ie.formulaInputParamsInfo,children:g.jsx(ae,{title:c===-1?g.jsx(at,{prefix:e.functionName,value:a}):a[c].name,value:c===-1?e.description:a[c].detail})})]})}const Fn=[],Ln=[],zn=[],Un=[],Vn=[],jn=[],qn=[],Hn=[],$n=[],Wn=[],Gn=[{functionName:P.FUNCTION_NAMES_MATH.SUM,aliasFunctionName:"formula.functionList.SUM.aliasFunctionName",functionType:P.FunctionType.Math,description:"formula.functionList.SUM.description",abstract:"formula.functionList.SUM.abstract",functionParameter:[{name:"formula.functionList.SUM.functionParameter.number1.name",detail:"formula.functionList.SUM.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.SUM.functionParameter.number2.name",detail:"formula.functionList.SUM.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_MATH.SUMIF,aliasFunctionName:"formula.functionList.SUMIF.aliasFunctionName",functionType:P.FunctionType.Math,description:"formula.functionList.SUMIF.description",abstract:"formula.functionList.SUMIF.abstract",functionParameter:[{name:"formula.functionList.SUMIF.functionParameter.range.name",detail:"formula.functionList.SUMIF.functionParameter.range.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.SUMIF.functionParameter.criteria.name",detail:"formula.functionList.SUMIF.functionParameter.criteria.detail",example:">5",require:1,repeat:0},{name:"formula.functionList.SUMIF.functionParameter.sum_range.name",detail:"formula.functionList.SUMIF.functionParameter.sum_range.detail",example:"B1:B20",require:0,repeat:0}]}],Kn=[{functionName:P.FUNCTION_NAMES_STATISTICAL.AVERAGE,aliasFunctionName:"formula.functionList.AVERAGE.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.AVERAGE.description",abstract:"formula.functionList.AVERAGE.abstract",functionParameter:[{name:"formula.functionList.AVERAGE.functionParameter.number1.name",detail:"formula.functionList.AVERAGE.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.AVERAGE.functionParameter.number2.name",detail:"formula.functionList.AVERAGE.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.MAX,aliasFunctionName:"formula.functionList.MAX.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.MAX.description",abstract:"formula.functionList.MAX.abstract",functionParameter:[{name:"formula.functionList.MAX.functionParameter.number1.name",detail:"formula.functionList.MAX.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.MAX.functionParameter.number2.name",detail:"formula.functionList.MAX.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.COUNT,aliasFunctionName:"formula.functionList.COUNT.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.COUNT.description",abstract:"formula.functionList.COUNT.abstract",functionParameter:[{name:"formula.functionList.COUNT.functionParameter.value1.name",detail:"formula.functionList.COUNT.functionParameter.value1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.COUNT.functionParameter.value2.name",detail:"formula.functionList.COUNT.functionParameter.value2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.MIN,aliasFunctionName:"formula.functionList.MIN.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.MIN.description",abstract:"formula.functionList.MIN.abstract",functionParameter:[{name:"formula.functionList.MIN.functionParameter.number1.name",detail:"formula.functionList.MIN.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.MIN.functionParameter.number2.name",detail:"formula.functionList.MIN.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]},{functionName:P.FUNCTION_NAMES_STATISTICAL.COUNTA,aliasFunctionName:"formula.functionList.COUNTA.aliasFunctionName",functionType:P.FunctionType.Statistical,description:"formula.functionList.COUNT_A.description",abstract:"formula.functionList.COUNT_A.abstract",functionParameter:[{name:"formula.functionList.COUNT_A.functionParameter.number1.name",detail:"formula.functionList.COUNT_A.functionParameter.number1.detail",example:"A1:A20",require:1,repeat:0},{name:"formula.functionList.COUNT_A.functionParameter.number2.name",detail:"formula.functionList.COUNT_A.functionParameter.number2.detail",example:"B2:B10",require:0,repeat:1}]}],Yn=[],Xn=[],Qn=[],Jn=[...qn,...Vn,...Gn,...Kn,...Wn,...Un,...Yn,...$n,...Hn,...jn,...zn,...Ln,...Qn,...Fn,...Xn];function Zn(i,e){return Object.keys(i).filter(t=>isNaN(Number(t))).map(t=>({label:e.t(`formula.functionType.${t.toLocaleLowerCase()}`),value:`${i[t]}`}))}function er(i,e){let t="";return i.aliasFunctionName?(t=e.t(i.aliasFunctionName),t===i.aliasFunctionName&&(t=i.functionName)):t=i.functionName,t}var tr=Object.defineProperty,nr=Object.getOwnPropertyDescriptor,rr=(i,e,t,n)=>{for(var r=n>1?void 0:n?nr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&tr(e,t,r),r},qe=(i,e)=>(t,n)=>e(t,n,i);const Le=A.createIdentifier("formula-ui.description-service");let Oe=class{constructor(i,e,t){this._description=i,this._functionService=e,this._localeService=t,this._initialize(),this._registerDescription()}dispose(){this._localeService.localeChanged$.complete()}getDescriptions(){return this._functionService.getDescriptions()}hasFunction(i){return this._functionService.getDescriptions().get(i.toLocaleUpperCase())!==void 0}getFunctionInfo(i){return this._functionService.getDescriptions().get(i.toLocaleUpperCase())}getSearchListByName(i){const e=[],t=this._functionService.getDescriptions();return i=i.toLocaleUpperCase(),t.forEach(n=>{const{functionName:r,abstract:a}=n;r.indexOf(i)>-1&&e.push({name:r,desc:a})}),e}getSearchListByType(i){const e=[];return this._functionService.getDescriptions().forEach(n=>{const{functionName:r,functionType:a,abstract:o}=n;(a===i||i===-1)&&e.push({name:r,desc:o})}),e}_initialize(){this._localeService.localeChanged$.subscribe(()=>{this._registerDescription()})}_registerDescription(){const i=this._localeService,t=Jn.concat(this._description||[]).map(n=>({functionName:er(n,i),functionType:n.functionType,description:i.t(n.description),abstract:i.t(n.abstract),functionParameter:n.functionParameter.map(r=>({name:i.t(r.name),detail:i.t(r.detail),example:r.example,require:r.require,repeat:r.repeat}))}));this._functionService.registerDescriptions(...t)}};Oe=rr([qe(1,P.IFunctionService),qe(2,A.Inject(s.LocaleService))],Oe);const ir="univer-formula-select-function-select",ar="univer-formula-select-function-result",or="univer-formula-select-function-result-item",sr="univer-formula-select-function-result-item-name-light",cr="univer-formula-select-function-result-item-selected",ur="univer-formula-select-function-result-item-active",mr="univer-formula-select-function-content",W={formulaSelectFunctionSelect:ir,formulaSelectFunctionResult:ar,formulaSelectFunctionResultItem:or,formulaSelectFunctionResultItemNameLight:sr,formulaSelectFunctionResultItemSelected:cr,formulaSelectFunctionResultItemActive:ur,formulaSelectFunctionContent:mr};function fr(i){const{onChange:e}=i,t="-1",[n,r]=T.useState(""),[a,o]=T.useState([]),[c,u]=T.useState(0),[m,d]=T.useState(t),[p,f]=T.useState(0),[h,R]=T.useState(null),S=L.useDependency(Le),l=L.useDependency(s.LocaleService),I=Zn(P.FunctionType,l);I.unshift({label:l.t("formula.moreFunctions.allFunctions"),value:t});const E=l.t("formula.prompt.required"),v=l.t("formula.prompt.optional");T.useEffect(()=>{C(t)},[]),T.useEffect(()=>{k(0)},[a]);const y=w=>{if(n.trim()==="")return w;const x=new RegExp(`(${n.toLocaleUpperCase()})`);return w.split(x).filter(Boolean).map((U,K)=>U.match(x)?g.jsx("span",{className:W.formulaSelectFunctionResultItemNameLight,children:U},K):U)},k=w=>{if(a.length===0){R(null);return}f(w);const x=S.getFunctionInfo(a[w].name);if(!x){R(null);return}R(x),e(x)};function C(w){d(w);const x=S.getSearchListByType(+w);o(x)}function B(w){r(w);const x=S.getSearchListByName(w);o(x)}function M(w){if(w.stopPropagation(),w.key==="ArrowDown"){const x=c+1;u(x===a.length?0:x)}else if(w.key==="ArrowUp"){const x=c-1;u(x===-1?a.length-1:x)}else w.key==="Enter"&&k(c)}const F=w=>{u(w)},_=()=>{u(-1)};return g.jsxs("div",{children:[g.jsxs("div",{className:W.formulaSelectFunctionSelect,children:[g.jsx(Z.Select,{value:m,options:I,onChange:C}),g.jsx(Z.Input,{placeholder:l.t("formula.moreFunctions.searchFunctionPlaceholder"),onKeyDown:M,value:n,onChange:B,size:"large",allowClear:!0})]}),g.jsx("ul",{className:W.formulaSelectFunctionResult,onKeyDown:M,tabIndex:-1,children:a.map(({name:w},x)=>g.jsxs("li",{className:c===x?`${W.formulaSelectFunctionResultItem} ${W.formulaSelectFunctionResultItemActive}`:W.formulaSelectFunctionResultItem,onMouseEnter:()=>F(x),onMouseLeave:_,onClick:()=>k(x),children:[p===x&&g.jsx(Zt,{className:W.formulaSelectFunctionResultItemSelected}),g.jsx("span",{className:W.formulaSelectFunctionResultItemName,children:y(w)})]},x))}),h&&g.jsxs("div",{className:W.formulaSelectFunctionContent,children:[g.jsx(ae,{title:h.functionName,value:h.description}),g.jsx(ae,{title:l.t("formula.moreFunctions.syntax"),value:g.jsx(at,{prefix:h.functionName,value:h.functionParameter})}),g.jsx(ae,{title:l.t("formula.prompt.helpExample"),value:`${h.functionName}(${h.functionParameter.map(w=>w.example).join(",")})`}),h.functionParameter&&h.functionParameter.map((w,x)=>g.jsx(ae,{title:w.name,value:`${w.require?E:v} ${w.detail}`},x))]})]})}function lr(){const[i,e]=T.useState(!0),[t,n]=T.useState(!1),[r,a]=T.useState([]),[o,c]=T.useState(null),u=L.useDependency(s.LocaleService);L.useDependency(N.ISidebarService);const m=L.useDependency(se);function d(){e(!i),n(!t)}function p(){m.inputFormula(`=${o==null?void 0:o.functionName}(`)}return g.jsxs("div",{className:je.formulaMoreFunctions,children:[i&&g.jsx(fr,{onChange:c}),t&&g.jsx(wn,{functionInfo:o,onChange:a}),g.jsxs("div",{className:je.formulaMoreFunctionsOperation,children:[t&&g.jsx(Z.Button,{type:"primary",size:"small",onClick:d,children:u.t("formula.moreFunctions.next")}),t&&g.jsx(Z.Button,{size:"small",onClick:d,children:u.t("formula.moreFunctions.prev")}),i&&g.jsx(Z.Button,{type:"primary",size:"small",onClick:p,children:u.t("formula.moreFunctions.confirm")})]})]})}function dr(i){return{id:Fe.id,icon:"FunctionSingle",tooltip:"formula.insert.tooltip",group:N.MenuGroup.TOOLBAR_FORMULAS_INSERT,type:N.MenuItemType.SELECTOR,positions:[N.MenuPosition.TOOLBAR_START],selections:[{label:"SUM",value:"SUM",icon:"SumSingle"},{label:"AVERAGE",value:"AVERAGE",icon:"AvgSingle"},{label:"COUNT",value:"COUNT",icon:"CntSingle"},{label:"MAX",value:"MAX",icon:"MaxSingle"},{label:"MIN",value:"MIN",icon:"MinSingle"}],hidden$:N.getMenuHiddenObservable(i,s.UniverInstanceType.SHEET)}}function br(i){return{id:Qe.id,title:"formula.insert.more",positions:Fe.id,type:N.MenuItemType.BUTTON}}function pr(i){return{id:Ke.id,type:N.MenuItemType.BUTTON,title:"formula.operation.pasteFormula",positions:[O.PASTE_SPECIAL_MENU_ID]}}const ot="meta_key_ctrl_And_Shift",Ce=[N.KeyCode.ARROW_DOWN,N.KeyCode.ARROW_UP,N.KeyCode.ARROW_LEFT,N.KeyCode.ARROW_RIGHT],hr=[...Ce,N.KeyCode.ENTER,N.KeyCode.TAB];function Er(){const i=[];for(const e of hr)i.push({id:re.id,binding:e,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e}});return i}function Rr(){const i=[];for(const e of Ce)i.push({id:re.id,binding:e|N.MetaKeys.SHIFT,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e,metaKey:N.MetaKeys.SHIFT}});return i}function gr(){const i=[];for(const e of Ce)i.push({id:re.id,binding:e|N.MetaKeys.CTRL_COMMAND,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e,metaKey:N.MetaKeys.CTRL_COMMAND}});return i}function Ir(){const i=[];for(const e of Ce)i.push({id:re.id,binding:e|N.MetaKeys.SHIFT|N.MetaKeys.CTRL_COMMAND,preconditions:t=>O.whenEditorInputFormulaActivated(t),staticParameters:{eventType:V.DeviceInputEventType.Keyboard,keycode:e,metaKey:ot}});return i}const vr={id:we.id,binding:N.KeyCode.F4,preconditions:i=>O.whenEditorInputFormulaActivated(i)};var Sr=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor,Cr=(i,e,t,n)=>{for(var r=n>1?void 0:n?Pr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&Sr(e,t,r),r},ne=(i,e)=>(t,n)=>e(t,n,i);let Re=class extends s.Disposable{constructor(i,e,t,n,r,a){super(),this._injector=i,this._menuService=e,this._commandService=t,this._shortcutService=n,this._uiController=r,this._componentManager=a,this._initialize()}_initialize(){this._registerCommands(),this._registerMenus(),this._registerShortcuts(),this._registerComponents()}_registerMenus(){[dr,br,pr].forEach(i=>{this.disposeWithMe(this._menuService.addMenuItem(this._injector.invoke(i)))})}_registerCommands(){[Ye,Ke,Fe,Qe,Me,Ae,re,we].forEach(i=>this.disposeWithMe(this._commandService.registerCommand(i)))}_registerShortcuts(){[...Er(),...Rr(),...gr(),...Ir(),vr].forEach(i=>{this.disposeWithMe(this._shortcutService.registerShortcut(i))})}_registerComponents(){this.disposeWithMe(this._uiController.registerContentComponent(()=>L.connectInjector(_n,this._injector))),this._componentManager.register(Xe,lr)}};Re=Cr([s.OnLifecycle(s.LifecycleStages.Ready,Re),ne(0,A.Inject(A.Injector)),ne(1,N.IMenuService),ne(2,s.ICommandService),ne(3,N.IShortcutService),ne(4,N.IUIController),ne(5,A.Inject(N.ComponentManager))],Re);const He="formula_reference_selection_plugin_name";function ye(i,e,t){const n=i.getCurrentTheme(),r=new s.ColorKit(e).setAlpha(.05).toRgbString();return{id:t,strokeWidth:1.5,stroke:e,fill:r,widgets:{tl:!0,tc:!0,tr:!0,ml:!0,mr:!0,bl:!0,bc:!0,br:!0},widgetSize:6,widgetStrokeWidth:1,widgetStroke:n.colorWhite,hasAutoFill:!1,hasRowHeader:!1,hasColumnHeader:!1}}var Br=Object.defineProperty,kr=Object.getOwnPropertyDescriptor,_r=(i,e,t,n)=>{for(var r=n>1?void 0:n?kr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&Br(e,t,r),r},z=(i,e)=>(t,n)=>e(t,n,i);let ge=class extends s.Disposable{constructor(e,t,n,r,a,o,c,u,m,d,p,f,h,R,S,l){super();D(this,"_formulaRefColors",[]);D(this,"_previousSequenceNodes");D(this,"_previousRangesCount",0);D(this,"_previousInsertRefStringIndex");D(this,"_currentInsertRefStringIndex",-1);D(this,"_currentUnitId");D(this,"_currentSheetId");D(this,"_arrowMoveActionState",0);D(this,"_isSelectionMovingRefSelections",[]);D(this,"_stringColor","");D(this,"_numberColor","");D(this,"_insertSelections",[]);D(this,"_inputPanelState",0);this._commandService=e,this._contextService=t,this._textSelectionRenderManager=n,this._editorBridgeService=r,this._formulaPromptService=a,this._lexerTreeBuilder=o,this._renderManagerService=c,this._themeService=u,this._selectionManagerService=m,this._sheetSkeletonManagerService=d,this._currentUniverService=p,this._selectionRenderService=f,this._descriptionService=h,this._textSelectionManagerService=R,this._formulaInputService=S,this._docViewModelManagerService=l,this._initialize()}dispose(){this._formulaRefColors=[],this._resetTemp()}_resetTemp(){this._previousSequenceNodes=null,this._previousInsertRefStringIndex=null,this._currentUnitId=null,this._currentSheetId=null,this._isSelectionMovingRefSelections=[],this._previousRangesCount=0,this._currentInsertRefStringIndex=-1}_initialize(){this._initialCursorSync(),this._initAcceptFormula(),this._initialFormulaTheme(),this._initialRefSelectionUpdateEvent(),this._initialRefSelectionInsertEvent(),this._initialExitEditor(),this._initialEditorInputChange(),this._commandExecutedListener(),this._cursorStateListener(),this._syncEditorListener()}_initialFormulaTheme(){const e=this._themeService.getCurrentTheme();this._formulaRefColors=[e.loopColor1,e.loopColor2,e.loopColor3,e.loopColor4,e.loopColor5,e.loopColor6,e.loopColor7,e.loopColor8,e.loopColor9,e.loopColor10,e.loopColor11,e.loopColor12],this._numberColor=e.hyacinth700,this._stringColor=e.verdancy800}_initialCursorSync(){this.disposeWithMe(s.toDisposable(this._textSelectionManagerService.textSelection$.subscribe(e=>{if(this._editorBridgeService.isVisible().visible===!1||this._formulaInputService.isSelectionMoving()||(e==null?void 0:e.unitId)==null||![s.DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,s.DOCS_NORMAL_EDITOR_UNIT_ID_KEY].includes(e.unitId))return;const n=this._getCurrentBody(),r=(n==null?void 0:n.dataStream)||"";this._contextSwitch(r),this._changeKeepVisibleHideState(),this._switchSelectionPlugin(),!this._formulaInputService.isLockedSelectionChange()&&(this._highlightFormula(),this._changeFunctionPanelState())})))}_initialEditorInputChange(){this.disposeWithMe(s.toDisposable(this._textSelectionRenderManager.onInputBefore$.subscribe(e=>{this._previousSequenceNodes=null,this._previousInsertRefStringIndex=null,this._selectionRenderService.enableSkipRemainLast();const t=e==null?void 0:e.event;t!=null&&([N.KeyCode.ARROW_DOWN,N.KeyCode.ARROW_UP,N.KeyCode.ARROW_LEFT,N.KeyCode.ARROW_RIGHT].includes(t.which)?this._inputPanelState=2:(this._arrowMoveActionState!==1&&(this._arrowMoveActionState=2),this._inputPanelState=1))})))}_initialExitEditor(){this.disposeWithMe(s.toDisposable(this._editorBridgeService.afterVisible$.subscribe(e=>{if(e.visible===!0){const{unitId:n,sheetId:r}=this._getCurrentUnitIdAndSheetId();this._currentUnitId==null&&(this._currentUnitId=n),this._currentSheetId==null&&(this._currentSheetId=r);return}const t=this._selectionManagerService.getCurrent();if((t==null?void 0:t.pluginName)===b.NORMAL_SELECTION_PLUGIN_NAME){this._disableForceKeepVisible();return}this._selectionManagerService.clear(),this._selectionManagerService.changePlugin(b.NORMAL_SELECTION_PLUGIN_NAME),this._updateEditorModel(`\r
|
|
10
|
+
`,[]),this._contextService.setContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA,!1),this._disableForceKeepVisible(),this._selectionRenderService.resetStyle(),this._resetTemp(),this._hideFunctionPanel()})))}_initialRefSelectionUpdateEvent(){const e=new s.DisposableCollection;this.disposeWithMe(s.toDisposable(this._selectionManagerService.selectionMoveEnd$.subscribe(()=>{e.dispose();const t=this._selectionManagerService.getCurrent();if(this._formulaInputService.disableSelectionMoving(),(t==null?void 0:t.pluginName)!==He)return;this._updateRefSelectionStyle(this._isSelectionMovingRefSelections),this._selectionRenderService.getCurrentControls().forEach(r=>{r.disableHelperSelection(),e.add(s.toDisposable(r.selectionMoving$.subscribe(a=>{this._changeControlSelection(a,r)}))),e.add(s.toDisposable(r.selectionScaling$.subscribe(a=>{this._changeControlSelection(a,r)}))),e.add(s.toDisposable(r.selectionMoved$.subscribe(()=>{this._formulaInputService.disableLockedSelectionChange()}))),e.add(s.toDisposable(r.selectionScaled$.subscribe(()=>{this._formulaInputService.disableLockedSelectionChange()})))})})))}_syncEditorListener(){this.disposeWithMe(s.toDisposable(this._formulaInputService.syncToEditor$.subscribe(e=>{const{sequences:t,textSelectionOffset:n}=e;this._syncToEditor(t,n)})))}_selectionChanging(e,t=!1){if(e.length===0||!this._formulaInputService.isLockedSelectionInsert()||(this._formulaInputService.enableSelectionMoving(),this._inertControlSelection(e),t===!1))return;const n=e[e.length-1];this._inertControlSelectionReplace(n)}_initialRefSelectionInsertEvent(){this.disposeWithMe(s.toDisposable(this._selectionRenderService.selectionMoving$.subscribe(e=>{this._selectionChanging(e.map(t=>b.convertSelectionDataToRange(t)))}))),this.disposeWithMe(s.toDisposable(this._selectionRenderService.selectionMoveStart$.subscribe(e=>{this._selectionChanging(e.map(t=>b.convertSelectionDataToRange(t)),!0)})))}_initAcceptFormula(){this.disposeWithMe(s.toDisposable(this._formulaPromptService.acceptFormulaName$.subscribe(e=>{const t=this._textSelectionManagerService.getActiveRange();if(t==null){this._hideFunctionPanel();return}const{startOffset:n}=t,r=this._formulaInputService.getSequenceNodes(),a=this._formulaInputService.getCurrentSequenceNodeIndex(n-2),o=r[a];if(o==null||typeof o=="string"){this._hideFunctionPanel();return}const c=e.length-o.token.length,u={...o};u.token=e,u.endIndex+=c,r[a]=u,r.splice(a+1,0,P.matchToken.OPEN_BRACKET);const m=e.length+1;for(let d=a+2,p=r.length;d<p;d++){const f=r[d];if(typeof f=="string")continue;const h={...f};h.startIndex+=m,h.endIndex+=m,r[d]=h}this._syncToEditor(r,u.endIndex+2)})))}_changeFunctionPanelState(){const e=this._textSelectionManagerService.getActiveRange();if(e==null){this._hideFunctionPanel();return}const{startOffset:t}=e,n=this._formulaInputService.getCurrentSequenceNode(t-2);if(n==null){this._hideFunctionPanel();return}if(typeof n!="string"&&n.nodeType===P.sequenceNodeType.FUNCTION){const m=n.token.toUpperCase();if(this._inputPanelState===1){const d=this._descriptionService.getSearchListByName(m);if(this._hideFunctionPanel(),d==null||d.length===0)return;this._commandService.executeCommand(Me.id,{visible:!0,searchText:m,searchList:d})}else this._descriptionService.hasFunction(m)&&this._changeHelpFunctionPanelState(m,-1);return}const r=this._getCurrentBody(),a=(r==null?void 0:r.dataStream)||"",o=this._lexerTreeBuilder.getFunctionAndParameter(a,t-1);if(o==null){this._hideFunctionPanel();return}const{functionName:c,paramIndex:u}=o;this._changeHelpFunctionPanelState(c.toUpperCase(),u)}_changeHelpFunctionPanelState(e,t){const n=this._descriptionService.getFunctionInfo(e);this._hideFunctionPanel(),n!=null&&this._commandService.executeCommand(Ae.id,{visible:!0,paramIndex:t,functionInfo:n})}_hideFunctionPanel(){this._commandService.executeCommand(Me.id,{visible:!1,searchText:""}),this._commandService.executeCommand(Ae.id,{visible:!1,paramIndex:-1})}_changeKeepVisibleHideState(){if(this._getContextState()===!1){this._disableForceKeepVisible();return}const e=this._getCurrentChar();if(e==null){this._disableForceKeepVisible();return}this._matchRefDrawToken(e)?(this._editorBridgeService.enableForceKeepVisible(),this._formulaInputService.enableLockedSelectionInsert(),this._selectionRenderService.enableRemainLast(),this._arrowMoveActionState!==1&&(this._arrowMoveActionState=2)):this._disableForceKeepVisible()}_matchRefDrawToken(e){return P.isFormulaLexerToken(e)&&e!==P.matchToken.CLOSE_BRACES&&e!==P.matchToken.CLOSE_BRACKET&&e!==P.matchToken.SINGLE_QUOTATION&&e!==P.matchToken.DOUBLE_QUOTATION||e===" "}_getCurrentChar(){const e=this._textSelectionManagerService.getActiveRange();if(e==null)return;const{startOffset:t}=e,n=this._getCurrentBody();return n==null||t==null?void 0:n.dataStream[t-1]}_disableForceKeepVisible(){this._editorBridgeService.disableForceKeepVisible(),this._formulaInputService.disableLockedSelectionInsert(),this._currentInsertRefStringIndex=-1,this._selectionRenderService.disableRemainLast(),this._arrowMoveActionState===2&&(this._arrowMoveActionState=4)}_getCurrentBody(){var n;const e=this._editorBridgeService.getCurrentEditorId();if(e==null)return;const t=this._currentUniverService.getUniverDocInstance(e);return(n=t==null?void 0:t.snapshot)==null?void 0:n.body}_getFormulaAndCellEditorBody(){return[s.DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,s.DOCS_NORMAL_EDITOR_UNIT_ID_KEY].map(t=>{const n=this._currentUniverService.getUniverDocInstance(t);return n==null?void 0:n.getBody()})}_contextSwitch(e){if(s.isFormulaString(e)){this._contextService.setContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA,!0);const t=this._lexerTreeBuilder.sequenceNodesBuilder(e.replace(/\r/g,"").replace(/\n/g,""))||[];this._formulaInputService.setSequenceNodes(t);const n=this._textSelectionManagerService.getActiveRange();if(n==null)return;const{startOffset:r}=n;this._currentInsertRefStringIndex=r-1}else this._contextService.setContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA,!1),this._formulaInputService.disableLockedSelectionChange(),this._formulaInputService.disableLockedSelectionInsert(),this._formulaInputService.clearSequenceNodes(),this._hideFunctionPanel()}_getContextState(){return this._contextService.getContextValue(s.FOCUSING_EDITOR_INPUT_FORMULA)}_switchSelectionPlugin(){if(this._getContextState()===!0){this._selectionManagerService.changePluginNoRefresh(He);const e=b.getNormalSelectionStyle(this._themeService);e.strokeDash=8,e.hasAutoFill=!1,e.hasRowHeader=!1,e.hasColumnHeader=!1,this._selectionRenderService.setStyle(e)}else this._selectionManagerService.changePluginNoRefresh(b.NORMAL_SELECTION_PLUGIN_NAME),this._selectionRenderService.resetStyle()}_highlightFormula(){if(this._getContextState()===!1)return;const e=this._formulaInputService.getSequenceNodes(),t=this._getFormulaAndCellEditorBody().filter(n=>!!n);if(this._selectionManagerService.clear(),e==null||e.length===0)t.forEach(n=>n.textRuns=[]);else{const{textRuns:n,refSelections:r}=this._buildTextRuns(e);t.forEach(a=>a.textRuns=n),this._refreshSelectionForReference(r)}this._refreshFormulaAndCellEditor()}_buildTextRuns(e){const t=[],n=[];let r=0;for(let a=0,o=e.length;a<o;a++){const c=e[a];if(typeof c=="string")continue;const{startIndex:u,endIndex:m,nodeType:d,token:p}=c;let f="";if(d===P.sequenceNodeType.REFERENCE){const h=r%this._formulaRefColors.length;f=this._formulaRefColors[h],n.push({refIndex:a,themeColor:f,token:p}),r++}else d===P.sequenceNodeType.NUMBER?f=this._numberColor:d===P.sequenceNodeType.STRING?f=this._stringColor:d===P.sequenceNodeType.ARRAY&&(f=this._stringColor);f&&f.length>0&&t.push({st:u+1,ed:m+2,ts:{cl:{rgb:f}}})}return{textRuns:t,refSelections:n}}_refreshSelectionForReference(e){var u;const{unitId:t,sheetId:n}=this._getCurrentUnitIdAndSheetId(),r=[],a=this._currentUniverService.getUniverSheetInstance(t);if((a==null?void 0:a.getSheetBySheetId(n))==null)return;let c=null;for(let m=0,d=e.length;m<d;m++){const p=e[m],{themeColor:f,token:h,refIndex:R}=p,S=s.deserializeRangeWithSheet(h),{unitId:l,sheetName:I,range:E}=S;if(l!=null&&l.length>0&&t!==l)continue;const v=this._getSheetIdByName(t,I.trim());if(I.length!==0&&v!==n)continue;const y=(u=this._insertSelections.find(k=>{const{startRow:C,startColumn:B,endRow:M,endColumn:F}=k.range;return C===E.startRow&&B===E.startColumn&&M===E.endRow&&F===E.endColumn||C===E.startRow&&B===E.startColumn&&E.startRow===E.endRow&&E.startColumn===E.endColumn}))==null?void 0:u.primary;if(y!=null){const{isMerged:k,isMergedMainCell:C,startRow:B,endRow:M,startColumn:F,endColumn:_}=y;(k||C)&&B===E.startRow&&F===E.startColumn&&E.startRow===E.endRow&&E.startColumn===E.endColumn&&(E.endRow=M,E.endColumn=_),c={range:E,primary:y,style:ye(this._themeService,f,R.toString())};continue}r.push({range:E,primary:y,style:ye(this._themeService,f,R.toString())})}c&&r.push(c),r.length!==0&&this._selectionManagerService.add(r)}_getSheetIdByName(e,t){var r;const n=this._currentUniverService.getUniverSheetInstance(e);return(r=n==null?void 0:n.getSheetBySheetName(P.normalizeSheetName(t)))==null?void 0:r.getSheetId()}_getSheetNameById(e,t){var a;const n=this._currentUniverService.getUniverSheetInstance(e);let r=((a=n==null?void 0:n.getSheetBySheetId(t))==null?void 0:a.getName())||"";return r.length>0&&P.includeFormulaLexerToken(r)&&(r=`'${r}'`),r}_getCurrentUnitIdAndSheetId(){const e=this._sheetSkeletonManagerService.getCurrent();if(e==null){const a=this._currentUniverService.getCurrentUniverSheetInstance(),o=a.getActiveSheet();return{unitId:a.getUnitId(),sheetId:o.getSheetId()}}const{unitId:t,sheetId:n,skeleton:r}=e;return{unitId:t,sheetId:n,skeleton:r}}_getRefString(e){const{unitId:t,sheetId:n}=this._getCurrentUnitIdAndSheetId();let r="",a="";t===this._currentUnitId?r="":r=t,n===this._currentSheetId?a="":a=this._getSheetNameById(t,n);const{range:o,primary:c}=e;let{startRow:u,endRow:m,startColumn:d,endColumn:p}=o;if(c){const{isMerged:f,isMergedMainCell:h,startRow:R,endRow:S,startColumn:l,endColumn:I}=c;(f||h)&&R===u&&l===d&&S===m&&I===p&&(u=R,d=l,m=R,p=l)}return s.serializeRangeToRefString({sheetName:a,unitId:r,range:{startRow:u,endRow:m,startColumn:d,endColumn:p}})}async _syncToEditor(e,t,n=!0){const r=P.generateStringWithSequence(e),{textRuns:a,refSelections:o}=this._buildTextRuns(e);this._isSelectionMovingRefSelections=o;const c=this._textSelectionManagerService.getActiveRange();if(c==null)return;const{collapsed:u,style:m}=c;this._currentInsertRefStringIndex=t,await this._fitEditorSize(),n?this._commandService.executeCommand(oe.ReplaceContentCommand.id,{unitId:this._editorBridgeService.getCurrentEditorId(),body:{dataStream:`=${r}`,textRuns:a},textRanges:[{startOffset:t+1,endOffset:t+1,collapsed:u,style:m}],segmentId:null}):(this._updateEditorModel(`=${r}\r
|
|
11
|
+
`,a),this._textSelectionManagerService.replaceTextRanges([{startOffset:t+1,endOffset:t+1,style:m}]))}async _fitEditorSize(){const e=this._editorBridgeService.getCurrentEditorId();e!=null&&await this._commandService.syncExecuteCommand(O.SetEditorResizeOperation.id,{unitId:e})}_updateEditorModel(e,t){const n=this._editorBridgeService.getCurrentEditorId();if(n==null)return;const r=this._currentUniverService.getUniverDocInstance(n),a=this._docViewModelManagerService.getViewModel(n);if(a==null||r==null)return;const o=r==null?void 0:r.getSnapshot();if(o==null)return;const c={dataStream:e,textRuns:t};o.body=c,a.reset(r)}_inertControlSelectionReplace(e){this._previousSequenceNodes==null&&(this._previousSequenceNodes=this._formulaInputService.getSequenceNodes()),this._previousInsertRefStringIndex==null&&(this._previousInsertRefStringIndex=this._currentInsertRefStringIndex);const t=s.Tools.deepClone(this._previousSequenceNodes);if(t==null)return;const n=this._getRefString(e);this._formulaInputService.setSequenceNodes(t),this._formulaInputService.insertSequenceRef(this._previousInsertRefStringIndex,n),this._syncToEditor(t,this._previousInsertRefStringIndex+n.length);const r=this._selectionRenderService.getSelectionDataWithStyle();this._insertSelections=[],r.forEach(a=>{const o=b.convertSelectionDataToRange(a);this._insertSelections.push(o)})}_inertControlSelection(e){const t=e[e.length-1];if((e.length===this._previousRangesCount||this._previousRangesCount===0)&&this._previousSequenceNodes!=null)this._inertControlSelectionReplace(t);else{let n=this._formulaInputService.getSequenceNodes();if(n==null)return;const r=this._getCurrentChar();if(r==null)return;this._previousInsertRefStringIndex=this._currentInsertRefStringIndex,this._matchRefDrawToken(r)||(this._formulaInputService.insertSequenceString(this._currentInsertRefStringIndex,P.matchToken.COMMA),n=this._formulaInputService.getSequenceNodes(),this._previousInsertRefStringIndex+=1),this._previousSequenceNodes=s.Tools.deepClone(n);const a=this._getRefString(t);this._formulaInputService.setSequenceNodes(n),this._formulaInputService.insertSequenceRef(this._previousInsertRefStringIndex,a),this._selectionRenderService.disableSkipRemainLast()}this._arrowMoveActionState=2,this._previousRangesCount=e.length}_updateRefSelectionStyle(e){const t=this._selectionRenderService.getCurrentControls(),{unitId:n,sheetId:r}=this._getCurrentUnitIdAndSheetId();for(let a=0,o=e.length;a<o;a++){const c=e[a],{refIndex:u,themeColor:m,token:d}=c,p=s.deserializeRangeWithSheet(d),{unitId:f,sheetName:h,range:R}=p;if(f!=null&&f.length>0&&n!==f)continue;const S=this._getSheetIdByName(n,h.trim());if(S!=null&&S!==r)continue;const l=t.find(E=>{const{startRow:v,startColumn:y,endRow:k,endColumn:C}=E.getRange();return v===R.startRow&&y===R.startColumn&&k===R.endRow&&C===R.endColumn||v===R.startRow&&y===R.startColumn&&R.startRow===R.endRow&&R.startColumn===R.endColumn});if(l==null)continue;const I=ye(this._themeService,m,u.toString());l.updateStyle(I)}}_changeControlSelection(e,t){var l;if(!e)return;const{unitId:n,sheetId:r,skeleton:a}=this._getCurrentUnitIdAndSheetId();this._formulaInputService.enableLockedSelectionChange();const o=(l=t.selectionStyle)==null?void 0:l.id;if(o==null||!s.Tools.isStringNumber(o))return;let{startRow:c,endRow:u,startColumn:m,endColumn:d}=e;const p=V.getCellInfoInMergeData(c,m,a==null?void 0:a.mergeData);if(p){const{isMerged:I,isMergedMainCell:E,startRow:v,endRow:y,startColumn:k,endColumn:C}=p;(I||E)&&v===c&&k===m&&y===u&&C===d&&(c=v,m=k,u=v,d=k)}const f=this._getRefString({range:{startRow:c,endRow:u,startColumn:m,endColumn:d},primary:p,style:null}),h=Number(o);this._formulaInputService.updateSequenceRef(h,f);const R=this._formulaInputService.getSequenceNodes(),S=R[h];typeof S!="string"&&(this._syncToEditor(R,S.endIndex+1),t.update(e))}_refreshFormulaAndCellEditor(){var t;const e=[s.DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,s.DOCS_NORMAL_EDITOR_UNIT_ID_KEY];for(const n of e){const r=O.getEditorObject(n,this._renderManagerService),a=r==null?void 0:r.document;a!=null&&((t=a.getSkeleton())==null||t.calculate(),a.makeDirty())}}_cursorStateListener(){const e=this._getEditorObject();if(e==null)return;const{document:t}=e;this.disposeWithMe(s.toDisposable(t.onPointerDownObserver.add(()=>{this._arrowMoveActionState=1,this._inputPanelState=3})))}_commandExecutedListener(){const e=[re.id];this.disposeWithMe(this._commandService.onCommandExecuted(t=>{if(e.includes(t.id)){const n=t.params,{keycode:r,metaKey:a}=n;if(r===N.KeyCode.ENTER){if(this._formulaPromptService.isSearching()){this._formulaPromptService.accept(!0);return}this._editorBridgeService.changeVisible({visible:!1,eventType:V.DeviceInputEventType.Keyboard,keycode:r}),this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:s.Direction.DOWN});return}if(r===N.KeyCode.TAB){if(this._formulaPromptService.isSearching()){this._formulaPromptService.accept(!0);return}this._editorBridgeService.changeVisible({visible:!1,eventType:V.DeviceInputEventType.Keyboard,keycode:r}),this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:s.Direction.RIGHT});return}if(this._formulaPromptService.isSearching()){if(r===N.KeyCode.ARROW_DOWN){this._formulaPromptService.navigate({direction:s.Direction.DOWN});return}if(r===N.KeyCode.ARROW_UP){this._formulaPromptService.navigate({direction:s.Direction.UP});return}}if(this._arrowMoveActionState===1){this._moveInEditor(r);return}if(this._arrowMoveActionState===4){this._editorBridgeService.changeVisible({visible:!1,eventType:V.DeviceInputEventType.Keyboard,keycode:r});return}if(this._arrowMoveActionState===2&&(this._arrowMoveActionState=3),(this._selectionManagerService.getSelectionRanges()||[]).length===0){const d=this._selectionManagerService.getLastByPlugin(b.NORMAL_SELECTION_PLUGIN_NAME);if(d!=null){const p=s.Tools.deepClone(d);this._selectionManagerService.add([p])}}let c=s.Direction.DOWN;r===N.KeyCode.ARROW_DOWN?c=s.Direction.DOWN:r===N.KeyCode.ARROW_UP?c=s.Direction.UP:r===N.KeyCode.ARROW_LEFT?c=s.Direction.LEFT:r===N.KeyCode.ARROW_RIGHT&&(c=s.Direction.RIGHT),a===N.MetaKeys.CTRL_COMMAND?this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:c,jumpOver:O.JumpOver.moveGap}):a===N.MetaKeys.SHIFT?this._commandService.executeCommand(O.ExpandSelectionCommand.id,{direction:c}):a===ot?this._commandService.executeCommand(O.ExpandSelectionCommand.id,{direction:c,jumpOver:O.JumpOver.moveGap}):this._commandService.executeCommand(O.MoveSelectionCommand.id,{direction:c});const u=this._selectionManagerService.getSelections()||[],m=u[u.length-1];this._inertControlSelectionReplace(m)}}))}_moveInEditor(e){if(e==null)return;let t=s.Direction.LEFT;e===N.KeyCode.ARROW_DOWN?t=s.Direction.DOWN:e===N.KeyCode.ARROW_UP?t=s.Direction.UP:e===N.KeyCode.ARROW_RIGHT&&(t=s.Direction.RIGHT),this._commandService.executeCommand(oe.MoveCursorOperation.id,{direction:t})}_getEditorObject(){return O.getEditorObject(this._editorBridgeService.getCurrentEditorId(),this._renderManagerService)}};ge=_r([s.OnLifecycle(s.LifecycleStages.Steady,ge),z(0,s.ICommandService),z(1,s.IContextService),z(2,V.ITextSelectionRenderManager),z(3,A.Inject(O.IEditorBridgeService)),z(4,A.Inject(ee)),z(5,A.Inject(P.LexerTreeBuilder)),z(6,V.IRenderManagerService),z(7,A.Inject(s.ThemeService)),z(8,A.Inject(b.SelectionManagerService)),z(9,A.Inject(O.SheetSkeletonManagerService)),z(10,s.IUniverInstanceService),z(11,A.Inject(O.ISelectionRenderService)),z(12,A.Inject(Le)),z(13,A.Inject(oe.TextSelectionManagerService)),z(14,se),z(15,A.Inject(oe.DocViewModelManagerService))],ge);var Dr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,Tr=(i,e,t,n)=>{for(var r=n>1?void 0:n?yr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&Dr(e,t,r),r},$e=(i,e)=>(t,n)=>e(t,n,i);let Ie=class extends s.Disposable{constructor(e,t){super();D(this,"_waitingCommandQueue",[]);D(this,"_executingCommandQueue",[]);D(this,"_setTimeoutKey",-1);D(this,"_startExecutionTime",0);this._commandService=e,this._activeDirtyManagerService=t,this._initialize()}_initialize(){this._commandExecutedListener(),this._initialExecuteFormulaProcessListener(),this._initialExecuteFormula()}_commandExecutedListener(){this.disposeWithMe(this._commandService.onCommandExecuted((e,t)=>{if(this._activeDirtyManagerService.get(e.id)){if(e.id===b.SetRangeValuesMutation.id){const n=e.params;if(t&&t.onlyLocal===!0||n.trigger===b.SetStyleCommand.id||n.trigger===b.SetBorderCommand.id)return}this._waitingCommandQueue.push(e),clearTimeout(this._setTimeoutKey),this._setTimeoutKey=setTimeout(()=>{this._commandService.executeCommand(P.SetFormulaCalculationStartMutation.id,{...this._generateDirty(this._waitingCommandQueue)},{local:!0}),this._startExecutionTime=performance.now(),this._executingCommandQueue=this._waitingCommandQueue,this._waitingCommandQueue=[]},100)}}))}_generateDirty(e){const t=[],n={},r={};for(const a of e){const o=this._activeDirtyManagerService.get(a.id);if(o==null)continue;const c=o.getDirtyData(a),{dirtyRanges:u,dirtyNameMap:m,dirtyUnitFeatureMap:d}=c;u!=null&&t.push(...u),m!=null&&this._mergeDirtyNameMap(n,m),d!=null&&this._mergeDirtyUnitFeatureMap(r,d)}return{dirtyRanges:t,dirtyNameMap:n,dirtyUnitFeatureMap:r}}_mergeDirtyNameMap(e,t){Object.keys(t).forEach(n=>{e[n]==null&&(e[n]={}),Object.keys(t[n]).forEach(r=>{e[n][r]=t[n][r]})})}_mergeDirtyUnitFeatureMap(e,t){Object.keys(t).forEach(n=>{e[n]==null&&(e[n]={}),Object.keys(t[n]).forEach(r=>{e[n][r]==null&&(e[n][r]={}),Object.keys(t[n][r]).forEach(a=>{e[n][r][a]=t[n][r][a]})})})}_initialExecuteFormulaProcessListener(){this.disposeWithMe(this._commandService.onCommandExecuted(e=>{if(e.id!==P.SetFormulaCalculationNotificationMutation.id)return;const t=e.params;if(t.stageInfo!=null){const{totalFormulasToCalculate:n,completedFormulasCount:r,totalArrayFormulasToCalculate:a,completedArrayFormulasCount:o,stage:c}=t.stageInfo;a>0?console.log(`Stage ${c} Array formula.There are ${a} functions to be executed, ${o} complete.`):console.log(`Stage ${c} .There are ${n} functions to be executed, ${r} complete.`)}else{const n=t.functionsExecutedState;let r="";switch(n){case P.FormulaExecutedStateType.NOT_EXECUTED:r="No tasks are being executed anymore",this._waitingCommandQueue.unshift(...this._executingCommandQueue),this._executingCommandQueue=[];break;case P.FormulaExecutedStateType.STOP_EXECUTION:r="The execution of the formula has been stopped",this._waitingCommandQueue.unshift(...this._executingCommandQueue),this._executingCommandQueue=[];break;case P.FormulaExecutedStateType.SUCCESS:r=`Formula calculation succeeded, Total time consumed: ${performance.now()-this._startExecutionTime} ms`,this._executingCommandQueue=[];break;case P.FormulaExecutedStateType.INITIAL:r="Waiting for calculation",this._executingCommandQueue=[];break}console.log(`execution result${r}`)}}))}_initialExecuteFormula(){this._commandService.executeCommand(P.SetFormulaCalculationStartMutation.id,{commands:[],forceCalculation:!0},{local:!0})}};Ie=Tr([s.OnLifecycle(s.LifecycleStages.Ready,Ie),$e(0,s.ICommandService),$e(1,xe)],Ie);function fe(i,e,t,n,r){const{id:a}=e;if(st(i,t,n))return i;const o=new s.ObjectMatrix(i[t][n]);switch(a){case b.MoveRangeCommand.id:Nr(o,e);break;case b.MoveRowsCommand.id:Ar(o,e,r);break;case b.MoveColsCommand.id:Mr(o,e,r);break;case b.InsertRowCommand.id:Or(o,e);break;case b.InsertColCommand.id:xr(o,e);break;case b.InsertRangeMoveRightCommand.id:wr(o,e);break;case b.InsertRangeMoveDownCommand.id:Fr(o,e);break;case b.RemoveRowCommand.id:Lr(o,e);break;case b.RemoveColCommand.id:zr(o,e);break;case b.DeleteRangeMoveUpCommand.id:Ur(o,e);break;case b.DeleteRangeMoveLeftCommand.id:Vr(o,e);break}return i}function Nr(i,e){const{params:t}=e;if(!t)return;const{fromRange:n,toRange:r}=t,{startRow:a,endRow:o,startColumn:c,endColumn:u}=n,{startRow:m,endRow:d,startColumn:p,endColumn:f}=r,h=new s.ObjectMatrix;for(let R=a;R<=o;R++)for(let S=c;S<=u;S++){const l=i.getValue(R,S);h.setValue(R-a,S-c,l),i.setValue(R,S,null)}for(let R=m;R<=d;R++)for(let S=p;S<=f;S++){const l=h.getValue(R-m,S-p);i.setValue(R,S,l)}}function Ar(i,e,t){const{params:n}=e;if(!n)return;const{fromRow:r,toRow:a}=n,o=t==null?void 0:t.filter(d=>d.range.rangeType===s.RANGE_TYPE.ROW&&d.range.startRow<=r&&r<=d.range.endRow);if((o==null?void 0:o.length)!==1)return;const c=o[0].range,u=c.startRow,m=c.endRow-c.startRow+1;i.moveRows(u,m,a)}function Mr(i,e,t){const{params:n}=e;if(!n)return;const{fromCol:r,toCol:a}=n,o=t==null?void 0:t.filter(d=>d.range.rangeType===s.RANGE_TYPE.COLUMN&&d.range.startColumn<=r&&r<=d.range.endColumn);if((o==null?void 0:o.length)!==1)return;const c=o[0].range,u=c.startColumn,m=c.endColumn-c.startColumn+1;i.moveColumns(u,m,a)}function Or(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,n,r,a,s.Dimension.ROWS)}function xr(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,n,r,a,s.Dimension.COLUMNS)}function wr(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,n,r,a,s.Dimension.COLUMNS)}function Fr(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleInsertRangeMutation(i,n,r,a,s.Dimension.ROWS)}function Lr(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,n,r,a,s.Dimension.ROWS)}function zr(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,n,r,a,s.Dimension.COLUMNS)}function Ur(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,n,r,a,s.Dimension.ROWS)}function Vr(i,e){const{params:t}=e;if(!t)return;const{range:n}=t,r=i.getLength()-1,a=i.getRange().endColumn;b.handleDeleteRangeMutation(i,n,r,a,s.Dimension.COLUMNS)}function jr(i,e,t){if(st(i,e,t))return i;const n=new s.ObjectMatrix(i[e][t]);return n.forValue((r,a,o)=>{const{startRow:c,startColumn:u,endRow:m,endColumn:d}=o;if(r===c&&a===u)return;const p=m-c,f=d-u,h={startRow:r,startColumn:a,endRow:r+p,endColumn:a+f};n.setValue(r,a,h)}),i}function st(i,e,t){return i==null||i[e]==null||i[e][t]==null}var qr=Object.defineProperty,Hr=Object.getOwnPropertyDescriptor,$r=(i,e,t,n)=>{for(var r=n>1?void 0:n?Hr(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&qr(e,t,r),r},J=(i,e)=>(t,n)=>e(t,n,i);let ve=class extends s.Disposable{constructor(i,e,t,n,r,a,o){super(),this._currentUniverService=i,this._commandService=e,this._lexerTreeBuilder=t,this._formulaDataModel=n,this._sheetInterceptorService=r,this._selectionManagerService=a,this._injector=o,this._initialize()}_initialize(){this._commandExecutedListener()}_commandExecutedListener(){this.disposeWithMe(this._sheetInterceptorService.interceptCommand({getMutations:i=>this._getUpdateFormula(i)})),this.disposeWithMe(this._commandService.onCommandExecuted((i,e)=>{if(i.params)if(i.id===b.SetRangeValuesMutation.id){const t=i.params;if(e&&e.onlyLocal===!0||t.trigger===b.SetStyleCommand.id||t.trigger===b.SetBorderCommand.id)return;this._handleSetRangeValuesMutation(t,e)}else i.id===b.RemoveSheetMutation.id?this._handleRemoveSheetMutation(i.params):i.id===b.InsertSheetMutation.id&&this._handleInsertSheetMutation(i.params)}))}_handleSetRangeValuesMutation(i,e){const{subUnitId:t,unitId:n,cellValue:r}=i;e&&e.onlyLocal===!0||r==null||(this._formulaDataModel.updateFormulaData(n,t,r),this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:this._formulaDataModel.getFormulaData()},{local:!0}))}_handleRemoveSheetMutation(i){const{subUnitId:e,unitId:t}=i,n=this._formulaDataModel.getFormulaData();delete n[t][e];const r=this._formulaDataModel.getArrayFormulaRange();delete r[t][e];const a=this._formulaDataModel.getArrayFormulaCellData();delete a[t][e],this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:n}),this._commandService.executeCommand(P.SetArrayFormulaDataMutation.id,{arrayFormulaRange:r,arrayFormulaCellData:a})}_handleInsertSheetMutation(i){const{sheet:e,unitId:t}=i,n=this._formulaDataModel.getFormulaData(),{id:r,cellData:a}=e,o=new s.ObjectMatrix(a);P.initSheetFormulaData(n,t,r,o),this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:n})}_getUpdateFormula(i){const{id:e}=i;let t=null;switch(e){case b.MoveRangeCommand.id:t=this._handleMoveRange(i);break;case b.MoveRowsCommand.id:t=this._handleMoveRows(i);break;case b.MoveColsCommand.id:t=this._handleMoveCols(i);break;case b.InsertRowCommand.id:t=this._handleInsertRow(i);break;case b.InsertColCommand.id:t=this._handleInsertCol(i);break;case b.InsertRangeMoveRightCommand.id:t=this._handleInsertRangeMoveRight(i);break;case b.InsertRangeMoveDownCommand.id:t=this._handleInsertRangeMoveDown(i);break;case b.RemoveRowCommand.id:t=this._handleRemoveRow(i);break;case b.RemoveColCommand.id:t=this._handleRemoveCol(i);break;case b.DeleteRangeMoveUpCommand.id:t=this._handleDeleteRangeMoveUp(i);break;case b.DeleteRangeMoveLeftCommand.id:t=this._handleDeleteRangeMoveLeft(i);break;case b.SetWorksheetNameCommand.id:t=this._handleSetWorksheetName(i);break}if(t){const{unitSheetNameMap:n}=this._formulaDataModel.getCalculateData();let r=this._formulaDataModel.getFormulaData();const a=this._getFormulaReferenceMoveInfo(r,n,t),o=this._currentUniverService.getCurrentUniverSheetInstance(),c=o.getUnitId(),u=o.getActiveSheet().getSheetId(),m=this._selectionManagerService.getSelections(),d=this._formulaDataModel.getArrayFormulaRange(),p=this._formulaDataModel.getArrayFormulaCellData();let f=fe(d,i,c,u,m);f=jr(f,c,u);const h=fe(p,i,c,u,m);this._commandService.executeCommand(P.SetArrayFormulaDataMutation.id,{arrayFormulaRange:f,arrayFormulaCellData:h},{local:!0}),r=fe(r,i,c,u,m);const R=fe(a,i,c,u,m);return this._commandService.executeCommand(P.SetFormulaDataMutation.id,{formulaData:this._formulaDataModel.getFormulaData()}),this._getUpdateFormulaMutations(r,R)}return{undos:[],redos:[]}}_handleMoveRange(i){const{params:e}=i;if(!e)return null;const{fromRange:t,toRange:n}=e;if(!t||!n)return null;const{unitId:r,sheetId:a}=this._getCurrentSheetInfo();return{type:0,from:t,to:n,unitId:r,sheetId:a}}_handleMoveRows(i){const{params:e}=i;if(!e)return null;const{fromRow:t,toRow:n}=e,r=this._currentUniverService.getCurrentUniverSheetInstance(),a=r.getUnitId(),o=r.getActiveSheet(),c=o.getSheetId(),u={startRow:t,startColumn:0,endRow:t,endColumn:o.getColumnCount()-1,rangeType:s.RANGE_TYPE.ROW},m={startRow:n,startColumn:0,endRow:n,endColumn:o.getColumnCount()-1,rangeType:s.RANGE_TYPE.ROW};return{type:0,from:u,to:m,unitId:a,sheetId:c}}_handleMoveCols(i){const{params:e}=i;if(!e)return null;const{fromCol:t,toCol:n}=e,r=this._currentUniverService.getCurrentUniverSheetInstance(),a=r.getUnitId(),o=r.getActiveSheet(),c=o.getSheetId(),u={startRow:0,startColumn:t,endRow:o.getRowCount()-1,endColumn:t,rangeType:s.RANGE_TYPE.COLUMN},m={startRow:0,startColumn:n,endRow:o.getRowCount()-1,endColumn:n,rangeType:s.RANGE_TYPE.COLUMN};return{type:0,from:u,to:m,unitId:a,sheetId:c}}_handleInsertRow(i){const{params:e}=i;if(!e)return null;const{range:t,unitId:n,subUnitId:r}=e;return{type:1,ranges:[t],unitId:n,sheetId:r}}_handleInsertCol(i){const{params:e}=i;if(!e)return null;const{range:t,unitId:n,subUnitId:r}=e;return{type:2,ranges:[t],unitId:n,sheetId:r}}_handleInsertRangeMoveRight(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:n,sheetId:r}=this._getCurrentSheetInfo();return{type:8,range:t,unitId:n,sheetId:r}}_handleInsertRangeMoveDown(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:n,sheetId:r}=this._getCurrentSheetInfo();return{type:7,range:t,unitId:n,sheetId:r}}_handleRemoveRow(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:n,sheetId:r}=this._getCurrentSheetInfo();return{type:3,range:t,unitId:n,sheetId:r}}_handleRemoveCol(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:n,sheetId:r}=this._getCurrentSheetInfo();return{type:4,range:t,unitId:n,sheetId:r}}_handleDeleteRangeMoveUp(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:n,sheetId:r}=this._getCurrentSheetInfo();return{type:6,range:t,unitId:n,sheetId:r}}_handleDeleteRangeMoveLeft(i){const{params:e}=i;if(!e)return null;const{range:t}=e,{unitId:n,sheetId:r}=this._getCurrentSheetInfo();return{type:5,range:t,unitId:n,sheetId:r}}_handleSetWorksheetName(i){const{params:e}=i;if(!e)return null;const{unitId:t,subUnitId:n,name:r}=e,{unitId:a,sheetId:o}=this._getCurrentSheetInfo();return{type:9,unitId:t||a,sheetId:n||o,sheetName:r}}_getUpdateFormulaMutations(i,e){const t=[],n=[],r={get:this._injector.get.bind(this._injector)},a=Object.keys(e);for(const o of a){const c=e[o],u=Object.keys(c);for(const m of u){const d=new s.ObjectMatrix(i[o][m]),p=new s.ObjectMatrix(c[m]),f=new s.ObjectMatrix;p.forValue((l,I,E)=>{var k;const v=(E==null?void 0:E.f)||"",y=((k=d.getValue(l,I))==null?void 0:k.f)||"";s.isFormulaString(v)&&(s.isFormulaString(y)&&v!==y?f.setValue(l,I,{f:v}):f.setValue(l,I,{f:v,si:null}))});const h=f.getData();if(s.Tools.isEmptyObject(h))continue;const R={subUnitId:m,unitId:o,cellValue:h};t.push({id:b.SetRangeValuesMutation.id,params:R});const S=b.SetRangeValuesUndoMutationFactory(r,R);n.push({id:b.SetRangeValuesMutation.id,params:S})}}return{redos:t,undos:n}}_getFormulaReferenceMoveInfo(i,e,t){const n=Object.keys(i),r={};for(const a of n){const o=i[a],c=Object.keys(o);r[a]==null&&(r[a]={});for(const u of c){const m=new s.ObjectMatrix(o[u]),d=new s.ObjectMatrix;m.forValue((p,f,h)=>{var C;if(!h)return!0;const{f:R,x:S,y:l,si:I}=h,E=this._lexerTreeBuilder.sequenceNodesBuilder(R);if(E==null)return!0;let v=!1;const y=[];for(let B=0,M=E.length;B<M;B++){const F=E[B];if(typeof F=="string"||F.nodeType!==P.sequenceNodeType.REFERENCE)continue;const{token:_}=F,w=s.deserializeRangeWithSheet(_),{range:x,sheetName:H,unitId:U}=w,K=U==null||U.length===0?a:U,te=(C=e==null?void 0:e[K])==null?void 0:C[H],Y={range:x,sheetId:te,unitId:U,sheetName:H,refOffsetX:S||0,refOffsetY:l||0};let ue=null;if(t.type===9){const{unitId:ki,sheetId:ut,sheetName:ze}=t;if(ze==null||te==null||te.length===0||ut!==te)continue;ue=s.serializeRangeToRefString({range:x,sheetName:ze,unitId:U})}else ue=this._getNewRangeByMoveParam(Y,t,a,u);ue!=null&&(E[B]={...F,token:ue},v=!0,y.push(B))}if(!v)return!0;const k=this._updateRefOffset(E,y,S,l);d.setValue(p,f,{f:`=${P.generateStringWithSequence(k)}`,x:S,y:l,si:I})}),r[a][u]=d.getData()}}return r}_getNewRangeByMoveParam(i,e,t,n){const{type:r,unitId:a,sheetId:o,range:c,from:u,to:m}=e,{range:d,sheetId:p,unitId:f,sheetName:h,refOffsetX:R,refOffsetY:S}=i;if(!this._checkIsSameUnitAndSheet(a,o,t,n,f,p))return;const l=s.Rectangle.moveOffset(d,R,S);let I=null;if(r===0){if(u==null||m==null)return;const E=this._checkMoveEdge(l,u),v=s.Rectangle.getIntersects(l,u);if(v==null)return;const y=b.handleMoveRange({id:b.EffectRefRangId.MoveRangeCommandId,params:{toRange:m,fromRange:u}},v),k=b.runRefRangeMutations(y,v);if(k==null)return;I=this._getMoveNewRange(E,k,u,m,l,v)}if(c!=null){if(r===1){const E=b.handleInsertRow({id:b.EffectRefRangId.InsertRowCommandId,params:{range:c,unitId:"",subUnitId:"",direction:s.Direction.DOWN}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===2){const E=b.handleInsertCol({id:b.EffectRefRangId.InsertColCommandId,params:{range:c,unitId:"",subUnitId:"",direction:s.Direction.RIGHT}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===3){const E=b.handleIRemoveRow({id:b.EffectRefRangId.RemoveRowCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===4){const E=b.handleIRemoveCol({id:b.EffectRefRangId.RemoveColCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===5){const E=b.handleDeleteRangeMoveLeft({id:b.EffectRefRangId.DeleteRangeMoveLeftCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===6){const E=b.handleDeleteRangeMoveUp({id:b.EffectRefRangId.DeleteRangeMoveUpCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===7){const E=b.handleInsertRangeMoveDown({id:b.EffectRefRangId.InsertRangeMoveDownCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}else if(r===8){const E=b.handleInsertRangeMoveRight({id:b.EffectRefRangId.InsertRangeMoveRightCommandId,params:{range:c}},l),v=b.runRefRangeMutations(E,l);if(v==null)return;I={...l,...v}}}if(I!=null)return s.serializeRangeToRefString({range:I,sheetName:h,unitId:f})}_checkIsSameUnitAndSheet(i,e,t,n,r,a){if((r==null||r.length===0)&&(a==null||a.length===0)){if(i===t&&e===n)return!0}else if((i===r||r==null||r.length===0)&&e===a)return!0;return!1}_updateRefOffset(i,e,t=0,n=0){const r=[];for(let a=0,o=i.length;a<o;a++){const c=i[a];if(typeof c=="string"||c.nodeType!==P.sequenceNodeType.REFERENCE||e.includes(a)){r.push(c);continue}const{token:u}=c,m=s.deserializeRangeWithSheet(u),{range:d,sheetName:p,unitId:f}=m,h=s.Rectangle.moveOffset(d,t,n);r.push({...c,token:s.serializeRangeToRefString({range:h,unitId:f,sheetName:p})})}return r}_checkMoveEdge(i,e){const{startRow:t,startColumn:n,endRow:r,endColumn:a}=i,{startRow:o,startColumn:c,endRow:u,endColumn:m}=e;if(t>=o&&r<=u&&n>=c&&a<=m)return 4;if(n>=c&&a<=m&&t>=o&&t<=u&&r>u)return 0;if(n>=c&&a<=m&&r>=o&&r<=u&&t<o)return 1;if(t>=o&&r<=u&&n>=c&&n<=m&&a>m)return 2;if(t>=o&&r<=u&&a>=c&&a<=m&&n<c)return 3}_getMoveNewRange(i,e,t,n,r,a){const{startRow:o,endRow:c,startColumn:u,endColumn:m}=e,{startRow:d,startColumn:p,endRow:f,endColumn:h}=t,{startRow:R,startColumn:S,endRow:l,endColumn:I}=n,{startRow:E,endRow:v,startColumn:y,endColumn:k}=a,{startRow:C,endRow:B,startColumn:M,endColumn:F}=r,_={...r};if(i===0)if(u===M&&m===F)if(o<C)_.startRow=o;else if(c<B)_.startRow=o;else if(c>=B&&R<=B)_.startRow=f+1,_.endRow=c;else return;else return;else if(i===1)if(u===M&&m===F)if(c>B)_.endRow=c;else if(o>C)_.endRow=c;else if(o<=C&&l>=C)_.endRow=d+1,_.startRow=o;else return;else return;else if(i===2)if(o===C&&c===B)if(u<M)_.startColumn=u;else if(m<F)_.startColumn=u;else if(m>=F&&S<=F)_.startColumn=h+1,_.endColumn=m;else return;else return;else if(i===3)if(o===C&&c===B)if(m>F)_.endColumn=m;else if(u>M)_.endColumn=m;else if(u<=M&&I>=M)_.endColumn=p+1,_.startColumn=u;else return;else return;else(i===4||(S<=k+1&&I>=F||S<=M&&I>=y-1)&&R<=C&&l>=B||(R<=v+1&&l>=B||R<=C&&l>=E-1)&&S<=M&&I>=F)&&(_.startRow=o,_.startColumn=u,_.endRow=c,_.endColumn=m);return _}_getInsertNewRange(){}_getCurrentSheetInfo(){const i=this._currentUniverService.getCurrentUniverSheetInstance(),e=i.getUnitId(),t=i.getActiveSheet().getSheetId();return{unitId:e,sheetId:t}}};ve=$r([s.OnLifecycle(s.LifecycleStages.Ready,ve),J(0,s.IUniverInstanceService),J(1,s.ICommandService),J(2,A.Inject(P.LexerTreeBuilder)),J(3,A.Inject(P.FormulaDataModel)),J(4,A.Inject(b.SheetInterceptorService)),J(5,A.Inject(b.SelectionManagerService)),J(6,A.Inject(A.Injector))],ve);const Wr={},Gr={BETADIST:{description:"Returns the beta cumulative distribution function",abstract:"Returns the beta cumulative distribution function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/betadist-function-49f1b9a9-a5da-470f-8077-5f1730b5fd47"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETAINV:{description:"Returns the inverse of the cumulative distribution function for a specified beta distribution",abstract:"Returns the inverse of the cumulative distribution function for a specified beta distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/betainv-function-8b914ade-b902-43c1-ac9c-c05c54f10d6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOMDIST:{description:"Returns the individual term binomial distribution probability",abstract:"Returns the individual term binomial distribution probability",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binomdist-function-506a663e-c4ca-428d-b9a8-05583d68789c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHIDIST:{description:"Returns the one-tailed probability of the chi-squared distribution",abstract:"Returns the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chidist-function-c90d0fbc-5b56-4f5f-ab57-34af1bf6897e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHIINV:{description:"Returns the inverse of the one-tailed probability of the chi-squared distribution",abstract:"Returns the inverse of the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chiinv-function-cfbea3f6-6e4f-40c9-a87f-20472e0512af"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHITEST:{description:"Returns the test for independence",abstract:"Returns the test for independence",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chitest-function-981ff871-b694-4134-848e-38ec704577ac"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCATENATE:{description:"Joins two or more text strings into one string",abstract:"Joins two or more text strings into one string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE:{description:"Returns the confidence interval for a population mean",abstract:"Returns the confidence interval for a population mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/confidence-function-75ccc007-f77c-4343-bc14-673642091ad6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVAR:{description:"Returns covariance, the average of the products of paired deviations",abstract:"Returns covariance, the average of the products of paired deviations",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/covar-function-50479552-2c03-4daf-bd71-a5ab88b2db03"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CRITBINOM:{description:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",abstract:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/critbinom-function-eb6b871d-796b-4d21-b69b-e4350d5f407b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPONDIST:{description:"Returns the exponential distribution",abstract:"Returns the exponential distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/expondist-function-68ab45fd-cd6d-4887-9770-9357eb8ee06a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FDIST:{description:"Returns the F probability distribution",abstract:"Returns the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fdist-function-ecf76fba-b3f1-4e7d-a57e-6a5b7460b786"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FINV:{description:"Returns the inverse of the F probability distribution",abstract:"Returns the inverse of the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/finv-function-4d46c97c-c368-4852-bc15-41e8e31140b1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR:{description:"Rounds a number down, toward zero",abstract:"Rounds a number down, toward zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-function-14bb497c-24f2-4e04-b327-b0b4de5a8886"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST:{description:"Calculates, or predicts, a future value by using existing values.",abstract:"Calculates, or predicts, a future value by using existing values.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecast-and-forecast-linear-functions-50ca49c9-7b40-4892-94e4-7ad38bbeda99"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FTEST:{description:"Returns the result of an F-test",abstract:"Returns the result of an F-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ftest-function-4c9e1202-53fe-428c-a737-976f6fc3f9fd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMADIST:{description:"Returns the gamma distribution",abstract:"Returns the gamma distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gammadist-function-7327c94d-0f05-4511-83df-1dd7ed23e19e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMAINV:{description:"Returns the inverse of the gamma cumulative distribution",abstract:"Returns the inverse of the gamma cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gammainv-function-06393558-37ab-47d0-aa63-432f99e7916d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPGEOMDIST:{description:"Returns the hypergeometric distribution",abstract:"Returns the hypergeometric distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hypgeomdist-function-23e37961-2871-4195-9629-d0b2c108a12e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGINV:{description:"Returns the inverse of the lognormal cumulative distribution function",abstract:"Returns the inverse of the lognormal cumulative distribution function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/loginv-function-0bd7631a-2725-482b-afb4-de23df77acfe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORMDIST:{description:"Returns the cumulative lognormal distribution",abstract:"Returns the cumulative lognormal distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lognormdist-function-f8d194cb-9ee3-4034-8c75-1bdb3884100b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE:{description:"Returns the most common value in a data set",abstract:"Returns the most common value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mode-function-e45192ce-9122-4980-82ed-4bdc34973120"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NEGBINOMDIST:{description:"Returns the negative binomial distribution",abstract:"Returns the negative binomial distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/negbinomdist-function-f59b0a37-bae2-408d-b115-a315609ba714"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMDIST:{description:"Returns the normal cumulative distribution",abstract:"Returns the normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/normdist-function-126db625-c53e-4591-9a22-c9ff422d6d58"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMINV:{description:"Returns the inverse of the normal cumulative distribution",abstract:"Returns the inverse of the normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/norminv-function-87981ab8-2de0-4cb0-b1aa-e21d4cb879b8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMSDIST:{description:"Returns the standard normal cumulative distribution",abstract:"Returns the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/normsdist-function-463369ea-0345-445d-802a-4ff0d6ce7cac"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMSINV:{description:"Returns the inverse of the standard normal cumulative distribution",abstract:"Returns the inverse of the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/normsinv-function-8d1bce66-8e4d-4f3b-967c-30eed61f019d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE:{description:"Returns the k-th percentile of values in a range",abstract:"Returns the k-th percentile of values in a range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentile-function-91b43a53-543c-4708-93de-d626debdddca"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK:{description:"Returns the percentage rank of a value in a data set",abstract:"Returns the percentage rank of a value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentrank-function-f1b5836c-9619-4847-9fc9-080ec9024442"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POISSON:{description:"Returns the Poisson distribution",abstract:"Returns the Poisson distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/poisson-function-d81f7294-9d7c-4f75-bc23-80aa8624173a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE:{description:"Returns the quartile of a data set",abstract:"Returns the quartile of a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/quartile-function-93cf8f62-60cd-4fdb-8a92-8451041e1a2a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK:{description:"Returns the rank of a number in a list of numbers",abstract:"Returns the rank of a number in a list of numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rank-function-6a2fc49d-1831-4a03-9d8c-c279cf99f723"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV:{description:"Estimates standard deviation based on a sample",abstract:"Estimates standard deviation based on a sample",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdev-function-51fecaaa-231e-4bbb-9230-33650a72c9b0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVP:{description:"Calculates standard deviation based on the entire population",abstract:"Calculates standard deviation based on the entire population",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdevp-function-1f7c1c88-1bec-4422-8242-e9f7dc8bb195"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TDIST:{description:"Returns the Student's t-distribution",abstract:"Returns the Student's t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tdist-function-630a7695-4021-4853-9468-4a1f9dcdd192"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TINV:{description:"Returns the inverse of the Student's t-distribution",abstract:"Returns the inverse of the Student's t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tinv-function-a7c85b9d-90f5-41fe-9ca5-1cd2f3e1ed7c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TTEST:{description:"Returns the probability associated with a Student's t-test",abstract:"Returns the probability associated with a Student's t-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ttest-function-1696ffc1-4811-40fd-9d13-a0eaad83c7ae"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR:{description:"Estimates variance based on a sample",abstract:"Estimates variance based on a sample",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/var-function-1f2b7ab2-954d-4e17-ba2c-9e58b15a7da2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARP:{description:"Calculates variance based on the entire population",abstract:"Calculates variance based on the entire population",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/varp-function-26a541c4-ecee-464d-a731-bd4c575b1a6b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEIBULL:{description:"Returns the Weibull distribution",abstract:"Returns the Weibull distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weibull-function-b83dc2c6-260b-4754-bef2-633196f6fdcc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ZTEST:{description:"Returns the one-tailed probability-value of a z-test",abstract:"Returns the one-tailed probability-value of a z-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ztest-function-8f33be8a-6bd6-4ecc-8e3a-d9a4420c4a6a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Kr={CUBEKPIMEMBER:{description:"Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization's performance.",abstract:"Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization's performance.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubekpimember-function-744608bf-2c62-42cd-b67a-a56109f4b03b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEMEMBER:{description:"Returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.",abstract:"Returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubemember-function-0f6a15b9-2c18-4819-ae89-e1b5c8b398ad"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEMEMBERPROPERTY:{description:"Returns the value of a member property from the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.",abstract:"Returns the value of a member property from the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubememberproperty-function-001e57d6-b35a-49e5-abcd-05ff599e8951"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBERANKEDMEMBER:{description:"Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or the top 10 students.",abstract:"Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or the top 10 students.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cuberankedmember-function-07efecde-e669-4075-b4bf-6b40df2dc4b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBESET:{description:"Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.",abstract:"Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubeset-function-5b2146bd-62d6-4d04-9d8f-670e993ee1d9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBESETCOUNT:{description:"Returns the number of items in a set.",abstract:"Returns the number of items in a set.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubesetcount-function-c4c2a438-c1ff-4061-80fe-982f2d705286"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEVALUE:{description:"Returns an aggregated value from the cube.",abstract:"Returns an aggregated value from the cube.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cubevalue-function-8733da24-26d1-4e34-9b3a-84a8f00dcbe0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Yr={DAVERAGE:{description:"Returns the average of selected database entries",abstract:"Returns the average of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/daverage-function-a6a2d5ac-4b4b-48cd-a1d8-7b37834e5aee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DCOUNT:{description:"Counts the cells that contain numbers in a database",abstract:"Counts the cells that contain numbers in a database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dcount-function-c1fc7b93-fb0d-4d8d-97db-8d5f076eaeb1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DCOUNTA:{description:"Counts nonblank cells in a database",abstract:"Counts nonblank cells in a database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dcounta-function-00232a6d-5a66-4a01-a25b-c1653fda1244"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DGET:{description:"Extracts from a database a single record that matches the specified criteria",abstract:"Extracts from a database a single record that matches the specified criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dget-function-455568bf-4eef-45f7-90f0-ec250d00892e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DMAX:{description:"Returns the maximum value from selected database entries",abstract:"Returns the maximum value from selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dmax-function-f4e8209d-8958-4c3d-a1ee-6351665d41c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DMIN:{description:"Returns the minimum value from selected database entries",abstract:"Returns the minimum value from selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dmin-function-4ae6f1d9-1f26-40f1-a783-6dc3680192a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DPRODUCT:{description:"Multiplies the values in a particular field of records that match the criteria in a database",abstract:"Multiplies the values in a particular field of records that match the criteria in a database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dproduct-function-4f96b13e-d49c-47a7-b769-22f6d017cb31"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSTDEV:{description:"Estimates the standard deviation based on a sample of selected database entries",abstract:"Estimates the standard deviation based on a sample of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dstdev-function-026b8c73-616d-4b5e-b072-241871c4ab96"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSTDEVP:{description:"Calculates the standard deviation based on the entire population of selected database entries",abstract:"Calculates the standard deviation based on the entire population of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dstdevp-function-04b78995-da03-4813-bbd9-d74fd0f5d94b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSUM:{description:"Adds the numbers in the field column of records in the database that match the criteria",abstract:"Adds the numbers in the field column of records in the database that match the criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dsum-function-53181285-0c4b-4f5a-aaa3-529a322be41b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DVAR:{description:"Estimates variance based on a sample from selected database entries",abstract:"Estimates variance based on a sample from selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dvar-function-d6747ca9-99c7-48bb-996e-9d7af00f3ed1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DVARP:{description:"Calculates variance based on the entire population of selected database entries",abstract:"Calculates variance based on the entire population of selected database entries",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dvarp-function-eb0ba387-9cb7-45c8-81e9-0394912502fc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Xr={DATE:{description:"Returns the serial number of a particular date",abstract:"Returns the serial number of a particular date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/date-function-e36c0c8c-4104-49da-ab83-82328b832349"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DATEDIF:{description:"Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.",abstract:"Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/datedif-function-25dba1a4-2812-480b-84dd-8b32a451b35c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DATEVALUE:{description:"Converts a date in the form of text to a serial number",abstract:"Converts a date in the form of text to a serial number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/datevalue-function-df8b07d4-7761-4a93-bc33-b7471bbff252"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAY:{description:"Converts a serial number to a day of the month",abstract:"Converts a serial number to a day of the month",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/day-function-8a7d1cbb-6c7d-4ba1-8aea-25c134d03101"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAYS:{description:"Returns the number of days between two dates",abstract:"Returns the number of days between two dates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/days-function-57740535-d549-4395-8728-0f07bff0b9df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAYS360:{description:"Calculates the number of days between two dates based on a 360-day year",abstract:"Calculates the number of days between two dates based on a 360-day year",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/days360-function-b9a509fd-49ef-407e-94df-0cbda5718c2a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EDATE:{description:"Returns the serial number of the date that is the indicated number of months before or after the start date",abstract:"Returns the serial number of the date that is the indicated number of months before or after the start date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/edate-function-3c920eb2-6e66-44e7-a1f5-753ae47ee4f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EOMONTH:{description:"Returns the serial number of the last day of the month before or after a specified number of months",abstract:"Returns the serial number of the last day of the month before or after a specified number of months",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/eomonth-function-7314ffa1-2bc9-4005-9d66-f49db127d628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HOUR:{description:"Converts a serial number to an hour",abstract:"Converts a serial number to an hour",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hour-function-a3afa879-86cb-4339-b1b5-2dd2d7310ac7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISOWEEKNUM:{description:"Returns the number of the ISO week number of the year for a given date",abstract:"Returns the number of the ISO week number of the year for a given date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/isoweeknum-function-1c2d0afe-d25b-4ab1-8894-8d0520e90e0e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINUTE:{description:"Converts a serial number to a minute",abstract:"Converts a serial number to a minute",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/minute-function-af728df0-05c4-4b07-9eed-a84801a60589"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MONTH:{description:"Converts a serial number to a month",abstract:"Converts a serial number to a month",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/month-function-579a2881-199b-48b2-ab90-ddba0eba86e8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NETWORKDAYS:{description:"Returns the number of whole workdays between two dates",abstract:"Returns the number of whole workdays between two dates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/networkdays-function-48e717bf-a7a3-495f-969e-5005e3eb18e7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NETWORKDAYS_INTL:{description:"Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days",abstract:"Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/networkdays-intl-function-a9b26239-4f20-46a1-9ab8-4e925bfd5e28"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOW:{description:"Returns the serial number of the current date and time",abstract:"Returns the serial number of the current date and time",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/now-function-3337fd29-145a-4347-b2e6-20c904739c46"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SECOND:{description:"Converts a serial number to a second",abstract:"Converts a serial number to a second",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/second-function-740d1cfc-553c-4099-b668-80eaa24e8af1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TIME:{description:"Returns the serial number of a particular time",abstract:"Returns the serial number of a particular time",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/time-function-9a5aff99-8f7d-4611-845e-747d0b8d5457"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TIMEVALUE:{description:"Converts a time in the form of text to a serial number",abstract:"Converts a time in the form of text to a serial number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/timevalue-function-0b615c12-33d8-4431-bf3d-f3eb6d186645"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TODAY:{description:"Returns the serial number of today's date",abstract:"Returns the serial number of today's date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/today-function-5eb3078d-a82c-4736-8930-2f51a028fdd9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEEKDAY:{description:"Converts a serial number to a day of the week",abstract:"Converts a serial number to a day of the week",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weekday-function-60e44483-2ed1-439f-8bd0-e404c190949a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEEKNUM:{description:"Converts a serial number to a number representing where the week falls numerically with a year",abstract:"Converts a serial number to a number representing where the week falls numerically with a year",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weeknum-function-e5c43a03-b4ab-426c-b411-b18c13c75340"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WORKDAY:{description:"Returns the serial number of the date before or after a specified number of workdays",abstract:"Returns the serial number of the date before or after a specified number of workdays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/workday-function-f764a5b7-05fc-4494-9486-60d494efbf33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WORKDAY_INTL:{description:"Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days",abstract:"Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/workday-intl-function-a378391c-9ba7-4678-8a39-39611a9bf81d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YEAR:{description:"Converts a serial number to a year",abstract:"Converts a serial number to a year",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/year-function-c64f017a-1354-490d-981f-578e8ec8d3b9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YEARFRAC:{description:"Returns the year fraction representing the number of whole days between start_date and end_date",abstract:"Returns the year fraction representing the number of whole days between start_date and end_date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yearfrac-function-3844141e-c76d-4143-82b6-208454ddc6a8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Qr={BESSELI:{description:"Returns the modified Bessel function In(x)",abstract:"Returns the modified Bessel function In(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/besseli-function-8d33855c-9a8d-444b-98e0-852267b1c0df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELJ:{description:"Returns the Bessel function Jn(x)",abstract:"Returns the Bessel function Jn(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/besselj-function-839cb181-48de-408b-9d80-bd02982d94f7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELK:{description:"Returns the modified Bessel function Kn(x)",abstract:"Returns the modified Bessel function Kn(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/besselk-function-606d11bc-06d3-4d53-9ecb-2803e2b90b70"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELY:{description:"Returns the Bessel function Yn(x)",abstract:"Returns the Bessel function Yn(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bessely-function-f3a356b3-da89-42c3-8974-2da54d6353a2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2DEC:{description:"Converts a binary number to decimal",abstract:"Converts a binary number to decimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bin2dec-function-63905b57-b3a0-453d-99f4-647bb519cd6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2HEX:{description:"Converts a binary number to hexadecimal",abstract:"Converts a binary number to hexadecimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bin2hex-function-0375e507-f5e5-4077-9af8-28d84f9f41cc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2OCT:{description:"Converts a binary number to octal",abstract:"Converts a binary number to octal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bin2oct-function-0a4e01ba-ac8d-4158-9b29-16c25c4c23fd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITAND:{description:"Returns a 'Bitwise And' of two numbers",abstract:"Returns a 'Bitwise And' of two numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitand-function-8a2be3d7-91c3-4b48-9517-64548008563a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITLSHIFT:{description:"Returns a value number shifted left by shift_amount bits",abstract:"Returns a value number shifted left by shift_amount bits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitlshift-function-c55bb27e-cacd-4c7c-b258-d80861a03c9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITOR:{description:"Returns a bitwise OR of 2 numbers",abstract:"Returns a bitwise OR of 2 numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitor-function-f6ead5c8-5b98-4c9e-9053-8ad5234919b2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITRSHIFT:{description:"Returns a value number shifted right by shift_amount bits",abstract:"Returns a value number shifted right by shift_amount bits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitrshift-function-274d6996-f42c-4743-abdb-4ff95351222c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITXOR:{description:"Returns a bitwise 'Exclusive Or' of two numbers",abstract:"Returns a bitwise 'Exclusive Or' of two numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bitxor-function-c81306a1-03f9-4e89-85ac-b86c3cba10e4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMPLEX:{description:"Converts real and imaginary coefficients into a complex number",abstract:"Converts real and imaginary coefficients into a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/complex-function-f0b8f3a9-51cc-4d6d-86fb-3a9362fa4128"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONVERT:{description:"Converts a number from one measurement system to another",abstract:"Converts a number from one measurement system to another",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/convert-function-d785bef1-808e-4aac-bdcd-666c810f9af2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2BIN:{description:"Converts a decimal number to binary",abstract:"Converts a decimal number to binary",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dec2bin-function-0f63dd0e-5d1a-42d8-b511-5bf5c6d43838"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2HEX:{description:"Converts a decimal number to hexadecimal",abstract:"Converts a decimal number to hexadecimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dec2hex-function-6344ee8b-b6b5-4c6a-a672-f64666704619"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2OCT:{description:"Converts a decimal number to octal",abstract:"Converts a decimal number to octal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dec2oct-function-c9d835ca-20b7-40c4-8a9e-d3be351ce00f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DELTA:{description:"Tests whether two values are equal",abstract:"Tests whether two values are equal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/delta-function-2f763672-c959-4e07-ac33-fe03220ba432"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERF:{description:"Returns the error function",abstract:"Returns the error function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erf-function-c53c7e7b-5482-4b6c-883e-56df3c9af349"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERF_PRECISE:{description:"Returns the error function",abstract:"Returns the error function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erf-precise-function-9a349593-705c-4278-9a98-e4122831a8e0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERFC:{description:"Returns the complementary error function",abstract:"Returns the complementary error function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erfc-function-736e0318-70ba-4e8b-8d08-461fe68b71b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERFC_PRECISE:{description:"Returns the complementary ERF function integrated between x and infinity",abstract:"Returns the complementary ERF function integrated between x and infinity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/erfc-precise-function-e90e6bab-f45e-45df-b2ac-cd2eb4d4a273"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GESTEP:{description:"Tests whether a number is greater than a threshold value",abstract:"Tests whether a number is greater than a threshold value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gestep-function-f37e7d2a-41da-4129-be95-640883fca9df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2BIN:{description:"Converts a hexadecimal number to binary",abstract:"Converts a hexadecimal number to binary",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hex2bin-function-a13aafaa-5737-4920-8424-643e581828c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2DEC:{description:"Converts a hexadecimal number to decimal",abstract:"Converts a hexadecimal number to decimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hex2dec-function-8c8c3155-9f37-45a5-a3ee-ee5379ef106e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2OCT:{description:"Converts a hexadecimal number to octal",abstract:"Converts a hexadecimal number to octal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hex2oct-function-54d52808-5d19-4bd0-8a63-1096a5d11912"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMABS:{description:"Returns the absolute value (modulus) of a complex number",abstract:"Returns the absolute value (modulus) of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imabs-function-b31e73c6-d90c-4062-90bc-8eb351d765a1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMAGINARY:{description:"Returns the imaginary coefficient of a complex number",abstract:"Returns the imaginary coefficient of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imaginary-function-dd5952fd-473d-44d9-95a1-9a17b23e428a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMARGUMENT:{description:"Returns the argument theta, an angle expressed in radians",abstract:"Returns the argument theta, an angle expressed in radians",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imargument-function-eed37ec1-23b3-4f59-b9f3-d340358a034a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCONJUGATE:{description:"Returns the complex conjugate of a complex number",abstract:"Returns the complex conjugate of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imconjugate-function-2e2fc1ea-f32b-4f9b-9de6-233853bafd42"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOS:{description:"Returns the cosine of a complex number",abstract:"Returns the cosine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcos-function-dad75277-f592-4a6b-ad6c-be93a808a53c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOSH:{description:"Returns the hyperbolic cosine of a complex number",abstract:"Returns the hyperbolic cosine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcosh-function-053e4ddb-4122-458b-be9a-457c405e90ff"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOT:{description:"Returns the cotangent of a complex number",abstract:"Returns the cotangent of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcot-function-dc6a3607-d26a-4d06-8b41-8931da36442c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCSC:{description:"Returns the cosecant of a complex number",abstract:"Returns the cosecant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcsc-function-9e158d8f-2ddf-46cd-9b1d-98e29904a323"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCSCH:{description:"Returns the hyperbolic cosecant of a complex number",abstract:"Returns the hyperbolic cosecant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imcsch-function-c0ae4f54-5f09-4fef-8da0-dc33ea2c5ca9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMDIV:{description:"Returns the quotient of two complex numbers",abstract:"Returns the quotient of two complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imdiv-function-a505aff7-af8a-4451-8142-77ec3d74d83f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMEXP:{description:"Returns the exponential of a complex number",abstract:"Returns the exponential of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imexp-function-c6f8da1f-e024-4c0c-b802-a60e7147a95f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLN:{description:"Returns the natural logarithm of a complex number",abstract:"Returns the natural logarithm of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imln-function-32b98bcf-8b81-437c-a636-6fb3aad509d8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLOG10:{description:"Returns the base-10 logarithm of a complex number",abstract:"Returns the base-10 logarithm of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imlog10-function-58200fca-e2a2-4271-8a98-ccd4360213a5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLOG2:{description:"Returns the base-2 logarithm of a complex number",abstract:"Returns the base-2 logarithm of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imlog2-function-152e13b4-bc79-486c-a243-e6a676878c51"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMPOWER:{description:"Returns a complex number raised to an integer power",abstract:"Returns a complex number raised to an integer power",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/impower-function-210fd2f5-f8ff-4c6a-9d60-30e34fbdef39"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMPRODUCT:{description:"Returns the product of from 2 to 255 complex numbers",abstract:"Returns the product of from 2 to 255 complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/improduct-function-2fb8651a-a4f2-444f-975e-8ba7aab3a5ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMREAL:{description:"Returns the real coefficient of a complex number",abstract:"Returns the real coefficient of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imreal-function-d12bc4c0-25d0-4bb3-a25f-ece1938bf366"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSEC:{description:"Returns the secant of a complex number",abstract:"Returns the secant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsec-function-6df11132-4411-4df4-a3dc-1f17372459e0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSECH:{description:"Returns the hyperbolic secant of a complex number",abstract:"Returns the hyperbolic secant of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsech-function-f250304f-788b-4505-954e-eb01fa50903b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSIN:{description:"Returns the sine of a complex number",abstract:"Returns the sine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsin-function-1ab02a39-a721-48de-82ef-f52bf37859f6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSINH:{description:"Returns the hyperbolic sine of a complex number",abstract:"Returns the hyperbolic sine of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsinh-function-dfb9ec9e-8783-4985-8c42-b028e9e8da3d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSQRT:{description:"Returns the square root of a complex number",abstract:"Returns the square root of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsqrt-function-e1753f80-ba11-4664-a10e-e17368396b70"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSUB:{description:"Returns the difference between two complex numbers",abstract:"Returns the difference between two complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsub-function-2e404b4d-4935-4e85-9f52-cb08b9a45054"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSUM:{description:"Returns the sum of complex numbers",abstract:"Returns the sum of complex numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imsum-function-81542999-5f1c-4da6-9ffe-f1d7aaa9457f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMTAN:{description:"Returns the tangent of a complex number",abstract:"Returns the tangent of a complex number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/imtan-function-8478f45d-610a-43cf-8544-9fc0b553a132"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2BIN:{description:"Converts an octal number to binary",abstract:"Converts an octal number to binary",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oct2bin-function-55383471-3c56-4d27-9522-1a8ec646c589"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2DEC:{description:"Converts an octal number to decimal",abstract:"Converts an octal number to decimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oct2dec-function-87606014-cb98-44b2-8dbb-e48f8ced1554"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2HEX:{description:"Converts an octal number to hexadecimal",abstract:"Converts an octal number to hexadecimal",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oct2hex-function-912175b4-d497-41b4-a029-221f051b858f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Jr={ACCRINT:{description:"Returns the accrued interest for a security that pays periodic interest",abstract:"Returns the accrued interest for a security that pays periodic interest",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/accrint-function-fe45d089-6722-4fb3-9379-e1f911d8dc74"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACCRINTM:{description:"Returns the accrued interest for a security that pays interest at maturity",abstract:"Returns the accrued interest for a security that pays interest at maturity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/accrintm-function-f62f01f9-5754-4cc4-805b-0e70199328a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AMORDEGRC:{description:"Returns the depreciation for each accounting period by using a depreciation coefficient",abstract:"Returns the depreciation for each accounting period by using a depreciation coefficient",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/amordegrc-function-a14d0ca1-64a4-42eb-9b3d-b0dededf9e51"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AMORLINC:{description:"Returns the depreciation for each accounting period",abstract:"Returns the depreciation for each accounting period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/amorlinc-function-7d417b45-f7f5-4dba-a0a5-3451a81079a8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYBS:{description:"Returns the number of days from the beginning of the coupon period to the settlement date",abstract:"Returns the number of days from the beginning of the coupon period to the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupdaybs-function-eb9a8dfb-2fb2-4c61-8e5d-690b320cf872"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYS:{description:"Returns the number of days in the coupon period that contains the settlement date",abstract:"Returns the number of days in the coupon period that contains the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupdays-function-cc64380b-315b-4e7b-950c-b30b0a76f671"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYSNC:{description:"Returns the number of days from the settlement date to the next coupon date",abstract:"Returns the number of days from the settlement date to the next coupon date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupdaysnc-function-5ab3f0b2-029f-4a8b-bb65-47d525eea547"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPNCD:{description:"Returns the next coupon date after the settlement date",abstract:"Returns the next coupon date after the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupncd-function-fd962fef-506b-4d9d-8590-16df5393691f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPNUM:{description:"Returns the number of coupons payable between the settlement date and maturity date",abstract:"Returns the number of coupons payable between the settlement date and maturity date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coupnum-function-a90af57b-de53-4969-9c99-dd6139db2522"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPPCD:{description:"Returns the previous coupon date before the settlement date",abstract:"Returns the previous coupon date before the settlement date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/couppcd-function-2eb50473-6ee9-4052-a206-77a9a385d5b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUMIPMT:{description:"Returns the cumulative interest paid between two periods",abstract:"Returns the cumulative interest paid between two periods",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cumipmt-function-61067bb0-9016-427d-b95b-1a752af0e606"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUMPRINC:{description:"Returns the cumulative principal paid on a loan between two periods",abstract:"Returns the cumulative principal paid on a loan between two periods",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cumprinc-function-94a4516d-bd65-41a1-bc16-053a6af4c04d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DB:{description:"Returns the depreciation of an asset for a specified period by using the fixed-declining balance method",abstract:"Returns the depreciation of an asset for a specified period by using the fixed-declining balance method",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/db-function-354e7d28-5f93-4ff1-8a52-eb4ee549d9d7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DDB:{description:"Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify",abstract:"Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ddb-function-519a7a37-8772-4c96-85c0-ed2c209717a5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DISC:{description:"Returns the discount rate for a security",abstract:"Returns the discount rate for a security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/disc-function-71fce9f3-3f05-4acf-a5a3-eac6ef4daa53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLARDE:{description:"Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number",abstract:"Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dollarde-function-db85aab0-1677-428a-9dfd-a38476693427"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLARFR:{description:"Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction",abstract:"Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dollarfr-function-0835d163-3023-4a33-9824-3042c5d4f495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DURATION:{description:"Returns the annual duration of a security with periodic interest payments",abstract:"Returns the annual duration of a security with periodic interest payments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/duration-function-b254ea57-eadc-4602-a86a-c8e369334038"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EFFECT:{description:"Returns the effective annual interest rate",abstract:"Returns the effective annual interest rate",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/effect-function-910d4e4c-79e2-4009-95e6-507e04f11bc4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FV:{description:"Returns the future value of an investment",abstract:"Returns the future value of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fv-function-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FVSCHEDULE:{description:"Returns the future value of an initial principal after applying a series of compound interest rates",abstract:"Returns the future value of an initial principal after applying a series of compound interest rates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fvschedule-function-bec29522-bd87-4082-bab9-a241f3fb251d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INTRATE:{description:"Returns the interest rate for a fully invested security",abstract:"Returns the interest rate for a fully invested security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/intrate-function-5cb34dde-a221-4cb6-b3eb-0b9e55e1316f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IPMT:{description:"Returns the interest payment for an investment for a given period",abstract:"Returns the interest payment for an investment for a given period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ipmt-function-5cce0ad6-8402-4a41-8d29-61a0b054cb6f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IRR:{description:"Returns the internal rate of return for a series of cash flows",abstract:"Returns the internal rate of return for a series of cash flows",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/irr-function-64925eaa-9988-495b-b290-3ad0c163c1bc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISPMT:{description:"Calculates the interest paid during a specific period of an investment",abstract:"Calculates the interest paid during a specific period of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ispmt-function-fa58adb6-9d39-4ce0-8f43-75399cea56cc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MDURATION:{description:"Returns the Macauley modified duration for a security with an assumed par value of $100",abstract:"Returns the Macauley modified duration for a security with an assumed par value of $100",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mduration-function-b3786a69-4f20-469a-94ad-33e5b90a763c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIRR:{description:"Returns the internal rate of return where positive and negative cash flows are financed at different rates",abstract:"Returns the internal rate of return where positive and negative cash flows are financed at different rates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mirr-function-b020f038-7492-4fb4-93c1-35c345b53524"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOMINAL:{description:"Returns the annual nominal interest rate",abstract:"Returns the annual nominal interest rate",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/nominal-function-7f1ae29b-6b92-435e-b950-ad8b190ddd2b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NPER:{description:"Returns the number of periods for an investment",abstract:"Returns the number of periods for an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/nper-function-240535b5-6653-4d2d-bfcf-b6a38151d815"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NPV:{description:"Returns the net present value of an investment based on a series of periodic cash flows and a discount rate",abstract:"Returns the net present value of an investment based on a series of periodic cash flows and a discount rate",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/npv-function-8672cb67-2576-4d07-b67b-ac28acf2a568"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDFPRICE:{description:"Returns the price per $100 face value of a security with an odd first period",abstract:"Returns the price per $100 face value of a security with an odd first period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddfprice-function-d7d664a8-34df-4233-8d2b-922bcf6a69e1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDFYIELD:{description:"Returns the yield of a security with an odd first period",abstract:"Returns the yield of a security with an odd first period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddfyield-function-66bc8b7b-6501-4c93-9ce3-2fd16220fe37"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDLPRICE:{description:"Returns the price per $100 face value of a security with an odd last period",abstract:"Returns the price per $100 face value of a security with an odd last period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddlprice-function-fb657749-d200-4902-afaf-ed5445027fc4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDLYIELD:{description:"Returns the yield of a security with an odd last period",abstract:"Returns the yield of a security with an odd last period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/oddlyield-function-c873d088-cf40-435f-8d41-c8232fee9238"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PDURATION:{description:"Returns the number of periods required by an investment to reach a specified value",abstract:"Returns the number of periods required by an investment to reach a specified value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pduration-function-44f33460-5be5-4c90-b857-22308892adaf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PMT:{description:"Returns the periodic payment for an annuity",abstract:"Returns the periodic payment for an annuity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pmt-function-0214da64-9a63-4996-bc20-214433fa6441"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PPMT:{description:"Returns the payment on the principal for an investment for a given period",abstract:"Returns the payment on the principal for an investment for a given period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ppmt-function-c370d9e3-7749-4ca4-beea-b06c6ac95e1b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICE:{description:"Returns the price per $100 face value of a security that pays periodic interest",abstract:"Returns the price per $100 face value of a security that pays periodic interest",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/price-function-3ea9deac-8dfa-436f-a7c8-17ea02c21b0a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICEDISC:{description:"Returns the price per $100 face value of a discounted security",abstract:"Returns the price per $100 face value of a discounted security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pricedisc-function-d06ad7c1-380e-4be7-9fd9-75e3079acfd3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICEMAT:{description:"Returns the price per $100 face value of a security that pays interest at maturity",abstract:"Returns the price per $100 face value of a security that pays interest at maturity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pricemat-function-52c3b4da-bc7e-476a-989f-a95f675cae77"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PV:{description:"Returns the present value of an investment",abstract:"Returns the present value of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pv-function-23879d31-0e02-4321-be01-da16e8168cbd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RATE:{description:"Returns the interest rate per period of an annuity",abstract:"Returns the interest rate per period of an annuity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rate-function-9f665657-4a7e-4bb7-a030-83fc59e748ce"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RECEIVED:{description:"Returns the amount received at maturity for a fully invested security",abstract:"Returns the amount received at maturity for a fully invested security",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/received-function-7a3f8b93-6611-4f81-8576-828312c9b5e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RRI:{description:"Returns an equivalent interest rate for the growth of an investment",abstract:"Returns an equivalent interest rate for the growth of an investment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rri-function-6f5822d8-7ef1-4233-944c-79e8172930f4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SLN:{description:"Returns the straight-line depreciation of an asset for one period",abstract:"Returns the straight-line depreciation of an asset for one period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sln-function-cdb666e5-c1c6-40a7-806a-e695edc2f1c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SYD:{description:"Returns the sum-of-years' digits depreciation of an asset for a specified period",abstract:"Returns the sum-of-years' digits depreciation of an asset for a specified period",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/syd-function-069f8106-b60b-4ca2-98e0-2a0f206bdb27"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLEQ:{description:"Returns the bond-equivalent yield for a Treasury bill",abstract:"Returns the bond-equivalent yield for a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tbilleq-function-2ab72d90-9b4d-4efe-9fc2-0f81f2c19c8c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLPRICE:{description:"Returns the price per $100 face value for a Treasury bill",abstract:"Returns the price per $100 face value for a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tbillprice-function-eacca992-c29d-425a-9eb8-0513fe6035a2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLYIELD:{description:"Returns the yield for a Treasury bill",abstract:"Returns the yield for a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VDB:{description:"Returns the depreciation of an asset for a specified or partial period by using a declining balance method",abstract:"Returns the depreciation of an asset for a specified or partial period by using a declining balance method",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vdb-function-dde4e207-f3fa-488d-91d2-66d55e861d73"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XIRR:{description:"Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic",abstract:"Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XNPV:{description:"Returns the net present value for a schedule of cash flows that is not necessarily periodic",abstract:"Returns the net present value for a schedule of cash flows that is not necessarily periodic",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xnpv-function-1b42bbf6-370f-4532-a0eb-d67c16b664b7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELD:{description:"Returns the yield on a security that pays periodic interest",abstract:"Returns the yield on a security that pays periodic interest",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yield-function-f5f5ca43-c4bd-434f-8bd2-ed3c9727a4fe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELDDISC:{description:"Returns the annual yield for a discounted security; for example, a Treasury bill",abstract:"Returns the annual yield for a discounted security; for example, a Treasury bill",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yielddisc-function-a9dbdbae-7dae-46de-b995-615faffaaed7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELDMAT:{description:"Returns the annual yield of a security that pays interest at maturity",abstract:"Returns the annual yield of a security that pays interest at maturity",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/yieldmat-function-ba7d1809-0d33-4bcb-96c7-6c56ec62ef6f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Zr={CELL:{description:"Returns information about the formatting, location, or contents of a cell",abstract:"Returns information about the formatting, location, or contents of a cell",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cell-function-51bd39a5-f338-4dbe-a33f-955d67c2b2cf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERROR_TYPE:{description:"Returns a number corresponding to an error type",abstract:"Returns a number corresponding to an error type",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/error-type-function-10958677-7c8d-44f7-ae77-b9a9ee6eefaa"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INFO:{description:"Returns information about the current operating environment",abstract:"Returns information about the current operating environment",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/info-function-725f259a-0e4b-49b3-8b52-58815c69acae"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISBLANK:{description:"Returns TRUE if the value is blank",abstract:"Returns TRUE if the value is blank",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISERR:{description:"Returns TRUE if the value is any error value except #N/A",abstract:"Returns TRUE if the value is any error value except #N/A",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISERROR:{description:"Returns TRUE if the value is any error value",abstract:"Returns TRUE if the value is any error value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISEVEN:{description:"Returns TRUE if the number is even",abstract:"Returns TRUE if the number is even",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/iseven-function-aa15929a-d77b-4fbb-92f4-2f479af55356"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISFORMULA:{description:"Returns TRUE if there is a reference to a cell that contains a formula",abstract:"Returns TRUE if there is a reference to a cell that contains a formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/isformula-function-e4d1355f-7121-4ef2-801e-3839bfd6b1e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISLOGICAL:{description:"Returns TRUE if the value is a logical value",abstract:"Returns TRUE if the value is a logical value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNA:{description:"Returns TRUE if the value is the #N/A error value",abstract:"Returns TRUE if the value is the #N/A error value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNONTEXT:{description:"Returns TRUE if the value is not text",abstract:"Returns TRUE if the value is not text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNUMBER:{description:"Returns TRUE if the value is a number",abstract:"Returns TRUE if the value is a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISODD:{description:"Returns TRUE if the number is odd",abstract:"Returns TRUE if the number is odd",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISOMITTED:{description:"Checks whether the value in a LAMBDA is missing and returns TRUE or FALSE",abstract:"Checks whether the value in a LAMBDA is missing and returns TRUE or FALSE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/isomitted-function-831d6fbc-0f07-40c4-9c5b-9c73fd1d60c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISREF:{description:"Returns TRUE if the value is a reference",abstract:"Returns TRUE if the value is a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISTEXT:{description:"Returns TRUE if the value is text",abstract:"Returns TRUE if the value is text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},N:{description:"Returns a value converted to a number",abstract:"Returns a value converted to a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/n-function-a624cad1-3635-4208-b54a-29733d1278c9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NA:{description:"Returns the error value #N/A",abstract:"Returns the error value #N/A",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/na-function-5469c2d1-a90c-4fb5-9bbc-64bd9bb6b47c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SHEET:{description:"Returns the sheet number of the referenced sheet",abstract:"Returns the sheet number of the referenced sheet",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sheet-function-44718b6f-8b87-47a1-a9d6-b701c06cff24"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SHEETS:{description:"Returns the number of sheets in a reference",abstract:"Returns the number of sheets in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sheets-function-770515eb-e1e8-45ce-8066-b557e5e4b80b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TYPE:{description:"Returns a number indicating the data type of a value",abstract:"Returns a number indicating the data type of a value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/type-function-45b4e688-4bc3-48b3-a105-ffa892995899"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ei={AND:{description:"Returns TRUE if all of its arguments are TRUE",abstract:"Returns TRUE if all of its arguments are TRUE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/and-function-5f19b2e8-e1df-4408-897a-ce285a19e9d9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BYCOL:{description:"Applies a LAMBDA to each column and returns an array of the results",abstract:"Applies a LAMBDA to each column and returns an array of the results",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bycol-function-58463999-7de5-49ce-8f38-b7f7a2192bfb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BYROW:{description:"Applies a LAMBDA to each row and returns an array of the results",abstract:"Applies a LAMBDA to each row and returns an array of the results",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/byrow-function-2e04c677-78c8-4e6b-8c10-a4602f2602bb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FALSE:{description:"Returns the logical value FALSE",abstract:"Returns the logical value FALSE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/false-function-2d58dfa5-9c03-4259-bf8f-f0ae14346904"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IF:{description:"Specifies a logical test to perform",abstract:"Specifies a logical test to perform",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFERROR:{description:"Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula",abstract:"Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/iferror-function-c526fd07-caeb-47b8-8bb6-63f3e417f611"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFNA:{description:"Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression",abstract:"Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ifna-function-6626c961-a569-42fc-a49d-79b4951fd461"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFS:{description:"Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.",abstract:"Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ifs-function-36329a26-37b2-467c-972b-4a39bd951d45"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LAMBDA:{description:"Create custom, reusable functions and call them by a friendly name",abstract:"Create custom, reusable functions and call them by a friendly name",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lambda-function-bd212d27-1cd1-4321-a34a-ccbf254b8b67"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LET:{description:"Assigns names to calculation results",abstract:"Assigns names to calculation results",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAKEARRAY:{description:"Returns a calculated array of a specified row and column size, by applying a LAMBDA",abstract:"Returns a calculated array of a specified row and column size, by applying a LAMBDA",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/makearray-function-b80da5ad-b338-4149-a523-5b221da09097"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAP:{description:"Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value",abstract:"Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/map-function-48006093-f97c-47c1-bfcc-749263bb1f01"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOT:{description:"Reverses the logic of its argument",abstract:"Reverses the logic of its argument",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/not-function-9cfc6011-a054-40c7-a140-cd4ba2d87d77"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OR:{description:"Returns TRUE if any argument is TRUE",abstract:"Returns TRUE if any argument is TRUE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/or-function-7d17ad14-8700-4281-b308-00b131e22af0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REDUCE:{description:"Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator",abstract:"Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/reduce-function-42e39910-b345-45f3-84b8-0642b568b7cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SCAN:{description:"Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value",abstract:"Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/scan-function-d58dfd11-9969-4439-b2dc-e7062724de29"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SWITCH:{description:"Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.",abstract:"Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/switch-function-47ab33c0-28ce-4530-8a45-d532ec4aa25e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRUE:{description:"Returns the logical value TRUE",abstract:"Returns the logical value TRUE",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XOR:{description:"Returns a logical exclusive OR of all arguments",abstract:"Returns a logical exclusive OR of all arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xor-function-1548d4c2-5e47-4f77-9a92-0533bba14f37"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ti={ADDRESS:{description:"Returns a reference as text to a single cell in a worksheet",abstract:"Returns a reference as text to a single cell in a worksheet",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/address-function-d0c26c0d-3991-446b-8de4-ab46431d4f89"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AREAS:{description:"Returns the number of areas in a reference",abstract:"Returns the number of areas in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/areas-function-8392ba32-7a41-43b3-96b0-3695d2ec6152"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSE:{description:"Chooses a value from a list of values",abstract:"Chooses a value from a list of values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/choose-function-fc5c184f-cb62-4ec7-a46e-38653b98f5bc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSECOLS:{description:"Returns the specified columns from an array",abstract:"Returns the specified columns from an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/choosecols-function-bf117976-2722-4466-9b9a-1c01ed9aebff"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSEROWS:{description:"Returns the specified rows from an array",abstract:"Returns the specified rows from an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chooserows-function-51ace882-9bab-4a44-9625-7274ef7507a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COLUMN:{description:"Returns the column number of a reference",abstract:"Returns the column number of a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/column-function-44e8c754-711c-4df3-9da4-47a55042554b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COLUMNS:{description:"Returns the number of columns in a reference",abstract:"Returns the number of columns in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/columns-function-4e8e7b4e-e603-43e8-b177-956088fa48ca"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DROP:{description:"Excludes a specified number of rows or columns from the start or end of an array",abstract:"Excludes a specified number of rows or columns from the start or end of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/drop-function-1cb4e151-9e17-4838-abe5-9ba48d8c6a34"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPAND:{description:"Expands or pads an array to specified row and column dimensions",abstract:"Expands or pads an array to specified row and column dimensions",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/expand-function-7433fba5-4ad1-41da-a904-d5d95808bc38"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FILTER:{description:"Filters a range of data based on criteria you define",abstract:"Filters a range of data based on criteria you define",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/filter-function-f4f7cb66-82eb-4767-8f7c-4877ad80c759"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORMULATEXT:{description:"Returns the formula at the given reference as text",abstract:"Returns the formula at the given reference as text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/formulatext-function-0a786771-54fd-4ae2-96ee-09cda35439c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GETPIVOTDATA:{description:"Returns data stored in a PivotTable report",abstract:"Returns data stored in a PivotTable report",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/getpivotdata-function-8c083b99-a922-4ca0-af5e-3af55960761f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HLOOKUP:{description:"Looks in the top row of an array and returns the value of the indicated cell",abstract:"Looks in the top row of an array and returns the value of the indicated cell",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hlookup-function-a3034eec-b719-4ba3-bb65-e1ad662ed95f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HSTACK:{description:"Appends arrays horizontally and in sequence to return a larger array",abstract:"Appends arrays horizontally and in sequence to return a larger array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hstack-function-98c4ab76-10fe-4b4f-8d5f-af1c125fe8c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPERLINK:{description:"Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet",abstract:"Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hyperlink-function-333c7ce6-c5ae-4164-9c47-7de9b76f577f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMAGE:{description:"Returns an image from a given source",abstract:"Returns an image from a given source",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/image-function-7e112975-5e52-4f2a-b9da-1d913d51f5d5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INDEX:{description:"Uses an index to choose a value from a reference or array",abstract:"Uses an index to choose a value from a reference or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/index-function-a5dcf0dd-996d-40a4-a822-b56b061328bd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INDIRECT:{description:"Returns a reference indicated by a text value",abstract:"Returns a reference indicated by a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/indirect-function-474b3a3a-8a26-4f44-b491-92b6306fa261"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOOKUP:{description:"Looks up values in a vector or array",abstract:"Looks up values in a vector or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lookup-function-446d94af-663b-451d-8251-369d5e3864cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MATCH:{description:"Looks up values in a reference or array",abstract:"Looks up values in a reference or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/match-function-e8dffd45-c762-47d6-bf89-533f4a37673a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OFFSET:{description:"Returns a reference offset from a given reference",abstract:"Returns a reference offset from a given reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/offset-function-c8de19ae-dd79-4b9b-a14e-b4d906d11b66"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROW:{description:"Returns the row number of a reference",abstract:"Returns the row number of a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/row-function-3a63b74a-c4d0-4093-b49a-e76eb49a6d8d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROWS:{description:"Returns the number of rows in a reference",abstract:"Returns the number of rows in a reference",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rows-function-b592593e-3fc2-47f2-bec1-bda493811597"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RTD:{description:"Retrieves real-time data from a program that supports COM automation",abstract:"Retrieves real-time data from a program that supports COM automation",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rtd-function-e0cc001a-56f0-470a-9b19-9455dc0eb593"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SORT:{description:"Sorts the contents of a range or array",abstract:"Sorts the contents of a range or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sort-function-22f63bd0-ccc8-492f-953d-c20e8e44b86c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SORTBY:{description:"Sorts the contents of a range or array based on the values in a corresponding range or array",abstract:"Sorts the contents of a range or array based on the values in a corresponding range or array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sortby-function-cd2d7a62-1b93-435c-b561-d6a35134f28f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TAKE:{description:"Returns a specified number of contiguous rows or columns from the start or end of an array",abstract:"Returns a specified number of contiguous rows or columns from the start or end of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/take-function-25382ff1-5da1-4f78-ab43-f33bd2e4e003"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TOCOL:{description:"Returns the array in a single column",abstract:"Returns the array in a single column",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tocol-function-22839d9b-0b55-4fc1-b4e6-2761f8f122ed"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TOROW:{description:"Returns the array in a single row",abstract:"Returns the array in a single row",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/torow-function-b90d0964-a7d9-44b7-816b-ffa5c2fe2289"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRANSPOSE:{description:"Returns the transpose of an array",abstract:"Returns the transpose of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/transpose-function-ed039415-ed8a-4a81-93e9-4b6dfac76027"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNIQUE:{description:"Returns a list of unique values in a list or range",abstract:"Returns a list of unique values in a list or range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/unique-function-c5ab87fd-30a3-4ce9-9d1a-40204fb85e1e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VLOOKUP:{description:"Looks in the first column of an array and moves across the row to return the value of a cell",abstract:"Looks in the first column of an array and moves across the row to return the value of a cell",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VSTACK:{description:"Appends arrays vertically and in sequence to return a larger array",abstract:"Appends arrays vertically and in sequence to return a larger array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vstack-function-a4b86897-be0f-48fc-adca-fcc10d795a9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WRAPCOLS:{description:"Wraps the provided row or column of values by columns after a specified number of elements",abstract:"Wraps the provided row or column of values by columns after a specified number of elements",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/wrapcols-function-d038b05a-57b7-4ee0-be94-ded0792511e2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WRAPROWS:{description:"Wraps the provided row or column of values by rows after a specified number of elements",abstract:"Wraps the provided row or column of values by rows after a specified number of elements",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/wraprows-function-796825f3-975a-4cee-9c84-1bbddf60ade0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XLOOKUP:{description:"Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match. ",abstract:"Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match. ",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xlookup-function-b7fd680e-6d10-43e6-84f9-88eae8bf5929"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XMATCH:{description:"Returns the relative position of an item in an array or range of cells. ",abstract:"Returns the relative position of an item in an array or range of cells. ",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/xmatch-function-d966da31-7a6b-4a13-a1c6-5a33ed6a0312"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ni={ABS:{description:"Returns the absolute value of a number",abstract:"Returns the absolute value of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/abs-function-3420200f-5628-4e8c-99da-c99d7c87713c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOS:{description:"Returns the arccosine of a number",abstract:"Returns the arccosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acos-function-cb73173f-d089-4582-afa1-76e5524b5d5b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOSH:{description:"Returns the inverse hyperbolic cosine of a number",abstract:"Returns the inverse hyperbolic cosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acosh-function-e3992cc1-103f-4e72-9f04-624b9ef5ebfe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOT:{description:"Returns the arccotangent of a number",abstract:"Returns the arccotangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acot-function-dc7e5008-fe6b-402e-bdd6-2eea8383d905"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOTH:{description:"Returns the hyperbolic arccotangent of a number",abstract:"Returns the hyperbolic arccotangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/acoth-function-cc49480f-f684-4171-9fc5-73e4e852300f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AGGREGATE:{description:"Returns an aggregate in a list or database",abstract:"Returns an aggregate in a list or database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/aggregate-function-43b9278e-6aa7-4f17-92b6-e19993fa26df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ARABIC:{description:"Converts a Roman number to Arabic, as a number",abstract:"Converts a Roman number to Arabic, as a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/arabic-function-9a8da418-c17b-4ef9-a657-9370a30a674f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ASIN:{description:"Returns the arcsine of a number",abstract:"Returns the arcsine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/asin-function-81fb95e5-6d6f-48c4-bc45-58f955c6d347"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ASINH:{description:"Returns the inverse hyperbolic sine of a number",abstract:"Returns the inverse hyperbolic sine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/asinh-function-4e00475a-067a-43cf-926a-765b0249717c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATAN:{description:"Returns the arctangent of a number",abstract:"Returns the arctangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/atan-function-50746fa8-630a-406b-81d0-4a2aed395543"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATAN2:{description:"Returns the arctangent from x- and y-coordinates",abstract:"Returns the arctangent from x- and y-coordinates",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/atan2-function-c04592ab-b9e3-4908-b428-c96b3a565033"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATANH:{description:"Returns the inverse hyperbolic tangent of a number",abstract:"Returns the inverse hyperbolic tangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/atanh-function-3cd65768-0de7-4f1d-b312-d01c8c930d90"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BASE:{description:"Converts a number into a text representation with the given radix (base)",abstract:"Converts a number into a text representation with the given radix (base)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/base-function-2ef61411-aee9-4f29-a811-1c42456c6342"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING:{description:"Rounds a number to the nearest integer or to the nearest multiple of significance",abstract:"Rounds a number to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ceiling-function-0a5cd7c8-0720-4f0a-bd2c-c943e510899f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING_MATH:{description:"Rounds a number up, to the nearest integer or to the nearest multiple of significance",abstract:"Rounds a number up, to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ceiling-math-function-80f95d2f-b499-4eee-9f16-f795a8e306c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING_PRECISE:{description:"Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.",abstract:"Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ceiling-precise-function-f366a774-527a-4c92-ba49-af0a196e66cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMBIN:{description:"Returns the number of combinations for a given number of objects",abstract:"Returns the number of combinations for a given number of objects",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/combin-function-12a3f276-0a21-423a-8de6-06990aaf638a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMBINA:{description:"Returns the number of combinations with repetitions for a given number of items",abstract:"Returns the number of combinations with repetitions for a given number of items",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/combina-function-efb49eaa-4f4c-4cd2-8179-0ddfcf9d035d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COS:{description:"Returns the cosine of a number",abstract:"Returns the cosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cos-function-0fb808a5-95d6-4553-8148-22aebdce5f05"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COSH:{description:"Returns the hyperbolic cosine of a number",abstract:"Returns the hyperbolic cosine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cosh-function-e460d426-c471-43e8-9540-a57ff3b70555"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COT:{description:"Returns the cotangent of an angle",abstract:"Returns the cotangent of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/cot-function-c446f34d-6fe4-40dc-84f8-cf59e5f5e31a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COTH:{description:"Returns the hyperbolic cotangent of a number",abstract:"Returns the hyperbolic cotangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/coth-function-2e0b4cb6-0ba0-403e-aed4-deaa71b49df5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CSC:{description:"Returns the cosecant of an angle",abstract:"Returns the cosecant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/csc-function-07379361-219a-4398-8675-07ddc4f135c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CSCH:{description:"Returns the hyperbolic cosecant of an angle",abstract:"Returns the hyperbolic cosecant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/csch-function-f58f2c22-eb75-4dd6-84f4-a503527f8eeb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DECIMAL:{description:"Converts a text representation of a number in a given base into a decimal number",abstract:"Converts a text representation of a number in a given base into a decimal number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/decimal-function-ee554665-6176-46ef-82de-0a283658da2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEGREES:{description:"Converts radians to degrees",abstract:"Converts radians to degrees",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/degrees-function-4d6ec4db-e694-4b94-ace0-1cc3f61f9ba1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EVEN:{description:"Rounds a number up to the nearest even integer",abstract:"Rounds a number up to the nearest even integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/even-function-197b5f06-c795-4c1e-8696-3c3b8a646cf9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXP:{description:"Returns e raised to the power of a given number",abstract:"Returns e raised to the power of a given number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/exp-function-c578f034-2c45-4c37-bc8c-329660a63abe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FACT:{description:"Returns the factorial of a number",abstract:"Returns the factorial of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fact-function-ca8588c2-15f2-41c0-8e8c-c11bd471a4f3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FACTDOUBLE:{description:"Returns the double factorial of a number",abstract:"Returns the double factorial of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/factdouble-function-e67697ac-d214-48eb-b7b7-cce2589ecac8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR:{description:"Rounds a number down, toward zero",abstract:"Rounds a number down, toward zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-function-14bb497c-24f2-4e04-b327-b0b4de5a8886"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR_MATH:{description:"Rounds a number down, to the nearest integer or to the nearest multiple of significance",abstract:"Rounds a number down, to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-math-function-c302b599-fbdb-4177-ba19-2c2b1249a2f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR_PRECISE:{description:"Rounds a number down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down.",abstract:"Rounds a number down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/floor-precise-function-f769b468-1452-4617-8dc3-02f842a0702e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GCD:{description:"Returns the greatest common divisor",abstract:"Returns the greatest common divisor",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gcd-function-d5107a51-69e3-461f-8e4c-ddfc21b5073a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INT:{description:"Rounds a number down to the nearest integer",abstract:"Rounds a number down to the nearest integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/int-function-a6c4af9e-356d-4369-ab6a-cb1fd9d343ef"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISO_CEILING:{description:"Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance",abstract:"Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/iso-ceiling-function-e587bb73-6cc2-4113-b664-ff5b09859a83"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LCM:{description:"Returns the least common multiple",abstract:"Returns the least common multiple",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lcm-function-7152b67a-8bb5-4075-ae5c-06ede5563c94"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LET:{description:"Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula",abstract:"Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LN:{description:"Returns the natural logarithm of a number",abstract:"Returns the natural logarithm of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/ln-function-81fe1ed7-dac9-4acd-ba1d-07a142c6118f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOG:{description:"Returns the logarithm of a number to a specified base",abstract:"Returns the logarithm of a number to a specified base",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/log-function-4e82f196-1ca9-4747-8fb0-6c4a3abb3280"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOG10:{description:"Returns the base-10 logarithm of a number",abstract:"Returns the base-10 logarithm of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/log10-function-c75b881b-49dd-44fb-b6f4-37e3486a0211"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MDETERM:{description:"Returns the matrix determinant of an array",abstract:"Returns the matrix determinant of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mdeterm-function-e7bfa857-3834-422b-b871-0ffd03717020"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINVERSE:{description:"Returns the matrix inverse of an array",abstract:"Returns the matrix inverse of an array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/minverse-function-11f55086-adde-4c9f-8eb9-59da2d72efc6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MMULT:{description:"Returns the matrix product of two arrays",abstract:"Returns the matrix product of two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mmult-function-40593ed7-a3cd-4b6b-b9a3-e4ad3c7245eb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MOD:{description:"Returns the remainder from division",abstract:"Returns the remainder from division",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mod-function-9b6cd169-b6ee-406a-a97b-edf2a9dc24f3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MROUND:{description:"Returns a number rounded to the desired multiple",abstract:"Returns a number rounded to the desired multiple",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mround-function-c299c3b0-15a5-426d-aa4b-d2d5b3baf427"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MULTINOMIAL:{description:"Returns the multinomial of a set of numbers",abstract:"Returns the multinomial of a set of numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/multinomial-function-6fa6373c-6533-41a2-a45e-a56db1db1bf6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MUNIT:{description:"Returns the unit matrix or the specified dimension",abstract:"Returns the unit matrix or the specified dimension",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/munit-function-c9fe916a-dc26-4105-997d-ba22799853a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODD:{description:"Rounds a number up to the nearest odd integer",abstract:"Rounds a number up to the nearest odd integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/odd-function-deae64eb-e08a-4c88-8b40-6d0b42575c98"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PI:{description:"Returns the value of pi",abstract:"Returns the value of pi",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pi-function-264199d0-a3ba-46b8-975a-c4a04608989b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POWER:{description:"Returns the result of a number raised to a power",abstract:"Returns the result of a number raised to a power",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/power-function-d3f2908b-56f4-4c3f-895a-07fb519c362a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRODUCT:{description:"Multiplies its arguments",abstract:"Multiplies its arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/product-function-8e6b5b24-90ee-4650-aeec-80982a0512ce"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUOTIENT:{description:"Returns the integer portion of a division",abstract:"Returns the integer portion of a division",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/quotient-function-9f7bf099-2a18-4282-8fa4-65290cc99dee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RADIANS:{description:"Converts degrees to radians",abstract:"Converts degrees to radians",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/radians-function-ac409508-3d48-45f5-ac02-1497c92de5bf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RAND:{description:"Returns a random number between 0 and 1",abstract:"Returns a random number between 0 and 1",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rand-function-4cbfa695-8869-4788-8d90-021ea9f5be73"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANDARRAY:{description:"Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.",abstract:"Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/randarray-function-21261e55-3bec-4885-86a6-8b0a47fd4d33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANDBETWEEN:{description:"Returns a random number between the numbers you specify",abstract:"Returns a random number between the numbers you specify",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/randbetween-function-4cc7f0d1-87dc-4eb7-987f-a469ab381685"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROMAN:{description:"Converts an Arabic numeral to Roman, as text",abstract:"Converts an Arabic numeral to Roman, as text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/roman-function-d6b0b99e-de46-4704-a518-b45a0f8b56f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUND:{description:"Rounds a number to a specified number of digits",abstract:"Rounds a number to a specified number of digits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/round-function-c018c5d8-40fb-4053-90b1-b3e7f61a213c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUNDDOWN:{description:"Rounds a number down, toward zero",abstract:"Rounds a number down, toward zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rounddown-function-2ec94c73-241f-4b01-8c6f-17e6d7968f53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUNDUP:{description:"Rounds a number up, away from zero",abstract:"Rounds a number up, away from zero",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/roundup-function-f8bc9b23-e795-47db-8703-db171d0c42a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEC:{description:"Returns the secant of an angle",abstract:"Returns the secant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sec-function-ff224717-9c87-4170-9b58-d069ced6d5f7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SECH:{description:"Returns the hyperbolic secant of an angle",abstract:"Returns the hyperbolic secant of an angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sech-function-e05a789f-5ff7-4d7f-984a-5edb9b09556f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SERIESSUM:{description:"Returns the sum of a power series based on the formula",abstract:"Returns the sum of a power series based on the formula",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/seriessum-function-a3ab25b5-1093-4f5b-b084-96c49087f637"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEQUENCE:{description:"Generates a list of sequential numbers in an array, such as 1, 2, 3, 4",abstract:"Generates a list of sequential numbers in an array, such as 1, 2, 3, 4",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sequence-function-57467a98-57e0-4817-9f14-2eb78519ca90"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SIGN:{description:"Returns the sign of a number",abstract:"Returns the sign of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sign-function-109c932d-fcdc-4023-91f1-2dd0e916a1d8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SIN:{description:"Returns the sine of the given angle",abstract:"Returns the sine of the given angle",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sin-function-cf0e3432-8b9e-483c-bc55-a76651c95602"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SINH:{description:"Returns the hyperbolic sine of a number",abstract:"Returns the hyperbolic sine of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sinh-function-1e4e8b9f-2b65-43fc-ab8a-0a37f4081fa7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SQRT:{description:"Returns a positive square root",abstract:"Returns a positive square root",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sqrt-function-654975c2-05c4-4831-9a24-2c65e4040fdf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SQRTPI:{description:"Returns the square root of (number * pi)",abstract:"Returns the square root of (number * pi)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sqrtpi-function-1fb4e63f-9b51-46d6-ad68-b3e7a8b519b4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUBTOTAL:{description:"Returns a subtotal in a list or database",abstract:"Returns a subtotal in a list or database",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/subtotal-function-7b027003-f060-4ade-9040-e478765b9939"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUM:{description:"You can add individual values, cell references or ranges or a mix of all three.",abstract:"Adds its arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sum-function-043e1c7d-7726-4e80-8f32-07b23e057f89"}],functionParameter:{number1:{name:"number1",detail:"The first number you want to add. The number can be like 4, a cell reference like B6, or a cell range like B2:B8."},number2:{name:"number2",detail:"This is the second number you want to add. You can specify up to 255 numbers in this way."}}},SUMIF:{description:"Sum the values in a range that meet criteria that you specify.",abstract:"Adds the cells specified by a given criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumif-function-169b8c99-c05c-4483-a712-1697a653039b"}],functionParameter:{range:{name:"range",detail:"The range of cells that you want evaluated by criteria."},criteria:{name:"criteria",detail:"The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. Wildcard characters can be included - a question mark (?) to match any single character, an asterisk (*) to match any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character."},sum_range:{name:"sum_range",detail:"The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied)."}}},SUMIFS:{description:"Adds the cells in a range that meet multiple criteria",abstract:"Adds the cells in a range that meet multiple criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumifs-function-c9e748f5-7ea7-455d-9406-611cebce642b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMPRODUCT:{description:"Returns the sum of the products of corresponding array components",abstract:"Returns the sum of the products of corresponding array components",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumproduct-function-16753e75-9f68-4874-94ac-4d2145a2fd2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMSQ:{description:"Returns the sum of the squares of the arguments",abstract:"Returns the sum of the squares of the arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumsq-function-e3313c02-51cc-4963-aae6-31442d9ec307"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMX2MY2:{description:"Returns the sum of the difference of squares of corresponding values in two arrays",abstract:"Returns the sum of the difference of squares of corresponding values in two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumx2my2-function-9e599cc5-5399-48e9-a5e0-e37812dfa3e9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMX2PY2:{description:"Returns the sum of the sum of squares of corresponding values in two arrays",abstract:"Returns the sum of the sum of squares of corresponding values in two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumx2py2-function-826b60b4-0aa2-4e5e-81d2-be704d3d786f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMXMY2:{description:"Returns the sum of squares of differences of corresponding values in two arrays",abstract:"Returns the sum of squares of differences of corresponding values in two arrays",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/sumxmy2-function-9d144ac1-4d79-43de-b524-e2ecee23b299"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TAN:{description:"Returns the tangent of a number",abstract:"Returns the tangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tan-function-08851a40-179f-4052-b789-d7f699447401"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TANH:{description:"Returns the hyperbolic tangent of a number",abstract:"Returns the hyperbolic tangent of a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/tanh-function-017222f0-a0c3-4f69-9787-b3202295dc6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRUNC:{description:"Truncates a number to an integer",abstract:"Truncates a number to an integer",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/trunc-function-8b86a64c-3127-43db-ba14-aa5ceb292721"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ri={AVEDEV:{description:"Returns the average of the absolute deviations of data points from their mean",abstract:"Returns the average of the absolute deviations of data points from their mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/avedev-function-58fe8d65-2a84-4dc7-8052-f3f87b5c6639"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGE:{description:"Returns the average (arithmetic mean) of the arguments.",abstract:"Returns the average of its arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/average-function-047bac88-d466-426c-a32b-8f33eb960cf6"}],functionParameter:{number1:{name:"number1",detail:"The first number, cell reference, or range for which you want the average."},number2:{name:"number2",detail:"Additional numbers, cell references or ranges for which you want the average, up to a maximum of 255."}}},AVERAGEA:{description:"Returns the average of its arguments, including numbers, text, and logical values",abstract:"Returns the average of its arguments, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/averagea-function-f5f84098-d453-4f4c-bbba-3d2c66356091"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGEIF:{description:"Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria",abstract:"Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/averageif-function-faec8e2e-0dec-4308-af69-f5576d8ac642"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGEIFS:{description:"Returns the average (arithmetic mean) of all cells that meet multiple criteria",abstract:"Returns the average (arithmetic mean) of all cells that meet multiple criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/averageifs-function-48910c45-1fc0-4389-a028-f7c5c3001690"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETA_DIST:{description:"Returns the beta cumulative distribution function",abstract:"Returns the beta cumulative distribution function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/beta-dist-function-11188c9c-780a-42c7-ba43-9ecb5a878d31"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETA_INV:{description:"Returns the inverse of the cumulative distribution function for a specified beta distribution",abstract:"Returns the inverse of the cumulative distribution function for a specified beta distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/beta-inv-function-e84cb8aa-8df0-4cf6-9892-83a341d252eb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_DIST:{description:"Returns the individual term binomial distribution probability",abstract:"Returns the individual term binomial distribution probability",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binom-dist-function-c5ae37b6-f39c-4be2-94c2-509a1480770c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_DIST_RANGE:{description:"Returns the probability of a trial result using a binomial distribution",abstract:"Returns the probability of a trial result using a binomial distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binom-dist-range-function-17331329-74c7-4053-bb4c-6653a7421595"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_INV:{description:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",abstract:"Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/binom-inv-function-80a0370c-ada6-49b4-83e7-05a91ba77ac9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_DIST:{description:"Returns the cumulative beta probability density function",abstract:"Returns the cumulative beta probability density function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-dist-function-8486b05e-5c05-4942-a9ea-f6b341518732"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_DIST_RT:{description:"Returns the one-tailed probability of the chi-squared distribution",abstract:"Returns the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-dist-rt-function-dc4832e8-ed2b-49ae-8d7c-b28d5804c0f2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_INV:{description:"Returns the cumulative beta probability density function",abstract:"Returns the cumulative beta probability density function",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-inv-function-400db556-62b3-472d-80b3-254723e7092f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_INV_RT:{description:"Returns the inverse of the one-tailed probability of the chi-squared distribution",abstract:"Returns the inverse of the one-tailed probability of the chi-squared distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-inv-rt-function-435b5ed8-98d5-4da6-823f-293e2cbc94fe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_TEST:{description:"Returns the test for independence",abstract:"Returns the test for independence",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/chisq-test-function-2e8a7861-b14a-4985-aa93-fb88de3f260f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE_NORM:{description:"Returns the confidence interval for a population mean",abstract:"Returns the confidence interval for a population mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/confidence-norm-function-7cec58a6-85bb-488d-91c3-63828d4fbfd4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE_T:{description:"Returns the confidence interval for a population mean, using a Student's t distribution",abstract:"Returns the confidence interval for a population mean, using a Student's t distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/confidence-t-function-e8eca395-6c3a-4ba9-9003-79ccc61d3c53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CORREL:{description:"Returns the correlation coefficient between two data sets",abstract:"Returns the correlation coefficient between two data sets",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/correl-function-995dcef7-0c0a-4bed-a3fb-239d7b68ca92"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNT:{description:"Counts the number of cells that contain numbers, and counts numbers within the list of arguments.",abstract:"Counts how many numbers are in the list of arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/count-function-a59cd7fc-b623-4d93-87a4-d23bf411294c"}],functionParameter:{value1:{name:"value1",detail:"The first item, cell reference, or range within which you want to count numbers."},value2:{name:"value2",detail:"Up to 255 additional items, cell references, or ranges within which you want to count numbers."}}},COUNTA:{description:`Counts cells containing any type of information, including error values and empty text ("")
|
|
12
12
|
If you do not need to count logical values, text, or error values`,abstract:"Counts how many values are in the list of arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/counta-function-7dc98875-d5c1-46f1-9a82-53f3219e2509"}],functionParameter:{number1:{name:"value1",detail:"Required. The first argument representing the values that you want to count."},number2:{name:"value2",detail:"Optional. Additional arguments representing the values that you want to count, up to a maximum of 255 arguments."}}},COUNTBLANK:{description:"Counts the number of blank cells within a range",abstract:"Counts the number of blank cells within a range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/countblank-function-6a92d772-675c-4bee-b346-24af6bd3ac22"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNTIF:{description:"Counts the number of cells within a range that meet the given criteria",abstract:"Counts the number of cells within a range that meet the given criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/countif-function-e0de10c6-f885-4e71-abb4-1f464816df34"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNTIFS:{description:"Counts the number of cells within a range that meet multiple criteria",abstract:"Counts the number of cells within a range that meet multiple criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/countifs-function-dda3dc6e-f74e-4aee-88bc-aa8c2a866842"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVARIANCE_P:{description:"Returns covariance, the average of the products of paired deviations",abstract:"Returns covariance, the average of the products of paired deviations",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/covariance-p-function-6f0e1e6d-956d-4e4b-9943-cfef0bf9edfc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVARIANCE_S:{description:"Returns the sample covariance, the average of the products deviations for each data point pair in two data sets",abstract:"Returns the sample covariance, the average of the products deviations for each data point pair in two data sets",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/covariance-s-function-0a539b74-7371-42aa-a18f-1f5320314977"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEVSQ:{description:"Returns the sum of squares of deviations",abstract:"Returns the sum of squares of deviations",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/devsq-function-8b739616-8376-4df5-8bd0-cfe0a6caf444"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPON_DIST:{description:"Returns the exponential distribution",abstract:"Returns the exponential distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/expon-dist-function-4c12ae24-e563-4155-bf3e-8b78b6ae140e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_DIST:{description:"Returns the F probability distribution",abstract:"Returns the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/f-dist-function-a887efdc-7c8e-46cb-a74a-f884cd29b25d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_DIST_RT:{description:"Returns the F probability distribution",abstract:"Returns the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/f-dist-rt-function-d74cbb00-6017-4ac9-b7d7-6049badc0520"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_INV:{description:"Returns the inverse of the F probability distribution",abstract:"Returns the inverse of the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/f-inv-function-0dda0cf9-4ea0-42fd-8c3c-417a1ff30dbe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_INV_RT:{description:"Returns the inverse of the F probability distribution",abstract:"Returns the inverse of the F probability distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/f-inv-rt-function-d371aa8f-b0b1-40ef-9cc2-496f0693ac00"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_TEST:{description:"Returns the result of an F-test",abstract:"Returns the result of an F-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/f-test-function-100a59e7-4108-46f8-8443-78ffacb6c0a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FISHER:{description:"Returns the Fisher transformation",abstract:"Returns the Fisher transformation",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fisher-function-d656523c-5076-4f95-b87b-7741bf236c69"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FISHERINV:{description:"Returns the inverse of the Fisher transformation",abstract:"Returns the inverse of the Fisher transformation",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fisherinv-function-62504b39-415a-4284-a285-19c8e82f86bb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST:{description:"Returns a value along a linear trend",abstract:"Returns a value along a linear trend",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecast-and-forecast-linear-functions-50ca49c9-7b40-4892-94e4-7ad38bbeda99"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS:{description:"Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm",abstract:"Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_CONFINT:{description:"Returns a confidence interval for the forecast value at the specified target date",abstract:"Returns a confidence interval for the forecast value at the specified target date",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.CONFINT"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_SEASONALITY:{description:"Returns the length of the repetitive pattern Excel detects for the specified time series",abstract:"Returns the length of the repetitive pattern Excel detects for the specified time series",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.SEASONALITY"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_STAT:{description:"Returns a statistical value as a result of time series forecasting",abstract:"Returns a statistical value as a result of time series forecasting",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.STAT"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_LINEAR:{description:"Returns a future value based on existing values",abstract:"Returns a future value based on existing values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.LINEAR"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FREQUENCY:{description:"Returns a frequency distribution as a vertical array",abstract:"Returns a frequency distribution as a vertical array",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/frequency-function-44e3be2b-eca0-42cd-a3f7-fd9ea898fdb9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA:{description:"Returns the Gamma function value",abstract:"Returns the Gamma function value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gamma-function-ce1702b1-cf55-471d-8307-f83be0fc5297"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA_DIST:{description:"Returns the gamma distribution",abstract:"Returns the gamma distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gamma-dist-function-9b6f1538-d11c-4d5f-8966-21f6a2201def"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA_INV:{description:"Returns the inverse of the gamma cumulative distribution",abstract:"Returns the inverse of the gamma cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gamma-inv-function-74991443-c2b0-4be5-aaab-1aa4d71fbb18"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMALN:{description:"Returns the natural logarithm of the gamma function, Γ(x)",abstract:"Returns the natural logarithm of the gamma function, Γ(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gammaln-function-b838c48b-c65f-484f-9e1d-141c55470eb9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMALN_PRECISE:{description:"Returns the natural logarithm of the gamma function, Γ(x)",abstract:"Returns the natural logarithm of the gamma function, Γ(x)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gammaln-precise-function-5cdfe601-4e1e-4189-9d74-241ef1caa599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAUSS:{description:"Returns 0.5 less than the standard normal cumulative distribution",abstract:"Returns 0.5 less than the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/gauss-function-069f1b4e-7dee-4d6a-a71f-4b69044a6b33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GEOMEAN:{description:"Returns the geometric mean",abstract:"Returns the geometric mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/geomean-function-db1ac48d-25a5-40a0-ab83-0b38980e40d5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GROWTH:{description:"Returns values along an exponential trend",abstract:"Returns values along an exponential trend",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/growth-function-541a91dc-3d5e-437d-b156-21324e68b80d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HARMEAN:{description:"Returns the harmonic mean",abstract:"Returns the harmonic mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/harmean-function-5efd9184-fab5-42f9-b1d3-57883a1d3bc6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPGEOM_DIST:{description:"Returns the hypergeometric distribution",abstract:"Returns the hypergeometric distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/hypgeom-dist-function-6dbd547f-1d12-4b1f-8ae5-b0d9e3d22fbf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INTERCEPT:{description:"Returns the intercept of the linear regression line",abstract:"Returns the intercept of the linear regression line",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/intercept-function-2a9b74e2-9d47-4772-b663-3bca70bf63ef"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},KURT:{description:"Returns the kurtosis of a data set",abstract:"Returns the kurtosis of a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/kurt-function-bc3a265c-5da4-4dcb-b7fd-c237789095ab"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LARGE:{description:"Returns the k-th largest value in a data set",abstract:"Returns the k-th largest value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/large-function-3af0af19-1190-42bb-bb8b-01672ec00a64"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LINEST:{description:"Returns the parameters of a linear trend",abstract:"Returns the parameters of a linear trend",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/linest-function-84d7d0d9-6e50-4101-977a-fa7abf772b6d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGEST:{description:"Returns the parameters of an exponential trend",abstract:"Returns the parameters of an exponential trend",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/logest-function-f27462d8-3657-4030-866b-a272c1d18b4b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORM_DIST:{description:"Returns the cumulative lognormal distribution",abstract:"Returns the cumulative lognormal distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lognorm-dist-function-eb60d00b-48a9-4217-be2b-6074aee6b070"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORM_INV:{description:"Returns the inverse of the lognormal cumulative distribution",abstract:"Returns the inverse of the lognormal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lognorm-inv-function-fe79751a-f1f2-4af8-a0a1-e151b2d4f600"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAX:{description:"Returns the largest value in a set of values.",abstract:"Returns the maximum value in a list of arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/max-function-e0012414-9ac8-4b34-9a47-73e662c08098"}],functionParameter:{number1:{name:"number1",detail:"The first number, cell reference, or range to calculate the maximum value from."},number2:{name:"number2",detail:"Additional numbers, cell references or ranges to calculate the maximum value from, up to a maximum of 255."}}},MAXA:{description:"Returns the maximum value in a list of arguments, including numbers, text, and logical values",abstract:"Returns the maximum value in a list of arguments, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/maxa-function-814bda1e-3840-4bff-9365-2f59ac2ee62d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAXIFS:{description:"Returns the maximum value among cells specified by a given set of conditions or criteria",abstract:"Returns the maximum value among cells specified by a given set of conditions or criteria",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/maxifs-function-dfd611e6-da2c-488a-919b-9b6376b28883"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MEDIAN:{description:"Returns the median of the given numbers",abstract:"Returns the median of the given numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/median-function-d0916313-4753-414c-8537-ce85bdd967d2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIN:{description:"Returns the smallest number in a set of values.",abstract:"Returns the minimum value in a list of arguments",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/min-function-61635d12-920f-4ce2-a70f-96f202dcc152"}],functionParameter:{number1:{name:"number1",detail:"The first number, cell reference, or range to calculate the minimum value from."},number2:{name:"number2",detail:"Additional numbers, cell references or ranges to calculate the minimum value from, up to a maximum of 255."}}},MINA:{description:"Returns the smallest value in a list of arguments, including numbers, text, and logical values",abstract:"Returns the smallest value in a list of arguments, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mina-function-245a6f46-7ca5-4dc7-ab49-805341bc31d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINIFS:{description:"Returns the minimum value among cells specified by a given set of conditions or criteria.",abstract:"Returns the minimum value among cells specified by a given set of conditions or criteria.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/minifs-function-6ca1ddaa-079b-4e74-80cc-72eef32e6599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE_MULT:{description:"Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data",abstract:"Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mode-mult-function-50fd9464-b2ba-4191-b57a-39446689ae8c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE_SNGL:{description:"Returns the most common value in a data set",abstract:"Returns the most common value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mode-sngl-function-f1267c16-66c6-4386-959f-8fba5f8bb7f8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NEGBINOM_DIST:{description:"Returns the negative binomial distribution",abstract:"Returns the negative binomial distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/negbinom-dist-function-c8239f89-c2d0-45bd-b6af-172e570f8599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_DIST:{description:"Returns the normal cumulative distribution",abstract:"Returns the normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/norm-dist-function-edb1cc14-a21c-4e53-839d-8082074c9f8d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_INV:{description:"Returns the inverse of the normal cumulative distribution",abstract:"Returns the inverse of the normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/norm-inv-function-54b30935-fee7-493c-bedb-2278a9db7e13"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_S_DIST:{description:"Returns the standard normal cumulative distribution",abstract:"Returns the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/norm-s-dist-function-1e787282-3832-4520-a9ae-bd2a8d99ba88"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_S_INV:{description:"Returns the inverse of the standard normal cumulative distribution",abstract:"Returns the inverse of the standard normal cumulative distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/norm-s-inv-function-d6d556b4-ab7f-49cd-b526-5a20918452b1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PEARSON:{description:"Returns the Pearson product moment correlation coefficient",abstract:"Returns the Pearson product moment correlation coefficient",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/pearson-function-0c3e30fc-e5af-49c4-808a-3ef66e034c18"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE_EXC:{description:"Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive",abstract:"Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentile-exc-function-bbaa7204-e9e1-4010-85bf-c31dc5dce4ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE_INC:{description:"Returns the k-th percentile of values in a range",abstract:"Returns the k-th percentile of values in a range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentile-inc-function-680f9539-45eb-410b-9a5e-c1355e5fe2ed"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK_EXC:{description:"Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set",abstract:"Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentrank-exc-function-d8afee96-b7e2-4a2f-8c01-8fcdedaa6314"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK_INC:{description:"Returns the percentage rank of a value in a data set",abstract:"Returns the percentage rank of a value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/percentrank-inc-function-149592c9-00c0-49ba-86c1-c1f45b80463a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERMUT:{description:"Returns the number of permutations for a given number of objects",abstract:"Returns the number of permutations for a given number of objects",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/permut-function-3bd1cb9a-2880-41ab-a197-f246a7a602d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERMUTATIONA:{description:"Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects",abstract:"Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/permutationa-function-6c7d7fdc-d657-44e6-aa19-2857b25cae4e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PHI:{description:"Returns the value of the density function for a standard normal distribution",abstract:"Returns the value of the density function for a standard normal distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/phi-function-23e49bc6-a8e8-402d-98d3-9ded87f6295c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POISSON_DIST:{description:"Returns the Poisson distribution",abstract:"Returns the Poisson distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/poisson-dist-function-8fe148ff-39a2-46cb-abf3-7772695d9636"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PROB:{description:"Returns the probability that values in a range are between two limits",abstract:"Returns the probability that values in a range are between two limits",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/prob-function-9ac30561-c81c-4259-8253-34f0a238fc49"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE_EXC:{description:"Returns the quartile of the data set, based on percentile values from 0..1, exclusive",abstract:"Returns the quartile of the data set, based on percentile values from 0..1, exclusive",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/quartile-exc-function-5a355b7a-840b-4a01-b0f1-f538c2864cad"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE_INC:{description:"Returns the quartile of a data set",abstract:"Returns the quartile of a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/quartile-inc-function-1bbacc80-5075-42f1-aed6-47d735c4819d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK_AVG:{description:"Returns the rank of a number in a list of numbers",abstract:"Returns the rank of a number in a list of numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rank-avg-function-bd406a6f-eb38-4d73-aa8e-6d1c3c72e83a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK_EQ:{description:"Returns the rank of a number in a list of numbers",abstract:"Returns the rank of a number in a list of numbers",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rank-eq-function-284858ce-8ef6-450e-b662-26245be04a40"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RSQ:{description:"Returns the square of the Pearson product moment correlation coefficient",abstract:"Returns the square of the Pearson product moment correlation coefficient",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rsq-function-d7161715-250d-4a01-b80d-a8364f2be08f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SKEW:{description:"Returns the skewness of a distribution",abstract:"Returns the skewness of a distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/skew-function-bdf49d86-b1ef-4804-a046-28eaea69c9fa"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SKEW_P:{description:"Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean",abstract:"Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/skew-p-function-76530a5c-99b9-48a1-8392-26632d542fcb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SLOPE:{description:"Returns the slope of the linear regression line",abstract:"Returns the slope of the linear regression line",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/slope-function-11fb8f97-3117-4813-98aa-61d7e01276b9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SMALL:{description:"Returns the k-th smallest value in a data set",abstract:"Returns the k-th smallest value in a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/small-function-17da8222-7c82-42b2-961b-14c45384df07"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STANDARDIZE:{description:"Returns a normalized value",abstract:"Returns a normalized value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/standardize-function-81d66554-2d54-40ec-ba83-6437108ee775"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV_P:{description:"Calculates standard deviation based on the entire population",abstract:"Calculates standard deviation based on the entire population",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdev-p-function-6e917c05-31a0-496f-ade7-4f4e7462f285"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV_S:{description:"Estimates standard deviation based on a sample",abstract:"Estimates standard deviation based on a sample",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdev-s-function-7d69cf97-0c1f-4acf-be27-f3e83904cc23"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVA:{description:"Estimates standard deviation based on a sample, including numbers, text, and logical values",abstract:"Estimates standard deviation based on a sample, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdeva-function-5ff38888-7ea5-48de-9a6d-11ed73b29e9d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVPA:{description:"Calculates standard deviation based on the entire population, including numbers, text, and logical values",abstract:"Calculates standard deviation based on the entire population, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/stdevpa-function-5578d4d6-455a-4308-9991-d405afe2c28c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STEYX:{description:"Returns the standard error of the predicted y-value for each x in the regression",abstract:"Returns the standard error of the predicted y-value for each x in the regression",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/steyx-function-6ce74b2c-449d-4a6e-b9ac-f9cef5ba48ab"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST:{description:"Returns the Percentage Points (probability) for the Student t-distribution",abstract:"Returns the Percentage Points (probability) for the Student t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-dist-function-4329459f-ae91-48c2-bba8-1ead1c6c21b2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST_2T:{description:"Returns the Percentage Points (probability) for the Student t-distribution",abstract:"Returns the Percentage Points (probability) for the Student t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-dist-2t-function-198e9340-e360-4230-bd21-f52f22ff5c28"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST_RT:{description:"Returns the Student's t-distribution",abstract:"Returns the Student's t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-dist-rt-function-20a30020-86f9-4b35-af1f-7ef6ae683eda"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_INV:{description:"Returns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom",abstract:"Returns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-inv-function-2908272b-4e61-4942-9df9-a25fec9b0e2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_INV_2T:{description:"Returns the inverse of the Student's t-distribution",abstract:"Returns the inverse of the Student's t-distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-inv-2t-function-ce72ea19-ec6c-4be7-bed2-b9baf2264f17"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_TEST:{description:"Returns the probability associated with a Student's t-test",abstract:"Returns the probability associated with a Student's t-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-test-function-d4e08ec3-c545-485f-962e-276f7cbed055"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TREND:{description:"Returns values along a linear trend",abstract:"Returns values along a linear trend",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/trend-function-e2f135f0-8827-4096-9873-9a7cf7b51ef1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRIMMEAN:{description:"Returns the mean of the interior of a data set",abstract:"Returns the mean of the interior of a data set",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/trimmean-function-d90c9878-a119-4746-88fa-63d988f511d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR_P:{description:"Calculates variance based on the entire population",abstract:"Calculates variance based on the entire population",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/var-p-function-73d1285c-108c-4843-ba5d-a51f90656f3a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR_S:{description:"Estimates variance based on a sample",abstract:"Estimates variance based on a sample",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/var-s-function-913633de-136b-449d-813e-65a00b2b990b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARA:{description:"Estimates variance based on a sample, including numbers, text, and logical values",abstract:"Estimates variance based on a sample, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/vara-function-3de77469-fa3a-47b4-85fd-81758a1e1d07"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARPA:{description:"Calculates variance based on the entire population, including numbers, text, and logical values",abstract:"Calculates variance based on the entire population, including numbers, text, and logical values",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/varpa-function-59a62635-4e89-4fad-88ac-ce4dc0513b96"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEIBULL_DIST:{description:"Returns the Weibull distribution",abstract:"Returns the Weibull distribution",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/weibull-dist-function-4e783c39-9325-49be-bbc9-a83ef82b45db"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},Z_TEST:{description:"Returns the one-tailed probability-value of a z-test",abstract:"Returns the one-tailed probability-value of a z-test",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/z-test-function-d633d5a3-2031-4614-a016-92180ad82bee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ii={ASC:{description:"Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters",abstract:"Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/asc-function-0b6abf1c-c663-4004-a964-ebc00b723266"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ARRAYTOTEXT:{description:"Returns an array of text values from any specified range",abstract:"Returns an array of text values from any specified range",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/arraytotext-function-9cdcad46-2fa5-4c6b-ac92-14e7bc862b8b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BAHTTEXT:{description:"Converts a number to text, using the ß (baht) currency format",abstract:"Converts a number to text, using the ß (baht) currency format",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/bahttext-function-5ba4d0b4-abd3-4325-8d22-7a92d59aab9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHAR:{description:"Returns the character specified by the code number",abstract:"Returns the character specified by the code number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/char-function-bbd249c8-b36e-4a91-8017-1c133f9b837a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CLEAN:{description:"Removes all nonprintable characters from text",abstract:"Removes all nonprintable characters from text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/clean-function-26f3d7c5-475f-4a9c-90e5-4b8ba987ba41"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CODE:{description:"Returns a numeric code for the first character in a text string",abstract:"Returns a numeric code for the first character in a text string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/code-function-c32b692b-2ed0-4a04-bdd9-75640144b928"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCAT:{description:"Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments.",abstract:"Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments.",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/concat-function-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCATENATE:{description:"Joins several text items into one text item",abstract:"Joins several text items into one text item",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DBCS:{description:"Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters",abstract:"Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dbcs-function-a4025e73-63d2-4958-9423-21a24794c9e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLAR:{description:"Converts a number to text, using the $ (dollar) currency format",abstract:"Converts a number to text, using the $ (dollar) currency format",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/dollar-function-a6cd05d9-9740-4ad3-a469-8109d18ff611"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXACT:{description:"Checks to see if two text values are identical",abstract:"Checks to see if two text values are identical",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/exact-function-d3087698-fc15-4a15-9631-12575cf29926"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FIND:{description:"Finds one text value within another (case-sensitive)",abstract:"Finds one text value within another (case-sensitive)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/find-findb-functions-c7912941-af2a-4bdf-a553-d0d89b0a0628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FINDB:{description:"Finds one text value within another (case-sensitive)",abstract:"Finds one text value within another (case-sensitive)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/find-findb-functions-c7912941-af2a-4bdf-a553-d0d89b0a0628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FIXED:{description:"Formats a number as text with a fixed number of decimals",abstract:"Formats a number as text with a fixed number of decimals",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/fixed-function-ffd5723c-324c-45e9-8b96-e41be2a8274a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEFT:{description:"Returns the leftmost characters from a text value",abstract:"Returns the leftmost characters from a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/left-leftb-functions-9203d2d2-7960-479b-84c6-1ea52b99640c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEFTB:{description:"Returns the leftmost characters from a text value",abstract:"Returns the leftmost characters from a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/left-leftb-functions-9203d2d2-7960-479b-84c6-1ea52b99640c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEN:{description:"Returns the number of characters in a text string",abstract:"Returns the number of characters in a text string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/len-lenb-functions-29236f94-cedc-429d-affd-b5e33d2c67cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LENB:{description:"Returns the number of characters in a text string",abstract:"Returns the number of characters in a text string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/len-lenb-functions-29236f94-cedc-429d-affd-b5e33d2c67cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOWER:{description:"Converts text to lowercase",abstract:"Converts text to lowercase",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/lower-function-3f21df02-a80c-44b2-afaf-81358f9fdeb4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MID:{description:"Returns a specific number of characters from a text string starting at the position you specify",abstract:"Returns a specific number of characters from a text string starting at the position you specify",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mid-midb-functions-d5f9e25c-d7d6-472e-b568-4ecb12433028"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIDB:{description:"Returns a specific number of characters from a text string starting at the position you specify",abstract:"Returns a specific number of characters from a text string starting at the position you specify",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/mid-midb-functions-d5f9e25c-d7d6-472e-b568-4ecb12433028"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NUMBERVALUE:{description:"Converts text to number in a locale-independent manner",abstract:"Converts text to number in a locale-independent manner",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/numbervalue-function-1b05c8cf-2bfa-4437-af70-596c7ea7d879"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PHONETIC:{description:"Extracts the phonetic (furigana) characters from a text string",abstract:"Extracts the phonetic (furigana) characters from a text string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/phonetic-function-9a329dac-0c0f-42f8-9a55-639086988554"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PROPER:{description:"Capitalizes the first letter in each word of a text value",abstract:"Capitalizes the first letter in each word of a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/proper-function-52a5a283-e8b2-49be-8506-b2887b889f94"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPLACE:{description:"Replaces characters within text",abstract:"Replaces characters within text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/replace-replaceb-functions-8d799074-2425-4a8a-84bc-82472868878a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPLACEB:{description:"Replaces characters within text",abstract:"Replaces characters within text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/replace-replaceb-functions-8d799074-2425-4a8a-84bc-82472868878a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPT:{description:"Repeats text a given number of times",abstract:"Repeats text a given number of times",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/rept-function-04c4d778-e712-43b4-9c15-d656582bb061"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RIGHT:{description:"Returns the rightmost characters from a text value",abstract:"Returns the rightmost characters from a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/right-rightb-functions-240267ee-9afa-4639-a02b-f19e1786cf2f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RIGHTB:{description:"Returns the rightmost characters from a text value",abstract:"Returns the rightmost characters from a text value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/right-rightb-functions-240267ee-9afa-4639-a02b-f19e1786cf2f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEARCH:{description:"Finds one text value within another (not case-sensitive)",abstract:"Finds one text value within another (not case-sensitive)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/search-searchb-functions-9ab04538-0e55-4719-a72e-b6f54513b495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEARCHB:{description:"Finds one text value within another (not case-sensitive)",abstract:"Finds one text value within another (not case-sensitive)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/search-searchb-functions-9ab04538-0e55-4719-a72e-b6f54513b495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUBSTITUTE:{description:"Substitutes new text for old text in a text string",abstract:"Substitutes new text for old text in a text string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/substitute-function-6434944e-a904-4336-a9b0-1e58df3bc332"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T:{description:"Converts its arguments to text",abstract:"Converts its arguments to text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/t-function-fb83aeec-45e7-4924-af95-53e073541228"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXT:{description:"Formats a number and converts it to text",abstract:"Formats a number and converts it to text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTAFTER:{description:"Returns text that occurs after given character or string",abstract:"Returns text that occurs after given character or string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/textafter-function-c8db2546-5b51-416a-9690-c7e6722e90b4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTBEFORE:{description:"Returns text that occurs before a given character or string",abstract:"Returns text that occurs before a given character or string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/textbefore-function-d099c28a-dba8-448e-ac6c-f086d0fa1b29"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTJOIN:{description:"Text: Combines the text from multiple ranges and/or strings",abstract:"Text: Combines the text from multiple ranges and/or strings",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/textjoin-function-357b449a-ec91-49d0-80c3-0e8fc845691c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTSPLIT:{description:"Splits text strings by using column and row delimiters",abstract:"Splits text strings by using column and row delimiters",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/textsplit-function-b1ca414e-4c21-4ca0-b1b7-bdecace8a6e7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRIM:{description:"Removes spaces from text",abstract:"Removes spaces from text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/trim-function-410388fa-c5df-49c6-b16c-9e5630b479f9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNICHAR:{description:"Returns the Unicode character that is references by the given numeric value",abstract:"Returns the Unicode character that is references by the given numeric value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/unichar-function-ffeb64f5-f131-44c6-b332-5cd72f0659b8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNICODE:{description:"Returns the number (code point) that corresponds to the first character of the text",abstract:"Returns the number (code point) that corresponds to the first character of the text",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/unicode-function-adb74aaa-a2a5-4dde-aff6-966e4e81f16f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UPPER:{description:"Converts text to uppercase",abstract:"Converts text to uppercase",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/upper-function-c11f29b3-d1a3-4537-8df6-04d0049963d6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VALUE:{description:"Converts a text argument to a number",abstract:"Converts a text argument to a number",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/value-function-257d0108-07dc-437d-ae1c-bc2d3953d8c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VALUETOTEXT:{description:"Returns text from any specified value",abstract:"Returns text from any specified value",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/valuetotext-function-5fff61a2-301a-4ab2-9ffa-0a5242a08fea"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CALL:{description:"Calls a procedure in a dynamic link library or code resource",abstract:"Calls a procedure in a dynamic link library or code resource",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/call-function-32d58445-e646-4ffd-8d5e-b45077a5e995"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EUROCONVERT:{description:"Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)",abstract:"Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/euroconvert-function-79c8fd67-c665-450c-bb6c-15fc92f8345c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REGISTER_ID:{description:"Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered",abstract:"Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/register-id-function-f8f0af0f-fd66-4704-a0f2-87b27b175b50"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ai={},oi={ENCODEURL:{description:"Returns a URL-encoded string",abstract:"Returns a URL-encoded string",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/encodeurl-function-07c7fb90-7c60-4bff-8687-fac50fe33d0e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FILTERXML:{description:"Returns specific data from the XML content by using the specified XPath",abstract:"Returns specific data from the XML content by using the specified XPath",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/filterxml-function-4df72efc-11ec-4951-86f5-c1374812f5b7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEBSERVICE:{description:"Returns data from a web service",abstract:"Returns data from a web service",links:[{title:"Instruction",url:"https://support.microsoft.com/en-us/office/webservice-function-0546a35a-ecc6-4739-aed7-c0b7ce1562c4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},si={formula:{insert:{tooltip:"Functions",sum:"SUM",average:"AVERAGE",count:"COUNT",max:"MAX",min:"MIN",more:"More Functions..."},functionList:{...Jr,...Xr,...ni,...ri,...ti,...Yr,...ii,...ei,...Zr,...Qr,...Kr,...Gr,...oi,...Wr,...ai},prompt:{helpExample:"EXAMPLE",helpAbstract:"ABOUT",required:"Required.",optional:"Optional."},functionType:{financial:"Financial",date:"Date & Time",math:"Math & Trig",statistical:"Statistical",lookup:"Lookup & Reference",database:"Database",text:"Text",logical:"Logical",information:"Information",engineering:"Engineering",cube:"Cube",compatibility:"Compatibility",web:"Web",array:"Array",univer:"Univer"},moreFunctions:{confirm:"Confirm",prev:"Previous",next:"Next",searchFunctionPlaceholder:"Search function",allFunctions:"All Functions",syntax:"SYNTAX"},operation:{pasteFormula:"Paste Formula"}}},ci={},ui={BETADIST:{description:"返回 beta 累积分布函数",abstract:"返回 beta 累积分布函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/betadist-%E5%87%BD%E6%95%B0-49f1b9a9-a5da-470f-8077-5f1730b5fd47"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETAINV:{description:"返回指定 beta 分布的累积分布函数的反函数",abstract:"返回指定 beta 分布的累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/betainv-%E5%87%BD%E6%95%B0-8b914ade-b902-43c1-ac9c-c05c54f10d6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOMDIST:{description:"返回一元二项式分布的概率",abstract:"返回一元二项式分布的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/binomdist-%E5%87%BD%E6%95%B0-506a663e-c4ca-428d-b9a8-05583d68789c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHIDIST:{description:"返回 χ2 分布的单尾概率",abstract:"返回 χ2 分布的单尾概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chidist-%E5%87%BD%E6%95%B0-c90d0fbc-5b56-4f5f-ab57-34af1bf6897e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHIINV:{description:"返回 χ2 分布的单尾概率的反函数",abstract:"返回 χ2 分布的单尾概率的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chiinv-%E5%87%BD%E6%95%B0-cfbea3f6-6e4f-40c9-a87f-20472e0512af"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHITEST:{description:"返回独立性检验值",abstract:"返回独立性检验值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chitest-%E5%87%BD%E6%95%B0-981ff871-b694-4134-848e-38ec704577ac"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCATENATE:{description:"将 2 个或多个文本字符串联接成 1 个字符串",abstract:"将 2 个或多个文本字符串联接成 1 个字符串",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/concatenate-%E5%87%BD%E6%95%B0-8f8ae884-2ca8-4f7a-b093-75d702bea31d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE:{description:"返回总体平均值的置信区间",abstract:"返回总体平均值的置信区间",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/confidence-%E5%87%BD%E6%95%B0-75ccc007-f77c-4343-bc14-673642091ad6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVAR:{description:"返回协方差(成对偏差乘积的平均值)",abstract:"返回协方差(成对偏差乘积的平均值)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/covar-%E5%87%BD%E6%95%B0-50479552-2c03-4daf-bd71-a5ab88b2db03"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CRITBINOM:{description:"返回使累积二项式分布小于或等于临界值的最小值",abstract:"返回使累积二项式分布小于或等于临界值的最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/critbinom-%E5%87%BD%E6%95%B0-eb6b871d-796b-4d21-b69b-e4350d5f407b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPONDIST:{description:"返回指数分布",abstract:"返回指数分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/expondist-%E5%87%BD%E6%95%B0-68ab45fd-cd6d-4887-9770-9357eb8ee06a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FDIST:{description:"返回 F 概率分布",abstract:"返回 F 概率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fdist-%E5%87%BD%E6%95%B0-ecf76fba-b3f1-4e7d-a57e-6a5b7460b786"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FINV:{description:"返回 F 概率分布的反函数",abstract:"返回 F 概率分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/finv-%E5%87%BD%E6%95%B0-4d46c97c-c368-4852-bc15-41e8e31140b1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR:{description:"向绝对值减小的方向舍入数字",abstract:"向绝对值减小的方向舍入数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/floor-%E5%87%BD%E6%95%B0-14bb497c-24f2-4e04-b327-b0b4de5a8886"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST:{description:"使用现有值来计算或预测未来值。",abstract:"使用现有值来计算或预测未来值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/forecast-%E5%92%8C-forecast-linear-%E5%87%BD%E6%95%B0-50ca49c9-7b40-4892-94e4-7ad38bbeda99"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FTEST:{description:"返回 F 检验的结果",abstract:"返回 F 检验的结果",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ftest-%E5%87%BD%E6%95%B0-4c9e1202-53fe-428c-a737-976f6fc3f9fd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMADIST:{description:"返回 γ 分布",abstract:"返回 γ 分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gammadist-%E5%87%BD%E6%95%B0-7327c94d-0f05-4511-83df-1dd7ed23e19e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMAINV:{description:"返回 γ 累积分布函数的反函数",abstract:"返回 γ 累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gammainv-%E5%87%BD%E6%95%B0-06393558-37ab-47d0-aa63-432f99e7916d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPGEOMDIST:{description:"返回超几何分布",abstract:"返回超几何分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hypgeomdist-%E5%87%BD%E6%95%B0-23e37961-2871-4195-9629-d0b2c108a12e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGINV:{description:"返回对数累积分布函数的反函数",abstract:"返回对数累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/loginv-%E5%87%BD%E6%95%B0-0bd7631a-2725-482b-afb4-de23df77acfe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORMDIST:{description:"返回对数累积分布函数",abstract:"返回对数累积分布函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lognormdist-%E5%87%BD%E6%95%B0-f8d194cb-9ee3-4034-8c75-1bdb3884100b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE:{description:"返回在数据集内出现次数最多的值",abstract:"返回在数据集内出现次数最多的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mode-%E5%87%BD%E6%95%B0-e45192ce-9122-4980-82ed-4bdc34973120"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NEGBINOMDIST:{description:"返回负二项式分布",abstract:"返回负二项式分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/negbinomdist-%E5%87%BD%E6%95%B0-f59b0a37-bae2-408d-b115-a315609ba714"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMDIST:{description:"返回正态累积分布",abstract:"返回正态累积分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/normdist-%E5%87%BD%E6%95%B0-126db625-c53e-4591-9a22-c9ff422d6d58"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMINV:{description:"返回正态累积分布的反函数",abstract:"返回正态累积分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norminv-%E5%87%BD%E6%95%B0-87981ab8-2de0-4cb0-b1aa-e21d4cb879b8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMSDIST:{description:"返回标准正态累积分布",abstract:"返回标准正态累积分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/normsdist-%E5%87%BD%E6%95%B0-463369ea-0345-445d-802a-4ff0d6ce7cac"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORMSINV:{description:"返回标准正态累积分布函数的反函数",abstract:"返回标准正态累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/normsinv-%E5%87%BD%E6%95%B0-8d1bce66-8e4d-4f3b-967c-30eed61f019d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE:{description:"返回区域中数值的第 k 个百分点的值",abstract:"返回区域中数值的第 k 个百分点的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentile-%E5%87%BD%E6%95%B0-91b43a53-543c-4708-93de-d626debdddca"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK:{description:"返回数据集中值的百分比排位",abstract:"返回数据集中值的百分比排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentrank-%E5%87%BD%E6%95%B0-f1b5836c-9619-4847-9fc9-080ec9024442"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POISSON:{description:"返回泊松分布",abstract:"返回泊松分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/poisson-%E5%87%BD%E6%95%B0-d81f7294-9d7c-4f75-bc23-80aa8624173a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE:{description:"返回一组数据的四分位点",abstract:"返回一组数据的四分位点",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/quartile-%E5%87%BD%E6%95%B0-93cf8f62-60cd-4fdb-8a92-8451041e1a2a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK:{description:"返回一列数字的数字排位",abstract:"返回一列数字的数字排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rank-%E5%87%BD%E6%95%B0-6a2fc49d-1831-4a03-9d8c-c279cf99f723"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV:{description:"基于样本估算标准偏差",abstract:"基于样本估算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdev-%E5%87%BD%E6%95%B0-51fecaaa-231e-4bbb-9230-33650a72c9b0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVP:{description:"基于整个样本总体计算标准偏差",abstract:"基于整个样本总体计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdevp-%E5%87%BD%E6%95%B0-1f7c1c88-1bec-4422-8242-e9f7dc8bb195"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TDIST:{description:"返回学生 t-分布",abstract:"返回学生 t-分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tdist-%E5%87%BD%E6%95%B0-630a7695-4021-4853-9468-4a1f9dcdd192"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TINV:{description:"返回学生 t-分布的反函数",abstract:"返回学生 t-分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tinv-%E5%87%BD%E6%95%B0-a7c85b9d-90f5-41fe-9ca5-1cd2f3e1ed7c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TTEST:{description:"返回与学生 t-检验相关的概率",abstract:"返回与学生 t-检验相关的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ttest-%E5%87%BD%E6%95%B0-1696ffc1-4811-40fd-9d13-a0eaad83c7ae"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR:{description:"基于样本估算方差",abstract:"基于样本估算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/var-%E5%87%BD%E6%95%B0-1f2b7ab2-954d-4e17-ba2c-9e58b15a7da2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARP:{description:"计算基于样本总体的方差",abstract:"计算基于样本总体的方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/varp-%E5%87%BD%E6%95%B0-26a541c4-ecee-464d-a731-bd4c575b1a6b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEIBULL:{description:"返回 Weibull 分布",abstract:"返回 Weibull 分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/weibull-%E5%87%BD%E6%95%B0-b83dc2c6-260b-4754-bef2-633196f6fdcc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ZTEST:{description:"返回 z 检验的单尾概率值",abstract:"返回 z 检验的单尾概率值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ztest-%E5%87%BD%E6%95%B0-8f33be8a-6bd6-4ecc-8e3a-d9a4420c4a6a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},mi={CUBEKPIMEMBER:{description:"返回重要性能指示器 (KPI) 属性,并在单元格中显示 KPI 名称。 KPI 是一种用于监控单位绩效的可计量度量值,如每月总利润或季度员工调整。",abstract:"返回重要性能指示器 (KPI) 属性,并在单元格中显示 KPI 名称。 KPI 是一种用于监控单位绩效的可计量度量值,如每月总利润或季度员工调整。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cubekpimember-%E5%87%BD%E6%95%B0-744608bf-2c62-42cd-b67a-a56109f4b03b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEMEMBER:{description:"返回多维数据集中的成员或元组。 用于验证多维数据集内是否存在成员或元组。",abstract:"返回多维数据集中的成员或元组。 用于验证多维数据集内是否存在成员或元组。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cubemember-%E5%87%BD%E6%95%B0-0f6a15b9-2c18-4819-ae89-e1b5c8b398ad"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEMEMBERPROPERTY:{description:"返回多维数据集中成员属性的值。 用于验证多维数据集内是否存在某个成员名并返回此成员的指定属性。",abstract:"返回多维数据集中成员属性的值。 用于验证多维数据集内是否存在某个成员名并返回此成员的指定属性。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cubememberproperty-%E5%87%BD%E6%95%B0-001e57d6-b35a-49e5-abcd-05ff599e8951"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBERANKEDMEMBER:{description:"返回集合中的第 n 个或排在一定名次的成员。 用来返回集合中的一个或多个元素,如业绩最好的销售人员或前 10 名的学生。",abstract:"返回集合中的第 n 个或排在一定名次的成员。 用来返回集合中的一个或多个元素,如业绩最好的销售人员或前 10 名的学生。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cuberankedmember-%E5%87%BD%E6%95%B0-07efecde-e669-4075-b4bf-6b40df2dc4b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBESET:{description:"定义成员或元组的计算集。方法是向服务器上的多维数据集发送一个集合表达式,此表达式创建集合,并随后将该集合返回到 Microsoft Excel。",abstract:"定义成员或元组的计算集。方法是向服务器上的多维数据集发送一个集合表达式,此表达式创建集合,并随后将该集合返回到 Microsoft Excel。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cubeset-%E5%87%BD%E6%95%B0-5b2146bd-62d6-4d04-9d8f-670e993ee1d9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBESETCOUNT:{description:"返回集合中的项目数。",abstract:"返回集合中的项目数。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cubesetcount-%E5%87%BD%E6%95%B0-c4c2a438-c1ff-4061-80fe-982f2d705286"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUBEVALUE:{description:"从多维数据集中返回汇总值。",abstract:"从多维数据集中返回汇总值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cubevalue-%E5%87%BD%E6%95%B0-8733da24-26d1-4e34-9b3a-84a8f00dcbe0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},fi={DAVERAGE:{description:"返回所选数据库条目的平均值",abstract:"返回所选数据库条目的平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/daverage-%E5%87%BD%E6%95%B0-a6a2d5ac-4b4b-48cd-a1d8-7b37834e5aee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DCOUNT:{description:"计算数据库中包含数字的单元格的数量",abstract:"计算数据库中包含数字的单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dcount-%E5%87%BD%E6%95%B0-c1fc7b93-fb0d-4d8d-97db-8d5f076eaeb1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DCOUNTA:{description:"计算数据库中非空单元格的数量",abstract:"计算数据库中非空单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dcounta-%E5%87%BD%E6%95%B0-00232a6d-5a66-4a01-a25b-c1653fda1244"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DGET:{description:"从数据库提取符合指定条件的单个记录",abstract:"从数据库提取符合指定条件的单个记录",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dget-%E5%87%BD%E6%95%B0-455568bf-4eef-45f7-90f0-ec250d00892e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DMAX:{description:"返回所选数据库条目的最大值",abstract:"返回所选数据库条目的最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dmax-%E5%87%BD%E6%95%B0-f4e8209d-8958-4c3d-a1ee-6351665d41c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DMIN:{description:"返回所选数据库条目的最小值",abstract:"返回所选数据库条目的最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dmin-%E5%87%BD%E6%95%B0-4ae6f1d9-1f26-40f1-a783-6dc3680192a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DPRODUCT:{description:"将数据库中符合条件的记录的特定字段中的值相乘",abstract:"将数据库中符合条件的记录的特定字段中的值相乘",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dproduct-%E5%87%BD%E6%95%B0-4f96b13e-d49c-47a7-b769-22f6d017cb31"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSTDEV:{description:"基于所选数据库条目的样本估算标准偏差",abstract:"基于所选数据库条目的样本估算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dstdev-%E5%87%BD%E6%95%B0-026b8c73-616d-4b5e-b072-241871c4ab96"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSTDEVP:{description:"基于所选数据库条目的样本总体计算标准偏差",abstract:"基于所选数据库条目的样本总体计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dstdevp-%E5%87%BD%E6%95%B0-04b78995-da03-4813-bbd9-d74fd0f5d94b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DSUM:{description:"对数据库中符合条件的记录的字段列中的数字求和",abstract:"对数据库中符合条件的记录的字段列中的数字求和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dsum-%E5%87%BD%E6%95%B0-53181285-0c4b-4f5a-aaa3-529a322be41b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DVAR:{description:"基于所选数据库条目的样本估算方差",abstract:"基于所选数据库条目的样本估算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dvar-%E5%87%BD%E6%95%B0-d6747ca9-99c7-48bb-996e-9d7af00f3ed1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DVARP:{description:"基于所选数据库条目的样本总体计算方差",abstract:"基于所选数据库条目的样本总体计算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dvarp-%E5%87%BD%E6%95%B0-eb0ba387-9cb7-45c8-81e9-0394912502fc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},li={DATE:{description:"返回特定日期的序列号",abstract:"返回特定日期的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/date-%E5%87%BD%E6%95%B0-e36c0c8c-4104-49da-ab83-82328b832349"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DATEDIF:{description:"计算两个日期之间的天数、月数或年数。 此函数在用于计算年龄的公式中很有用。",abstract:"计算两个日期之间的天数、月数或年数。 此函数在用于计算年龄的公式中很有用。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/datedif-%E5%87%BD%E6%95%B0-25dba1a4-2812-480b-84dd-8b32a451b35c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DATEVALUE:{description:"将文本格式的日期转换为序列号",abstract:"将文本格式的日期转换为序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/datevalue-%E5%87%BD%E6%95%B0-df8b07d4-7761-4a93-bc33-b7471bbff252"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAY:{description:"将序列号转换为月份日期",abstract:"将序列号转换为月份日期",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/day-%E5%87%BD%E6%95%B0-8a7d1cbb-6c7d-4ba1-8aea-25c134d03101"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAYS:{description:"返回两个日期之间的天数",abstract:"返回两个日期之间的天数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/days-%E5%87%BD%E6%95%B0-57740535-d549-4395-8728-0f07bff0b9df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DAYS360:{description:"以一年 360 天为基准计算两个日期间的天数",abstract:"以一年 360 天为基准计算两个日期间的天数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/days360-%E5%87%BD%E6%95%B0-b9a509fd-49ef-407e-94df-0cbda5718c2a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EDATE:{description:"返回用于表示开始日期之前或之后月数的日期的序列号",abstract:"返回用于表示开始日期之前或之后月数的日期的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/edate-%E5%87%BD%E6%95%B0-3c920eb2-6e66-44e7-a1f5-753ae47ee4f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EOMONTH:{description:"返回指定月数之前或之后的月份的最后一天的序列号",abstract:"返回指定月数之前或之后的月份的最后一天的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/eomonth-%E5%87%BD%E6%95%B0-7314ffa1-2bc9-4005-9d66-f49db127d628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HOUR:{description:"将序列号转换为小时",abstract:"将序列号转换为小时",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hour-%E5%87%BD%E6%95%B0-a3afa879-86cb-4339-b1b5-2dd2d7310ac7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISOWEEKNUM:{description:"返回给定日期在全年中的 ISO 周数",abstract:"返回给定日期在全年中的 ISO 周数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/isoweeknum-%E5%87%BD%E6%95%B0-1c2d0afe-d25b-4ab1-8894-8d0520e90e0e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINUTE:{description:"将序列号转换为分钟",abstract:"将序列号转换为分钟",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/minute-%E5%87%BD%E6%95%B0-af728df0-05c4-4b07-9eed-a84801a60589"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MONTH:{description:"将序列号转换为月",abstract:"将序列号转换为月",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/month-%E5%87%BD%E6%95%B0-579a2881-199b-48b2-ab90-ddba0eba86e8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NETWORKDAYS:{description:"返回两个日期间的完整工作日的天数",abstract:"返回两个日期间的完整工作日的天数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/networkdays-%E5%87%BD%E6%95%B0-48e717bf-a7a3-495f-969e-5005e3eb18e7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NETWORKDAYS_INTL:{description:"返回两个日期之间的完整工作日的天数(使用参数指明周末有几天并指明是哪几天)",abstract:"返回两个日期之间的完整工作日的天数(使用参数指明周末有几天并指明是哪几天)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/networkdays-intl-%E5%87%BD%E6%95%B0-a9b26239-4f20-46a1-9ab8-4e925bfd5e28"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOW:{description:"返回当前日期和时间的序列号",abstract:"返回当前日期和时间的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/now-%E5%87%BD%E6%95%B0-3337fd29-145a-4347-b2e6-20c904739c46"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SECOND:{description:"将序列号转换为秒",abstract:"将序列号转换为秒",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/second-%E5%87%BD%E6%95%B0-740d1cfc-553c-4099-b668-80eaa24e8af1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TIME:{description:"返回特定时间的序列号",abstract:"返回特定时间的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/time-%E5%87%BD%E6%95%B0-9a5aff99-8f7d-4611-845e-747d0b8d5457"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TIMEVALUE:{description:"将文本格式的时间转换为序列号",abstract:"将文本格式的时间转换为序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/timevalue-%E5%87%BD%E6%95%B0-0b615c12-33d8-4431-bf3d-f3eb6d186645"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TODAY:{description:"返回今天日期的序列号",abstract:"返回今天日期的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/today-%E5%87%BD%E6%95%B0-5eb3078d-a82c-4736-8930-2f51a028fdd9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEEKDAY:{description:"将序列号转换为星期日期",abstract:"将序列号转换为星期日期",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/weekday-%E5%87%BD%E6%95%B0-60e44483-2ed1-439f-8bd0-e404c190949a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEEKNUM:{description:"将序列号转换为代表该星期为一年中第几周的数字",abstract:"将序列号转换为代表该星期为一年中第几周的数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/weeknum-%E5%87%BD%E6%95%B0-e5c43a03-b4ab-426c-b411-b18c13c75340"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WORKDAY:{description:"返回指定的若干个工作日之前或之后的日期的序列号",abstract:"返回指定的若干个工作日之前或之后的日期的序列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/workday-%E5%87%BD%E6%95%B0-f764a5b7-05fc-4494-9486-60d494efbf33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WORKDAY_INTL:{description:"返回日期在指定的工作日天数之前或之后的序列号(使用参数指明周末有几天并指明是哪几天)",abstract:"返回日期在指定的工作日天数之前或之后的序列号(使用参数指明周末有几天并指明是哪几天)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/workday-intl-%E5%87%BD%E6%95%B0-a378391c-9ba7-4678-8a39-39611a9bf81d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YEAR:{description:"将序列号转换为年",abstract:"将序列号转换为年",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/year-%E5%87%BD%E6%95%B0-c64f017a-1354-490d-981f-578e8ec8d3b9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YEARFRAC:{description:"返回代表 start_date 和 end_date 之间整天天数的年分数",abstract:"返回代表 start_date 和 end_date 之间整天天数的年分数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/yearfrac-%E5%87%BD%E6%95%B0-3844141e-c76d-4143-82b6-208454ddc6a8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},di={BESSELI:{description:"返回修正的贝赛耳函数 In(x)",abstract:"返回修正的贝赛耳函数 In(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/besseli-%E5%87%BD%E6%95%B0-8d33855c-9a8d-444b-98e0-852267b1c0df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELJ:{description:"返回贝赛耳函数 Jn(x)",abstract:"返回贝赛耳函数 Jn(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/besselj-%E5%87%BD%E6%95%B0-839cb181-48de-408b-9d80-bd02982d94f7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELK:{description:"返回修正的贝赛耳函数 Kn(x)",abstract:"返回修正的贝赛耳函数 Kn(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/besselk-%E5%87%BD%E6%95%B0-606d11bc-06d3-4d53-9ecb-2803e2b90b70"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BESSELY:{description:"返回贝赛耳函数 Yn(x)",abstract:"返回贝赛耳函数 Yn(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bessely-%E5%87%BD%E6%95%B0-f3a356b3-da89-42c3-8974-2da54d6353a2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2DEC:{description:"将二进制数转换为十进制数",abstract:"将二进制数转换为十进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bin2dec-%E5%87%BD%E6%95%B0-63905b57-b3a0-453d-99f4-647bb519cd6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2HEX:{description:"将二进制数转换为十六进制数",abstract:"将二进制数转换为十六进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bin2hex-%E5%87%BD%E6%95%B0-0375e507-f5e5-4077-9af8-28d84f9f41cc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BIN2OCT:{description:"将二进制数转换为八进制数",abstract:"将二进制数转换为八进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bin2oct-%E5%87%BD%E6%95%B0-0a4e01ba-ac8d-4158-9b29-16c25c4c23fd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITAND:{description:"返回两个数的“按位与”",abstract:"返回两个数的“按位与”",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bitand-%E5%87%BD%E6%95%B0-8a2be3d7-91c3-4b48-9517-64548008563a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITLSHIFT:{description:"返回左移 shift_amount 位的计算值接收数",abstract:"返回左移 shift_amount 位的计算值接收数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bitlshift-%E5%87%BD%E6%95%B0-c55bb27e-cacd-4c7c-b258-d80861a03c9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITOR:{description:"返回两个数的“按位或”",abstract:"返回两个数的“按位或”",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bitor-%E5%87%BD%E6%95%B0-f6ead5c8-5b98-4c9e-9053-8ad5234919b2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITRSHIFT:{description:"返回右移 shift_amount 位的计算值接收数",abstract:"返回右移 shift_amount 位的计算值接收数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bitrshift-%E5%87%BD%E6%95%B0-274d6996-f42c-4743-abdb-4ff95351222c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BITXOR:{description:"返回两个数的按位“异或”",abstract:"返回两个数的按位“异或”",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bitxor-%E5%87%BD%E6%95%B0-c81306a1-03f9-4e89-85ac-b86c3cba10e4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMPLEX:{description:"将实系数和虚系数转换为复数",abstract:"将实系数和虚系数转换为复数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/complex-%E5%87%BD%E6%95%B0-f0b8f3a9-51cc-4d6d-86fb-3a9362fa4128"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONVERT:{description:"将数字从一种度量系统转换为另一种度量系统",abstract:"将数字从一种度量系统转换为另一种度量系统",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/convert-%E5%87%BD%E6%95%B0-d785bef1-808e-4aac-bdcd-666c810f9af2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2BIN:{description:"将十进制数转换为二进制数",abstract:"将十进制数转换为二进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dec2bin-%E5%87%BD%E6%95%B0-0f63dd0e-5d1a-42d8-b511-5bf5c6d43838"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2HEX:{description:"将十进制数转换为十六进制数",abstract:"将十进制数转换为十六进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dec2hex-%E5%87%BD%E6%95%B0-6344ee8b-b6b5-4c6a-a672-f64666704619"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEC2OCT:{description:"将十进制数转换为八进制数",abstract:"将十进制数转换为八进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dec2oct-%E5%87%BD%E6%95%B0-c9d835ca-20b7-40c4-8a9e-d3be351ce00f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DELTA:{description:"检验两个值是否相等",abstract:"检验两个值是否相等",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/delta-%E5%87%BD%E6%95%B0-2f763672-c959-4e07-ac33-fe03220ba432"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERF:{description:"返回误差函数",abstract:"返回误差函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/erf-%E5%87%BD%E6%95%B0-c53c7e7b-5482-4b6c-883e-56df3c9af349"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERF_PRECISE:{description:"返回误差函数",abstract:"返回误差函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/erf-precise-%E5%87%BD%E6%95%B0-9a349593-705c-4278-9a98-e4122831a8e0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERFC:{description:"返回互补误差函数",abstract:"返回互补误差函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/erfc-%E5%87%BD%E6%95%B0-736e0318-70ba-4e8b-8d08-461fe68b71b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERFC_PRECISE:{description:"返回从 x 到无穷大积分的互补 ERF 函数",abstract:"返回从 x 到无穷大积分的互补 ERF 函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/erfc-precise-%E5%87%BD%E6%95%B0-e90e6bab-f45e-45df-b2ac-cd2eb4d4a273"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GESTEP:{description:"检验数字是否大于阈值",abstract:"检验数字是否大于阈值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gestep-%E5%87%BD%E6%95%B0-f37e7d2a-41da-4129-be95-640883fca9df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2BIN:{description:"将十六进制数转换为二进制数",abstract:"将十六进制数转换为二进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hex2bin-%E5%87%BD%E6%95%B0-a13aafaa-5737-4920-8424-643e581828c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2DEC:{description:"将十六进制数转换为十进制数",abstract:"将十六进制数转换为十进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hex2dec-%E5%87%BD%E6%95%B0-8c8c3155-9f37-45a5-a3ee-ee5379ef106e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HEX2OCT:{description:"将十六进制数转换为八进制数",abstract:"将十六进制数转换为八进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hex2oct-%E5%87%BD%E6%95%B0-54d52808-5d19-4bd0-8a63-1096a5d11912"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMABS:{description:"返回复数的绝对值(模数)",abstract:"返回复数的绝对值(模数)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imabs-%E5%87%BD%E6%95%B0-b31e73c6-d90c-4062-90bc-8eb351d765a1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMAGINARY:{description:"返回复数的虚系数",abstract:"返回复数的虚系数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imaginary-%E5%87%BD%E6%95%B0-dd5952fd-473d-44d9-95a1-9a17b23e428a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMARGUMENT:{description:"返回参数 theta,即以弧度表示的角",abstract:"返回参数 theta,即以弧度表示的角",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imargument-%E5%87%BD%E6%95%B0-eed37ec1-23b3-4f59-b9f3-d340358a034a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCONJUGATE:{description:"返回复数的共轭复数",abstract:"返回复数的共轭复数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imconjugate-%E5%87%BD%E6%95%B0-2e2fc1ea-f32b-4f9b-9de6-233853bafd42"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOS:{description:"返回复数的余弦",abstract:"返回复数的余弦",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imcos-%E5%87%BD%E6%95%B0-dad75277-f592-4a6b-ad6c-be93a808a53c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOSH:{description:"返回复数的双曲余弦值",abstract:"返回复数的双曲余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imcosh-%E5%87%BD%E6%95%B0-053e4ddb-4122-458b-be9a-457c405e90ff"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCOT:{description:"返回复数的余弦值",abstract:"返回复数的余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imcot-%E5%87%BD%E6%95%B0-dc6a3607-d26a-4d06-8b41-8931da36442c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCSC:{description:"返回复数的余割值",abstract:"返回复数的余割值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imcsc-%E5%87%BD%E6%95%B0-9e158d8f-2ddf-46cd-9b1d-98e29904a323"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMCSCH:{description:"返回复数的双曲余割值",abstract:"返回复数的双曲余割值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imcsch-%E5%87%BD%E6%95%B0-c0ae4f54-5f09-4fef-8da0-dc33ea2c5ca9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMDIV:{description:"返回两个复数的商",abstract:"返回两个复数的商",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imdiv-%E5%87%BD%E6%95%B0-a505aff7-af8a-4451-8142-77ec3d74d83f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMEXP:{description:"返回复数的指数",abstract:"返回复数的指数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imexp-%E5%87%BD%E6%95%B0-c6f8da1f-e024-4c0c-b802-a60e7147a95f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLN:{description:"返回复数的自然对数",abstract:"返回复数的自然对数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imln-%E5%87%BD%E6%95%B0-32b98bcf-8b81-437c-a636-6fb3aad509d8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLOG10:{description:"返回复数的以 10 为底的对数",abstract:"返回复数的以 10 为底的对数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imlog10-%E5%87%BD%E6%95%B0-58200fca-e2a2-4271-8a98-ccd4360213a5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMLOG2:{description:"返回复数的以 2 为底的对数",abstract:"返回复数的以 2 为底的对数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imlog2-%E5%87%BD%E6%95%B0-152e13b4-bc79-486c-a243-e6a676878c51"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMPOWER:{description:"返回复数的整数幂",abstract:"返回复数的整数幂",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/impower-%E5%87%BD%E6%95%B0-210fd2f5-f8ff-4c6a-9d60-30e34fbdef39"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMPRODUCT:{description:"返回从 2 到 255 的复数的乘积",abstract:"返回从 2 到 255 的复数的乘积",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/improduct-%E5%87%BD%E6%95%B0-2fb8651a-a4f2-444f-975e-8ba7aab3a5ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMREAL:{description:"返回复数的实系数",abstract:"返回复数的实系数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imreal-%E5%87%BD%E6%95%B0-d12bc4c0-25d0-4bb3-a25f-ece1938bf366"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSEC:{description:"返回复数的正切值",abstract:"返回复数的正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsec-%E5%87%BD%E6%95%B0-6df11132-4411-4df4-a3dc-1f17372459e0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSECH:{description:"返回复数的双曲正切值",abstract:"返回复数的双曲正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsech-%E5%87%BD%E6%95%B0-f250304f-788b-4505-954e-eb01fa50903b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSIN:{description:"返回复数的正弦",abstract:"返回复数的正弦",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsin-%E5%87%BD%E6%95%B0-1ab02a39-a721-48de-82ef-f52bf37859f6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSINH:{description:"返回复数的双曲正弦值",abstract:"返回复数的双曲正弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsinh-%E5%87%BD%E6%95%B0-dfb9ec9e-8783-4985-8c42-b028e9e8da3d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSQRT:{description:"返回复数的平方根",abstract:"返回复数的平方根",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsqrt-%E5%87%BD%E6%95%B0-e1753f80-ba11-4664-a10e-e17368396b70"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSUB:{description:"返回两个复数的差",abstract:"返回两个复数的差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsub-%E5%87%BD%E6%95%B0-2e404b4d-4935-4e85-9f52-cb08b9a45054"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMSUM:{description:"返回多个复数的和",abstract:"返回多个复数的和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imsum-%E5%87%BD%E6%95%B0-81542999-5f1c-4da6-9ffe-f1d7aaa9457f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMTAN:{description:"返回复数的正切值",abstract:"返回复数的正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/imtan-%E5%87%BD%E6%95%B0-8478f45d-610a-43cf-8544-9fc0b553a132"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2BIN:{description:"将八进制数转换为二进制数",abstract:"将八进制数转换为二进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oct2bin-%E5%87%BD%E6%95%B0-55383471-3c56-4d27-9522-1a8ec646c589"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2DEC:{description:"将八进制数转换为十进制数",abstract:"将八进制数转换为十进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oct2dec-%E5%87%BD%E6%95%B0-87606014-cb98-44b2-8dbb-e48f8ced1554"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OCT2HEX:{description:"将八进制数转换为十六进制数",abstract:"将八进制数转换为十六进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oct2hex-%E5%87%BD%E6%95%B0-912175b4-d497-41b4-a029-221f051b858f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},bi={ACCRINT:{description:"返回定期支付利息的债券的应计利息",abstract:"返回定期支付利息的债券的应计利息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/accrint-%E5%87%BD%E6%95%B0-fe45d089-6722-4fb3-9379-e1f911d8dc74"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACCRINTM:{description:"返回在到期日支付利息的债券的应计利息",abstract:"返回在到期日支付利息的债券的应计利息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/accrintm-%E5%87%BD%E6%95%B0-f62f01f9-5754-4cc4-805b-0e70199328a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AMORDEGRC:{description:"使用折旧系数返回每个记帐期的折旧值",abstract:"使用折旧系数返回每个记帐期的折旧值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/amordegrc-%E5%87%BD%E6%95%B0-a14d0ca1-64a4-42eb-9b3d-b0dededf9e51"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AMORLINC:{description:"返回每个记帐期的折旧值",abstract:"返回每个记帐期的折旧值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/amorlinc-%E5%87%BD%E6%95%B0-7d417b45-f7f5-4dba-a0a5-3451a81079a8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYBS:{description:"返回从票息期开始到结算日之间的天数",abstract:"返回从票息期开始到结算日之间的天数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/coupdaybs-%E5%87%BD%E6%95%B0-eb9a8dfb-2fb2-4c61-8e5d-690b320cf872"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYS:{description:"返回包含结算日的票息期天数",abstract:"返回包含结算日的票息期天数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/coupdays-%E5%87%BD%E6%95%B0-cc64380b-315b-4e7b-950c-b30b0a76f671"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPDAYSNC:{description:"返回从结算日到下一票息支付日之间的天数",abstract:"返回从结算日到下一票息支付日之间的天数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/coupdaysnc-%E5%87%BD%E6%95%B0-5ab3f0b2-029f-4a8b-bb65-47d525eea547"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPNCD:{description:"返回结算日之后的下一个票息支付日",abstract:"返回结算日之后的下一个票息支付日",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/coupncd-%E5%87%BD%E6%95%B0-fd962fef-506b-4d9d-8590-16df5393691f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPNUM:{description:"返回结算日与到期日之间可支付的票息数",abstract:"返回结算日与到期日之间可支付的票息数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/coupnum-%E5%87%BD%E6%95%B0-a90af57b-de53-4969-9c99-dd6139db2522"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUPPCD:{description:"返回结算日之前的上一票息支付日",abstract:"返回结算日之前的上一票息支付日",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/couppcd-%E5%87%BD%E6%95%B0-2eb50473-6ee9-4052-a206-77a9a385d5b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUMIPMT:{description:"返回两个付款期之间累积支付的利息",abstract:"返回两个付款期之间累积支付的利息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cumipmt-%E5%87%BD%E6%95%B0-61067bb0-9016-427d-b95b-1a752af0e606"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CUMPRINC:{description:"返回两个付款期之间为贷款累积支付的本金",abstract:"返回两个付款期之间为贷款累积支付的本金",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cumprinc-%E5%87%BD%E6%95%B0-94a4516d-bd65-41a1-bc16-053a6af4c04d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DB:{description:"使用固定余额递减法,返回一笔资产在给定期间内的折旧值",abstract:"使用固定余额递减法,返回一笔资产在给定期间内的折旧值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/db-%E5%87%BD%E6%95%B0-354e7d28-5f93-4ff1-8a52-eb4ee549d9d7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DDB:{description:"使用双倍余额递减法或其他指定方法,返回一笔资产在给定期间内的折旧值",abstract:"使用双倍余额递减法或其他指定方法,返回一笔资产在给定期间内的折旧值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ddb-%E5%87%BD%E6%95%B0-519a7a37-8772-4c96-85c0-ed2c209717a5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DISC:{description:"返回债券的贴现率",abstract:"返回债券的贴现率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/disc-%E5%87%BD%E6%95%B0-71fce9f3-3f05-4acf-a5a3-eac6ef4daa53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLARDE:{description:"将以分数表示的价格转换为以小数表示的价格",abstract:"将以分数表示的价格转换为以小数表示的价格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dollarde-%E5%87%BD%E6%95%B0-db85aab0-1677-428a-9dfd-a38476693427"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLARFR:{description:"将以小数表示的价格转换为以分数表示的价格",abstract:"将以小数表示的价格转换为以分数表示的价格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dollarfr-%E5%87%BD%E6%95%B0-0835d163-3023-4a33-9824-3042c5d4f495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DURATION:{description:"返回定期支付利息的债券的每年期限",abstract:"返回定期支付利息的债券的每年期限",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/duration-%E5%87%BD%E6%95%B0-b254ea57-eadc-4602-a86a-c8e369334038"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EFFECT:{description:"返回年有效利率",abstract:"返回年有效利率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/effect-%E5%87%BD%E6%95%B0-910d4e4c-79e2-4009-95e6-507e04f11bc4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FV:{description:"返回一笔投资的未来值",abstract:"返回一笔投资的未来值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fv-%E5%87%BD%E6%95%B0-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FVSCHEDULE:{description:"返回应用一系列复利率计算的初始本金的未来值",abstract:"返回应用一系列复利率计算的初始本金的未来值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fvschedule-%E5%87%BD%E6%95%B0-bec29522-bd87-4082-bab9-a241f3fb251d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INTRATE:{description:"返回完全投资型债券的利率",abstract:"返回完全投资型债券的利率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/intrate-%E5%87%BD%E6%95%B0-5cb34dde-a221-4cb6-b3eb-0b9e55e1316f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IPMT:{description:"返回一笔投资在给定期间内支付的利息",abstract:"返回一笔投资在给定期间内支付的利息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ipmt-%E5%87%BD%E6%95%B0-5cce0ad6-8402-4a41-8d29-61a0b054cb6f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IRR:{description:"返回一系列现金流的内部收益率",abstract:"返回一系列现金流的内部收益率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/irr-%E5%87%BD%E6%95%B0-64925eaa-9988-495b-b290-3ad0c163c1bc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISPMT:{description:"计算特定投资期内要支付的利息",abstract:"计算特定投资期内要支付的利息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ispmt-%E5%87%BD%E6%95%B0-fa58adb6-9d39-4ce0-8f43-75399cea56cc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MDURATION:{description:"返回假设面值为 ¥100 的有价证券的 Macauley 修正期限",abstract:"返回假设面值为 ¥100 的有价证券的 Macauley 修正期限",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mduration-%E5%87%BD%E6%95%B0-b3786a69-4f20-469a-94ad-33e5b90a763c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIRR:{description:"返回正和负现金流以不同利率进行计算的内部收益率",abstract:"返回正和负现金流以不同利率进行计算的内部收益率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mirr-%E5%87%BD%E6%95%B0-b020f038-7492-4fb4-93c1-35c345b53524"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOMINAL:{description:"返回年度的名义利率",abstract:"返回年度的名义利率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/nominal-%E5%87%BD%E6%95%B0-7f1ae29b-6b92-435e-b950-ad8b190ddd2b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NPER:{description:"返回投资的期数",abstract:"返回投资的期数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/nper-%E5%87%BD%E6%95%B0-240535b5-6653-4d2d-bfcf-b6a38151d815"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NPV:{description:"返回基于一系列定期的现金流和贴现率计算的投资的净现值",abstract:"返回基于一系列定期的现金流和贴现率计算的投资的净现值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/npv-%E5%87%BD%E6%95%B0-8672cb67-2576-4d07-b67b-ac28acf2a568"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDFPRICE:{description:"返回每张票面为 ¥100 且第一期为奇数的债券的现价",abstract:"返回每张票面为 ¥100 且第一期为奇数的债券的现价",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oddfprice-%E5%87%BD%E6%95%B0-d7d664a8-34df-4233-8d2b-922bcf6a69e1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDFYIELD:{description:"返回第一期为奇数的债券的收益",abstract:"返回第一期为奇数的债券的收益",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oddfyield-%E5%87%BD%E6%95%B0-66bc8b7b-6501-4c93-9ce3-2fd16220fe37"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDLPRICE:{description:"返回每张票面为 ¥100 且最后一期为奇数的债券的现价",abstract:"返回每张票面为 ¥100 且最后一期为奇数的债券的现价",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oddlprice-%E5%87%BD%E6%95%B0-fb657749-d200-4902-afaf-ed5445027fc4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODDLYIELD:{description:"返回最后一期为奇数的债券的收益",abstract:"返回最后一期为奇数的债券的收益",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/oddlyield-%E5%87%BD%E6%95%B0-c873d088-cf40-435f-8d41-c8232fee9238"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PDURATION:{description:"返回投资到达指定值所需的期数",abstract:"返回投资到达指定值所需的期数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pduration-%E5%87%BD%E6%95%B0-44f33460-5be5-4c90-b857-22308892adaf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PMT:{description:"返回年金的定期支付金额",abstract:"返回年金的定期支付金额",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pmt-%E5%87%BD%E6%95%B0-0214da64-9a63-4996-bc20-214433fa6441"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PPMT:{description:"返回一笔投资在给定期间内偿还的本金",abstract:"返回一笔投资在给定期间内偿还的本金",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ppmt-%E5%87%BD%E6%95%B0-c370d9e3-7749-4ca4-beea-b06c6ac95e1b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICE:{description:"返回每张票面为 ¥100 且定期支付利息的债券的现价",abstract:"返回每张票面为 ¥100 且定期支付利息的债券的现价",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/price-%E5%87%BD%E6%95%B0-3ea9deac-8dfa-436f-a7c8-17ea02c21b0a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICEDISC:{description:"返回每张票面为 ¥100 的已贴现债券的现价",abstract:"返回每张票面为 ¥100 的已贴现债券的现价",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pricedisc-%E5%87%BD%E6%95%B0-d06ad7c1-380e-4be7-9fd9-75e3079acfd3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRICEMAT:{description:"返回每张票面为 ¥100 且在到期日支付利息的债券的现价",abstract:"返回每张票面为 ¥100 且在到期日支付利息的债券的现价",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pricemat-%E5%87%BD%E6%95%B0-52c3b4da-bc7e-476a-989f-a95f675cae77"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PV:{description:"返回投资的现值",abstract:"返回投资的现值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pv-%E5%87%BD%E6%95%B0-23879d31-0e02-4321-be01-da16e8168cbd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RATE:{description:"返回年金的各期利率",abstract:"返回年金的各期利率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rate-%E5%87%BD%E6%95%B0-9f665657-4a7e-4bb7-a030-83fc59e748ce"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RECEIVED:{description:"返回完全投资型债券在到期日收回的金额",abstract:"返回完全投资型债券在到期日收回的金额",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/received-%E5%87%BD%E6%95%B0-7a3f8b93-6611-4f81-8576-828312c9b5e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RRI:{description:"返回某项投资增长的等效利率",abstract:"返回某项投资增长的等效利率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rri-%E5%87%BD%E6%95%B0-6f5822d8-7ef1-4233-944c-79e8172930f4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SLN:{description:"返回固定资产的每期线性折旧费",abstract:"返回固定资产的每期线性折旧费",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sln-%E5%87%BD%E6%95%B0-cdb666e5-c1c6-40a7-806a-e695edc2f1c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SYD:{description:"返回某项固定资产按年限总和折旧法计算的每期折旧金额",abstract:"返回某项固定资产按年限总和折旧法计算的每期折旧金额",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/syd-%E5%87%BD%E6%95%B0-069f8106-b60b-4ca2-98e0-2a0f206bdb27"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLEQ:{description:"返回国库券的等价债券收益",abstract:"返回国库券的等价债券收益",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tbilleq-%E5%87%BD%E6%95%B0-2ab72d90-9b4d-4efe-9fc2-0f81f2c19c8c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLPRICE:{description:"返回面值 ¥100 的国库券的价格",abstract:"返回面值 ¥100 的国库券的价格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tbillprice-%E5%87%BD%E6%95%B0-eacca992-c29d-425a-9eb8-0513fe6035a2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TBILLYIELD:{description:"返回国库券的收益率",abstract:"返回国库券的收益率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tbillyield-%E5%87%BD%E6%95%B0-6d381232-f4b0-4cd5-8e97-45b9c03468ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VDB:{description:"使用余额递减法,返回一笔资产在给定期间或部分期间内的折旧值",abstract:"使用余额递减法,返回一笔资产在给定期间或部分期间内的折旧值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/vdb-%E5%87%BD%E6%95%B0-dde4e207-f3fa-488d-91d2-66d55e861d73"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XIRR:{description:"返回一组现金流的内部收益率,这些现金流不一定定期发生",abstract:"返回一组现金流的内部收益率,这些现金流不一定定期发生",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/xirr-%E5%87%BD%E6%95%B0-de1242ec-6477-445b-b11b-a303ad9adc9d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XNPV:{description:"返回一组现金流的净现值,这些现金流不一定定期发生",abstract:"返回一组现金流的净现值,这些现金流不一定定期发生",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/xnpv-%E5%87%BD%E6%95%B0-1b42bbf6-370f-4532-a0eb-d67c16b664b7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELD:{description:"返回定期支付利息的债券的收益",abstract:"返回定期支付利息的债券的收益",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/yield-%E5%87%BD%E6%95%B0-f5f5ca43-c4bd-434f-8bd2-ed3c9727a4fe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELDDISC:{description:"返回已贴现债券的年收益;例如,短期国库券",abstract:"返回已贴现债券的年收益;例如,短期国库券",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/yielddisc-%E5%87%BD%E6%95%B0-a9dbdbae-7dae-46de-b995-615faffaaed7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},YIELDMAT:{description:"返回在到期日支付利息的债券的年收益",abstract:"返回在到期日支付利息的债券的年收益",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/yieldmat-%E5%87%BD%E6%95%B0-ba7d1809-0d33-4bcb-96c7-6c56ec62ef6f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},pi={CELL:{description:"返回有关单元格格式、位置或内容的信息",abstract:"返回有关单元格格式、位置或内容的信息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cell-%E5%87%BD%E6%95%B0-51bd39a5-f338-4dbe-a33f-955d67c2b2cf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ERROR_TYPE:{description:"返回对应于错误类型的数字",abstract:"返回对应于错误类型的数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/error-type-%E5%87%BD%E6%95%B0-10958677-7c8d-44f7-ae77-b9a9ee6eefaa"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INFO:{description:"返回有关当前操作环境的信息",abstract:"返回有关当前操作环境的信息",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/info-%E5%87%BD%E6%95%B0-725f259a-0e4b-49b3-8b52-58815c69acae"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISBLANK:{description:"如果值为空,则返回 TRUE",abstract:"如果值为空,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISERR:{description:"如果值为除 #N/A 以外的任何错误值,则返回 TRUE",abstract:"如果值为除 #N/A 以外的任何错误值,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISERROR:{description:"如果值为任何错误值,则返回 TRUE",abstract:"如果值为任何错误值,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISEVEN:{description:"如果数字为偶数,则返回 TRUE",abstract:"如果数字为偶数,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/iseven-%E5%87%BD%E6%95%B0-aa15929a-d77b-4fbb-92f4-2f479af55356"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISFORMULA:{description:"如果有对包含公式的单元格的引用,则返回 TRUE",abstract:"如果有对包含公式的单元格的引用,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/isformula-%E5%87%BD%E6%95%B0-e4d1355f-7121-4ef2-801e-3839bfd6b1e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISLOGICAL:{description:"如果值为逻辑值,则返回 TRUE",abstract:"如果值为逻辑值,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNA:{description:"如果值为错误值 #N/A,则返回 TRUE",abstract:"如果值为错误值 #N/A,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNONTEXT:{description:"如果值不是文本,则返回 TRUE",abstract:"如果值不是文本,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISNUMBER:{description:"如果值为数字,则返回 TRUE",abstract:"如果值为数字,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISODD:{description:"如果数字为奇数,则返回 TRUE",abstract:"如果数字为奇数,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISOMITTED:{description:"检查 LAMBDA 中的值是否缺失,并返回 TRUE 或 FALSE",abstract:"检查 LAMBDA 中的值是否缺失,并返回 TRUE 或 FALSE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/isomitted-%E5%87%BD%E6%95%B0-831d6fbc-0f07-40c4-9c5b-9c73fd1d60c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISREF:{description:"如果值为引用值,则返回 TRUE",abstract:"如果值为引用值,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISTEXT:{description:"如果值为文本,则返回 TRUE",abstract:"如果值为文本,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/is-%E5%87%BD%E6%95%B0-0f2d7971-6019-40a0-a171-f2d869135665"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},N:{description:"返回转换为数字的值",abstract:"返回转换为数字的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/n-%E5%87%BD%E6%95%B0-a624cad1-3635-4208-b54a-29733d1278c9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NA:{description:"返回错误值 #N/A",abstract:"返回错误值 #N/A",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/na-%E5%87%BD%E6%95%B0-5469c2d1-a90c-4fb5-9bbc-64bd9bb6b47c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SHEET:{description:"返回引用工作表的工作表编号",abstract:"返回引用工作表的工作表编号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sheet-%E5%87%BD%E6%95%B0-44718b6f-8b87-47a1-a9d6-b701c06cff24"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SHEETS:{description:"返回引用中的工作表数",abstract:"返回引用中的工作表数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sheets-%E5%87%BD%E6%95%B0-770515eb-e1e8-45ce-8066-b557e5e4b80b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TYPE:{description:"返回表示值的数据类型的数字",abstract:"返回表示值的数据类型的数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/type-%E5%87%BD%E6%95%B0-45b4e688-4bc3-48b3-a105-ffa892995899"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},hi={AND:{description:"如果其所有参数均为 TRUE,则返回 TRUE",abstract:"如果其所有参数均为 TRUE,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/and-%E5%87%BD%E6%95%B0-5f19b2e8-e1df-4408-897a-ce285a19e9d9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BYCOL:{description:"将 LAMBDA 应用于每个列并返回结果数组",abstract:"将 LAMBDA 应用于每个列并返回结果数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bycol-%E5%87%BD%E6%95%B0-58463999-7de5-49ce-8f38-b7f7a2192bfb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BYROW:{description:"将 LAMBDA 应用于每一行并返回结果数组",abstract:"将 LAMBDA 应用于每一行并返回结果数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/byrow-%E5%87%BD%E6%95%B0-2e04c677-78c8-4e6b-8c10-a4602f2602bb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FALSE:{description:"返回逻辑值 FALSE",abstract:"返回逻辑值 FALSE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/false-%E5%87%BD%E6%95%B0-2d58dfa5-9c03-4259-bf8f-f0ae14346904"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IF:{description:"指定要执行的逻辑检测",abstract:"指定要执行的逻辑检测",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/if-%E5%87%BD%E6%95%B0-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFERROR:{description:"如果公式的计算结果错误,则返回您指定的值;否则返回公式的结果",abstract:"如果公式的计算结果错误,则返回您指定的值;否则返回公式的结果",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/iferror-%E5%87%BD%E6%95%B0-c526fd07-caeb-47b8-8bb6-63f3e417f611"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFNA:{description:"如果该表达式解析为 #N/A,则返回指定值;否则返回该表达式的结果",abstract:"如果该表达式解析为 #N/A,则返回指定值;否则返回该表达式的结果",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ifna-%E5%87%BD%E6%95%B0-6626c961-a569-42fc-a49d-79b4951fd461"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IFS:{description:" 检查是否满足一个或多个条件,且是否返回与第一个 TRUE 条件对应的值。",abstract:" 检查是否满足一个或多个条件,且是否返回与第一个 TRUE 条件对应的值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ifs-%E5%87%BD%E6%95%B0-36329a26-37b2-467c-972b-4a39bd951d45"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LAMBDA:{description:"创建自定义、可重用的函数,并通过友好名称调用它们",abstract:"创建自定义、可重用的函数,并通过友好名称调用它们",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lambda-%E5%87%BD%E6%95%B0-bd212d27-1cd1-4321-a34a-ccbf254b8b67"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LET:{description:"将名称分配给计算结果",abstract:"将名称分配给计算结果",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/let-%E5%87%BD%E6%95%B0-34842dd8-b92b-4d3f-b325-b8b8f9908999"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAKEARRAY:{description:"通过应用 LAMBDA 返回指定行和列大小的计算数组",abstract:"通过应用 LAMBDA 返回指定行和列大小的计算数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/makearray-%E5%87%BD%E6%95%B0-b80da5ad-b338-4149-a523-5b221da09097"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAP:{description:"返回一个数组,该数组通过应用 LAMBDA 创建新值,将数组 () 映射到新值",abstract:"返回一个数组,该数组通过应用 LAMBDA 创建新值,将数组 () 映射到新值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/map-%E5%87%BD%E6%95%B0-48006093-f97c-47c1-bfcc-749263bb1f01"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NOT:{description:"对其参数的逻辑求反",abstract:"对其参数的逻辑求反",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/not-%E5%87%BD%E6%95%B0-9cfc6011-a054-40c7-a140-cd4ba2d87d77"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OR:{description:"如果任一参数为 TRUE,则返回 TRUE",abstract:"如果任一参数为 TRUE,则返回 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/or-%E5%87%BD%E6%95%B0-7d17ad14-8700-4281-b308-00b131e22af0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REDUCE:{description:"通过将 LAMBDA 应用于每个值并返回累加器中的总值,将数组减少为累积值",abstract:"通过将 LAMBDA 应用于每个值并返回累加器中的总值,将数组减少为累积值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/reduce-%E5%87%BD%E6%95%B0-42e39910-b345-45f3-84b8-0642b568b7cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SCAN:{description:"通过将 LAMBDA 应用于每个值来扫描数组,并返回具有每个中间值的数组",abstract:"通过将 LAMBDA 应用于每个值来扫描数组,并返回具有每个中间值的数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/scan-%E5%87%BD%E6%95%B0-d58dfd11-9969-4439-b2dc-e7062724de29"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SWITCH:{description:"根据值列表计算表达式,并返回与第一个匹配值对应的结果。 如果不匹配,则可能返回可选默认值。",abstract:"根据值列表计算表达式,并返回与第一个匹配值对应的结果。 如果不匹配,则可能返回可选默认值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/switch-%E5%87%BD%E6%95%B0-47ab33c0-28ce-4530-8a45-d532ec4aa25e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRUE:{description:"返回逻辑值 TRUE",abstract:"返回逻辑值 TRUE",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/true-%E5%87%BD%E6%95%B0-7652c6e3-8987-48d0-97cd-ef223246b3fb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XOR:{description:"返回所有参数的逻辑“异或”值",abstract:"返回所有参数的逻辑“异或”值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/xor-%E5%87%BD%E6%95%B0-1548d4c2-5e47-4f77-9a92-0533bba14f37"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Ei={ADDRESS:{description:"以文本形式将引用值返回到工作表的单个单元格",abstract:"以文本形式将引用值返回到工作表的单个单元格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/address-%E5%87%BD%E6%95%B0-d0c26c0d-3991-446b-8de4-ab46431d4f89"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AREAS:{description:"返回引用中涉及的区域个数",abstract:"返回引用中涉及的区域个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/areas-%E5%87%BD%E6%95%B0-8392ba32-7a41-43b3-96b0-3695d2ec6152"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSE:{description:"从值的列表中选择值",abstract:"从值的列表中选择值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/choose-%E5%87%BD%E6%95%B0-fc5c184f-cb62-4ec7-a46e-38653b98f5bc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSECOLS:{description:"返回数组中的指定列",abstract:"返回数组中的指定列",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/choosecols-%E5%87%BD%E6%95%B0-bf117976-2722-4466-9b9a-1c01ed9aebff"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHOOSEROWS:{description:"返回数组中的指定行",abstract:"返回数组中的指定行",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chooserows-%E5%87%BD%E6%95%B0-51ace882-9bab-4a44-9625-7274ef7507a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COLUMN:{description:"返回引用的列号",abstract:"返回引用的列号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/column-%E5%87%BD%E6%95%B0-44e8c754-711c-4df3-9da4-47a55042554b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COLUMNS:{description:"返回引用中包含的列数",abstract:"返回引用中包含的列数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/columns-%E5%87%BD%E6%95%B0-4e8e7b4e-e603-43e8-b177-956088fa48ca"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DROP:{description:"从数组的开头或末尾排除指定数量的行或列",abstract:"从数组的开头或末尾排除指定数量的行或列",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/drop-%E5%87%BD%E6%95%B0-1cb4e151-9e17-4838-abe5-9ba48d8c6a34"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPAND:{description:"将数组展开或填充到指定的行和列维度",abstract:"将数组展开或填充到指定的行和列维度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/expand-%E5%87%BD%E6%95%B0-7433fba5-4ad1-41da-a904-d5d95808bc38"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FILTER:{description:"FILTER 函数可以基于定义的条件筛选一系列数据。",abstract:"FILTER 函数可以基于定义的条件筛选一系列数据。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/filter-%E5%87%BD%E6%95%B0-f4f7cb66-82eb-4767-8f7c-4877ad80c759"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORMULATEXT:{description:"将给定引用的公式返回为文本",abstract:"将给定引用的公式返回为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/formulatext-%E5%87%BD%E6%95%B0-0a786771-54fd-4ae2-96ee-09cda35439c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GETPIVOTDATA:{description:"返回存储在数据透视表中的数据",abstract:"返回存储在数据透视表中的数据",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/getpivotdata-%E5%87%BD%E6%95%B0-8c083b99-a922-4ca0-af5e-3af55960761f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HLOOKUP:{description:"查找数组的首行,并返回指定单元格的值",abstract:"查找数组的首行,并返回指定单元格的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hlookup-%E5%87%BD%E6%95%B0-a3034eec-b719-4ba3-bb65-e1ad662ed95f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HSTACK:{description:"水平和顺序追加数组以返回较大的数组",abstract:"水平和顺序追加数组以返回较大的数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hstack-%E5%87%BD%E6%95%B0-98c4ab76-10fe-4b4f-8d5f-af1c125fe8c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPERLINK:{description:"创建快捷方式或跳转,以打开存储在网络服务器、Intranet 或 Internet 上的文档",abstract:"创建快捷方式或跳转,以打开存储在网络服务器、Intranet 或 Internet 上的文档",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hyperlink-%E5%87%BD%E6%95%B0-333c7ce6-c5ae-4164-9c47-7de9b76f577f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},IMAGE:{description:"从给定源返回图像",abstract:"从给定源返回图像",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/image-%E5%87%BD%E6%95%B0-7e112975-5e52-4f2a-b9da-1d913d51f5d5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INDEX:{description:"使用索引从引用或数组中选择值",abstract:"使用索引从引用或数组中选择值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/index-%E5%87%BD%E6%95%B0-a5dcf0dd-996d-40a4-a822-b56b061328bd"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INDIRECT:{description:"返回由文本值指定的引用",abstract:"返回由文本值指定的引用",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/indirect-%E5%87%BD%E6%95%B0-474b3a3a-8a26-4f44-b491-92b6306fa261"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOOKUP:{description:"在向量或数组中查找值",abstract:"在向量或数组中查找值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lookup-%E5%87%BD%E6%95%B0-446d94af-663b-451d-8251-369d5e3864cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MATCH:{description:"在引用或数组中查找值",abstract:"在引用或数组中查找值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/match-%E5%87%BD%E6%95%B0-e8dffd45-c762-47d6-bf89-533f4a37673a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},OFFSET:{description:"从给定引用中返回引用偏移量",abstract:"从给定引用中返回引用偏移量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/offset-%E5%87%BD%E6%95%B0-c8de19ae-dd79-4b9b-a14e-b4d906d11b66"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROW:{description:"返回引用的行号",abstract:"返回引用的行号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/row-%E5%87%BD%E6%95%B0-3a63b74a-c4d0-4093-b49a-e76eb49a6d8d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROWS:{description:"返回引用中的行数",abstract:"返回引用中的行数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rows-%E5%87%BD%E6%95%B0-b592593e-3fc2-47f2-bec1-bda493811597"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RTD:{description:"从支持 COM 自动化的程序中检索实时数据",abstract:"从支持 COM 自动化的程序中检索实时数据",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rtd-%E5%87%BD%E6%95%B0-e0cc001a-56f0-470a-9b19-9455dc0eb593"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SORT:{description:"对区域或数组的内容进行排序",abstract:"对区域或数组的内容进行排序",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sort-%E5%87%BD%E6%95%B0-22f63bd0-ccc8-492f-953d-c20e8e44b86c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SORTBY:{description:"根据相应区域或数组中的值对区域或数组的内容进行排序",abstract:"根据相应区域或数组中的值对区域或数组的内容进行排序",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sortby-%E5%87%BD%E6%95%B0-cd2d7a62-1b93-435c-b561-d6a35134f28f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TAKE:{description:"从数组的开头或末尾返回指定数量的连续行或列",abstract:"从数组的开头或末尾返回指定数量的连续行或列",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/take-%E5%87%BD%E6%95%B0-25382ff1-5da1-4f78-ab43-f33bd2e4e003"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TOCOL:{description:"返回单个列中的数组",abstract:"返回单个列中的数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tocol-%E5%87%BD%E6%95%B0-22839d9b-0b55-4fc1-b4e6-2761f8f122ed"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TOROW:{description:"返回单个行中的数组",abstract:"返回单个行中的数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/torow-%E5%87%BD%E6%95%B0-b90d0964-a7d9-44b7-816b-ffa5c2fe2289"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRANSPOSE:{description:"返回数组的转置",abstract:"返回数组的转置",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/transpose-%E5%87%BD%E6%95%B0-ed039415-ed8a-4a81-93e9-4b6dfac76027"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNIQUE:{description:"返回列表或区域的唯一值列表",abstract:"返回列表或区域的唯一值列表",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/unique-%E5%87%BD%E6%95%B0-c5ab87fd-30a3-4ce9-9d1a-40204fb85e1e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VLOOKUP:{description:"在数组第一列中查找,然后在行之间移动以返回单元格的值",abstract:"在数组第一列中查找,然后在行之间移动以返回单元格的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/vlookup-%E5%87%BD%E6%95%B0-0bbc8083-26fe-4963-8ab8-93a18ad188a1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VSTACK:{description:"按顺序垂直追加数组以返回更大的数组",abstract:"按顺序垂直追加数组以返回更大的数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/vstack-%E5%87%BD%E6%95%B0-a4b86897-be0f-48fc-adca-fcc10d795a9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WRAPCOLS:{description:"在指定数量的元素之后按列包装提供的行或值列",abstract:"在指定数量的元素之后按列包装提供的行或值列",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/wrapcols-%E5%87%BD%E6%95%B0-d038b05a-57b7-4ee0-be94-ded0792511e2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WRAPROWS:{description:"在指定数量的元素之后按行包装提供的行或值列",abstract:"在指定数量的元素之后按行包装提供的行或值列",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/wraprows-%E5%87%BD%E6%95%B0-796825f3-975a-4cee-9c84-1bbddf60ade0"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XLOOKUP:{description:"搜索区域或数组,并返回与之找到的第一个匹配项对应的项。 如果不存在匹配项,则 XLOOKUP 可返回最接近(近似值)的匹配项。 ",abstract:"搜索区域或数组,并返回与之找到的第一个匹配项对应的项。 如果不存在匹配项,则 XLOOKUP 可返回最接近(近似值)的匹配项。 ",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/xlookup-%E5%87%BD%E6%95%B0-b7fd680e-6d10-43e6-84f9-88eae8bf5929"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},XMATCH:{description:"返回项目在数组或单元格区域中的相对位置。 ",abstract:"返回项目在数组或单元格区域中的相对位置。 ",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/xmatch-%E5%87%BD%E6%95%B0-d966da31-7a6b-4a13-a1c6-5a33ed6a0312"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Ri={ABS:{description:"返回数字的绝对值",abstract:"返回数字的绝对值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/abs-%E5%87%BD%E6%95%B0-3420200f-5628-4e8c-99da-c99d7c87713c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOS:{description:"返回数字的反余弦值",abstract:"返回数字的反余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/acos-%E5%87%BD%E6%95%B0-cb73173f-d089-4582-afa1-76e5524b5d5b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOSH:{description:"返回数字的反双曲余弦值",abstract:"返回数字的反双曲余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/acosh-%E5%87%BD%E6%95%B0-e3992cc1-103f-4e72-9f04-624b9ef5ebfe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOT:{description:"返回一个数的反余切值",abstract:"返回一个数的反余切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/acot-%E5%87%BD%E6%95%B0-dc7e5008-fe6b-402e-bdd6-2eea8383d905"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ACOTH:{description:"返回一个数的双曲反余切值",abstract:"返回一个数的双曲反余切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/acoth-%E5%87%BD%E6%95%B0-cc49480f-f684-4171-9fc5-73e4e852300f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AGGREGATE:{description:"返回列表或数据库中的聚合",abstract:"返回列表或数据库中的聚合",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/aggregate-%E5%87%BD%E6%95%B0-43b9278e-6aa7-4f17-92b6-e19993fa26df"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ARABIC:{description:"将罗马数字转换为阿拉伯数字",abstract:"将罗马数字转换为阿拉伯数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/arabic-%E5%87%BD%E6%95%B0-9a8da418-c17b-4ef9-a657-9370a30a674f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ASIN:{description:"返回数字的反正弦值",abstract:"返回数字的反正弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/asin-%E5%87%BD%E6%95%B0-81fb95e5-6d6f-48c4-bc45-58f955c6d347"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ASINH:{description:"返回数字的反双曲正弦值",abstract:"返回数字的反双曲正弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/asinh-%E5%87%BD%E6%95%B0-4e00475a-067a-43cf-926a-765b0249717c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATAN:{description:"返回数字的反正切值",abstract:"返回数字的反正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/atan-%E5%87%BD%E6%95%B0-50746fa8-630a-406b-81d0-4a2aed395543"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATAN2:{description:"返回 X 和 Y 坐标的反正切值",abstract:"返回 X 和 Y 坐标的反正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/atan2-%E5%87%BD%E6%95%B0-c04592ab-b9e3-4908-b428-c96b3a565033"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ATANH:{description:"返回数字的反双曲正切值",abstract:"返回数字的反双曲正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/atanh-%E5%87%BD%E6%95%B0-3cd65768-0de7-4f1d-b312-d01c8c930d90"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BASE:{description:"将一个数转换为具有给定基数的文本表示",abstract:"将一个数转换为具有给定基数的文本表示",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/base-%E5%87%BD%E6%95%B0-2ef61411-aee9-4f29-a811-1c42456c6342"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING:{description:"将数字舍入为最接近的整数或最接近的指定基数的倍数",abstract:"将数字舍入为最接近的整数或最接近的指定基数的倍数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ceiling-%E5%87%BD%E6%95%B0-0a5cd7c8-0720-4f0a-bd2c-c943e510899f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING_MATH:{description:"将数字向上舍入为最接近的整数或最接近的指定基数的倍数",abstract:"将数字向上舍入为最接近的整数或最接近的指定基数的倍数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ceiling-math-%E5%87%BD%E6%95%B0-80f95d2f-b499-4eee-9f16-f795a8e306c8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CEILING_PRECISE:{description:"将数字舍入为最接近的整数或最接近的指定基数的倍数。 无论该数字的符号如何,该数字都向上舍入。",abstract:"将数字舍入为最接近的整数或最接近的指定基数的倍数。 无论该数字的符号如何,该数字都向上舍入。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ceiling-precise-%E5%87%BD%E6%95%B0-f366a774-527a-4c92-ba49-af0a196e66cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMBIN:{description:"返回给定数目对象的组合数",abstract:"返回给定数目对象的组合数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/combin-%E5%87%BD%E6%95%B0-12a3f276-0a21-423a-8de6-06990aaf638a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COMBINA:{description:"返回给定数目对象具有重复项的组合数",abstract:"返回给定数目对象具有重复项的组合数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/combina-%E5%87%BD%E6%95%B0-efb49eaa-4f4c-4cd2-8179-0ddfcf9d035d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COS:{description:"返回数字的余弦值",abstract:"返回数字的余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cos-%E5%87%BD%E6%95%B0-0fb808a5-95d6-4553-8148-22aebdce5f05"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COSH:{description:"返回数字的双曲余弦值",abstract:"返回数字的双曲余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cosh-%E5%87%BD%E6%95%B0-e460d426-c471-43e8-9540-a57ff3b70555"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COT:{description:"返回角度的余弦值",abstract:"返回角度的余弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/cot-%E5%87%BD%E6%95%B0-c446f34d-6fe4-40dc-84f8-cf59e5f5e31a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COTH:{description:"返回数字的双曲余切值",abstract:"返回数字的双曲余切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/coth-%E5%87%BD%E6%95%B0-2e0b4cb6-0ba0-403e-aed4-deaa71b49df5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CSC:{description:"返回角度的余割值",abstract:"返回角度的余割值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/csc-%E5%87%BD%E6%95%B0-07379361-219a-4398-8675-07ddc4f135c1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CSCH:{description:"返回角度的双曲余割值",abstract:"返回角度的双曲余割值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/csch-%E5%87%BD%E6%95%B0-f58f2c22-eb75-4dd6-84f4-a503527f8eeb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DECIMAL:{description:"将给定基数内的数的文本表示转换为十进制数",abstract:"将给定基数内的数的文本表示转换为十进制数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/decimal-%E5%87%BD%E6%95%B0-ee554665-6176-46ef-82de-0a283658da2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEGREES:{description:"将弧度转换为度",abstract:"将弧度转换为度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/degrees-%E5%87%BD%E6%95%B0-4d6ec4db-e694-4b94-ace0-1cc3f61f9ba1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EVEN:{description:"将数字向上舍入到最接近的偶数",abstract:"将数字向上舍入到最接近的偶数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/even-%E5%87%BD%E6%95%B0-197b5f06-c795-4c1e-8696-3c3b8a646cf9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXP:{description:"返回e的 n 次方",abstract:"返回e的 n 次方",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/exp-%E5%87%BD%E6%95%B0-c578f034-2c45-4c37-bc8c-329660a63abe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FACT:{description:"返回数字的阶乘",abstract:"返回数字的阶乘",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fact-%E5%87%BD%E6%95%B0-ca8588c2-15f2-41c0-8e8c-c11bd471a4f3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FACTDOUBLE:{description:"返回数字的双倍阶乘",abstract:"返回数字的双倍阶乘",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/factdouble-%E5%87%BD%E6%95%B0-e67697ac-d214-48eb-b7b7-cce2589ecac8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR:{description:"向绝对值减小的方向舍入数字",abstract:"向绝对值减小的方向舍入数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/floor-%E5%87%BD%E6%95%B0-14bb497c-24f2-4e04-b327-b0b4de5a8886"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR_MATH:{description:"将数字向下舍入为最接近的整数或最接近的指定基数的倍数",abstract:"将数字向下舍入为最接近的整数或最接近的指定基数的倍数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/floor-math-%E5%87%BD%E6%95%B0-c302b599-fbdb-4177-ba19-2c2b1249a2f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FLOOR_PRECISE:{description:"将数字向下舍入为最接近的整数或最接近的指定基数的倍数。 无论该数字的符号如何,该数字都向下舍入。",abstract:"将数字向下舍入为最接近的整数或最接近的指定基数的倍数。 无论该数字的符号如何,该数字都向下舍入。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/floor-precise-%E5%87%BD%E6%95%B0-f769b468-1452-4617-8dc3-02f842a0702e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GCD:{description:"返回最大公约数",abstract:"返回最大公约数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gcd-%E5%87%BD%E6%95%B0-d5107a51-69e3-461f-8e4c-ddfc21b5073a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INT:{description:"将数字向下舍入到最接近的整数",abstract:"将数字向下舍入到最接近的整数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/int-%E5%87%BD%E6%95%B0-a6c4af9e-356d-4369-ab6a-cb1fd9d343ef"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ISO_CEILING:{description:"返回一个数字,该数字向上舍入为最接近的整数或最接近的有效位的倍数",abstract:"返回一个数字,该数字向上舍入为最接近的整数或最接近的有效位的倍数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/iso-ceiling-%E5%87%BD%E6%95%B0-e587bb73-6cc2-4113-b664-ff5b09859a83"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LCM:{description:"返回最小公倍数",abstract:"返回最小公倍数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lcm-%E5%87%BD%E6%95%B0-7152b67a-8bb5-4075-ae5c-06ede5563c94"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LET:{description:"将名称分配给计算结果,以允许将中间计算、值或定义名称存储在公式内",abstract:"将名称分配给计算结果,以允许将中间计算、值或定义名称存储在公式内",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/let-%E5%87%BD%E6%95%B0-34842dd8-b92b-4d3f-b325-b8b8f9908999"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LN:{description:"返回数字的自然对数",abstract:"返回数字的自然对数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/ln-%E5%87%BD%E6%95%B0-81fe1ed7-dac9-4acd-ba1d-07a142c6118f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOG:{description:"返回数字的以指定底为底的对数",abstract:"返回数字的以指定底为底的对数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/log-%E5%87%BD%E6%95%B0-4e82f196-1ca9-4747-8fb0-6c4a3abb3280"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOG10:{description:"返回数字的以 10 为底的对数",abstract:"返回数字的以 10 为底的对数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/log10-%E5%87%BD%E6%95%B0-c75b881b-49dd-44fb-b6f4-37e3486a0211"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MDETERM:{description:"返回数组的矩阵行列式的值",abstract:"返回数组的矩阵行列式的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mdeterm-%E5%87%BD%E6%95%B0-e7bfa857-3834-422b-b871-0ffd03717020"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINVERSE:{description:"返回数组的逆矩阵",abstract:"返回数组的逆矩阵",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/minverse-%E5%87%BD%E6%95%B0-11f55086-adde-4c9f-8eb9-59da2d72efc6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MMULT:{description:"返回两个数组的矩阵乘积",abstract:"返回两个数组的矩阵乘积",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mmult-%E5%87%BD%E6%95%B0-40593ed7-a3cd-4b6b-b9a3-e4ad3c7245eb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MOD:{description:"返回除法的余数",abstract:"返回除法的余数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mod-%E5%87%BD%E6%95%B0-9b6cd169-b6ee-406a-a97b-edf2a9dc24f3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MROUND:{description:"返回一个舍入到所需倍数的数字",abstract:"返回一个舍入到所需倍数的数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mround-%E5%87%BD%E6%95%B0-c299c3b0-15a5-426d-aa4b-d2d5b3baf427"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MULTINOMIAL:{description:"返回一组数字的多项式",abstract:"返回一组数字的多项式",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/multinomial-%E5%87%BD%E6%95%B0-6fa6373c-6533-41a2-a45e-a56db1db1bf6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MUNIT:{description:"返回单位矩阵或指定维度",abstract:"返回单位矩阵或指定维度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/munit-%E5%87%BD%E6%95%B0-c9fe916a-dc26-4105-997d-ba22799853a3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ODD:{description:"将数字向上舍入为最接近的奇数",abstract:"将数字向上舍入为最接近的奇数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/odd-%E5%87%BD%E6%95%B0-deae64eb-e08a-4c88-8b40-6d0b42575c98"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PI:{description:"返回 pi 的值",abstract:"返回 pi 的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pi-%E5%87%BD%E6%95%B0-264199d0-a3ba-46b8-975a-c4a04608989b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POWER:{description:"返回数的乘幂",abstract:"返回数的乘幂",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/power-%E5%87%BD%E6%95%B0-d3f2908b-56f4-4c3f-895a-07fb519c362a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PRODUCT:{description:"将其参数相乘",abstract:"将其参数相乘",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/product-%E5%87%BD%E6%95%B0-8e6b5b24-90ee-4650-aeec-80982a0512ce"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUOTIENT:{description:"返回除法的整数部分",abstract:"返回除法的整数部分",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/quotient-%E5%87%BD%E6%95%B0-9f7bf099-2a18-4282-8fa4-65290cc99dee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RADIANS:{description:"将度转换为弧度",abstract:"将度转换为弧度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/radians-%E5%87%BD%E6%95%B0-ac409508-3d48-45f5-ac02-1497c92de5bf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RAND:{description:"返回 0 和 1 之间的一个随机数",abstract:"返回 0 和 1 之间的一个随机数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rand-%E5%87%BD%E6%95%B0-4cbfa695-8869-4788-8d90-021ea9f5be73"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANDARRAY:{description:"RANDARRAY 函数返回 0 和 1 之间的随机数字数组。 但是,你可以指定要填充的行数和列数、最小值和最大值,以及是否返回整个数字或小数值。",abstract:"RANDARRAY 函数返回 0 和 1 之间的随机数字数组。 但是,你可以指定要填充的行数和列数、最小值和最大值,以及是否返回整个数字或小数值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/randarray-%E5%87%BD%E6%95%B0-21261e55-3bec-4885-86a6-8b0a47fd4d33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANDBETWEEN:{description:"返回位于两个指定数之间的一个随机数",abstract:"返回位于两个指定数之间的一个随机数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/randbetween-%E5%87%BD%E6%95%B0-4cc7f0d1-87dc-4eb7-987f-a469ab381685"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROMAN:{description:"将阿拉伯数字转换为文本式罗马数字",abstract:"将阿拉伯数字转换为文本式罗马数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/roman-%E5%87%BD%E6%95%B0-d6b0b99e-de46-4704-a518-b45a0f8b56f5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUND:{description:"将数字按指定位数舍入",abstract:"将数字按指定位数舍入",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/round-%E5%87%BD%E6%95%B0-c018c5d8-40fb-4053-90b1-b3e7f61a213c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUNDDOWN:{description:"向绝对值减小的方向舍入数字",abstract:"向绝对值减小的方向舍入数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rounddown-%E5%87%BD%E6%95%B0-2ec94c73-241f-4b01-8c6f-17e6d7968f53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ROUNDUP:{description:"向绝对值增大的方向舍入数字",abstract:"向绝对值增大的方向舍入数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/roundup-%E5%87%BD%E6%95%B0-f8bc9b23-e795-47db-8703-db171d0c42a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEC:{description:"返回角度的正割值",abstract:"返回角度的正割值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sec-%E5%87%BD%E6%95%B0-ff224717-9c87-4170-9b58-d069ced6d5f7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SECH:{description:"返回角度的双曲正切值",abstract:"返回角度的双曲正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sech-%E5%87%BD%E6%95%B0-e05a789f-5ff7-4d7f-984a-5edb9b09556f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SERIESSUM:{description:"返回基于公式的幂级数的和",abstract:"返回基于公式的幂级数的和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/seriessum-%E5%87%BD%E6%95%B0-a3ab25b5-1093-4f5b-b084-96c49087f637"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEQUENCE:{description:"SEQUENCE 函数可在数组中生成一系列连续数字,例如,1、2、3、4。",abstract:"SEQUENCE 函数可在数组中生成一系列连续数字,例如,1、2、3、4。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sequence-%E5%87%BD%E6%95%B0-57467a98-57e0-4817-9f14-2eb78519ca90"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SIGN:{description:"返回数字的符号",abstract:"返回数字的符号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sign-%E5%87%BD%E6%95%B0-109c932d-fcdc-4023-91f1-2dd0e916a1d8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SIN:{description:"返回给定角度的正弦值",abstract:"返回给定角度的正弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sin-%E5%87%BD%E6%95%B0-cf0e3432-8b9e-483c-bc55-a76651c95602"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SINH:{description:"返回数字的双曲正弦值",abstract:"返回数字的双曲正弦值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sinh-%E5%87%BD%E6%95%B0-1e4e8b9f-2b65-43fc-ab8a-0a37f4081fa7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SQRT:{description:"返回正平方根",abstract:"返回正平方根",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sqrt-%E5%87%BD%E6%95%B0-654975c2-05c4-4831-9a24-2c65e4040fdf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SQRTPI:{description:"返回某数与 pi 的乘积的平方根",abstract:"返回某数与 pi 的乘积的平方根",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sqrtpi-%E5%87%BD%E6%95%B0-1fb4e63f-9b51-46d6-ad68-b3e7a8b519b4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUBTOTAL:{description:"返回列表或数据库中的分类汇总",abstract:"返回列表或数据库中的分类汇总",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/subtotal-%E5%87%BD%E6%95%B0-7b027003-f060-4ade-9040-e478765b9939"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUM:{description:"将单个值、单元格引用或是区域相加,或者将三者的组合相加。",abstract:"求参数的和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sum-%E5%87%BD%E6%95%B0-043e1c7d-7726-4e80-8f32-07b23e057f89"}],functionParameter:{number1:{name:"数值1",detail:"要相加的第一个数字。 该数字可以是 4 之类的数字,B6 之类的单元格引用或 B2:B8 之类的单元格范围。"},number2:{name:"数值2",detail:"这是要相加的第二个数字。 可以按照这种方式最多指定 255 个数字。"}}},SUMIF:{description:"对范围中符合指定条件的值求和。",abstract:"按给定条件对指定单元格求和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumif-%E5%87%BD%E6%95%B0-169b8c99-c05c-4483-a712-1697a653039b"}],functionParameter:{range:{name:"范围",detail:"要根据条件进行检测的范围。"},criteria:{name:"条件",detail:"以数字、表达式、单元格引用、文本或函数的形式来定义将添加哪些单元格。可包括的通配符字符 - 问号(?)以匹配任意单个字符,星号(*)以匹配任意字符序列。 如果要查找实际的问号或星号,请在该字符前键入波形符(~)。"},sum_range:{name:"求和范围",detail:"要添加的实际单元格,如果要添加在范围参数指定以外的其他单元格。 如果省略sum_range参数,Excel就会添加范围参数中指定的单元格(与应用标准的单元格相同)。"}}},SUMIFS:{description:"在区域中添加满足多个条件的单元格",abstract:"在区域中添加满足多个条件的单元格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumifs-%E5%87%BD%E6%95%B0-c9e748f5-7ea7-455d-9406-611cebce642b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMPRODUCT:{description:"返回对应的数组元素的乘积和",abstract:"返回对应的数组元素的乘积和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumproduct-%E5%87%BD%E6%95%B0-16753e75-9f68-4874-94ac-4d2145a2fd2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMSQ:{description:"返回参数的平方和",abstract:"返回参数的平方和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumsq-%E5%87%BD%E6%95%B0-e3313c02-51cc-4963-aae6-31442d9ec307"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMX2MY2:{description:"返回两数组中对应值平方差之和",abstract:"返回两数组中对应值平方差之和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumx2my2-%E5%87%BD%E6%95%B0-9e599cc5-5399-48e9-a5e0-e37812dfa3e9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMX2PY2:{description:"返回两数组中对应值的平方和之和",abstract:"返回两数组中对应值的平方和之和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumx2py2-%E5%87%BD%E6%95%B0-826b60b4-0aa2-4e5e-81d2-be704d3d786f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUMXMY2:{description:"返回两个数组中对应值差的平方和",abstract:"返回两个数组中对应值差的平方和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/sumxmy2-%E5%87%BD%E6%95%B0-9d144ac1-4d79-43de-b524-e2ecee23b299"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TAN:{description:"返回数字的正切值",abstract:"返回数字的正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tan-%E5%87%BD%E6%95%B0-08851a40-179f-4052-b789-d7f699447401"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TANH:{description:"返回数字的双曲正切值",abstract:"返回数字的双曲正切值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/tanh-%E5%87%BD%E6%95%B0-017222f0-a0c3-4f69-9787-b3202295dc6c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRUNC:{description:"将数字截尾取整",abstract:"将数字截尾取整",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trunc-%E5%87%BD%E6%95%B0-8b86a64c-3127-43db-ba14-aa5ceb292721"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},gi={AVEDEV:{description:"返回数据点与它们的平均值的绝对偏差平均值",abstract:"返回数据点与它们的平均值的绝对偏差平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/avedev-%E5%87%BD%E6%95%B0-58fe8d65-2a84-4dc7-8052-f3f87b5c6639"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGE:{description:"返回参数的平均值(算术平均值)。",abstract:"返回其参数的平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/average-%E5%87%BD%E6%95%B0-047bac88-d466-426c-a32b-8f33eb960cf6"}],functionParameter:{number1:{name:"数值1",detail:"要计算平均值的第一个数字、单元格引用或单元格区域。"},number2:{name:"数值2",detail:"要计算平均值的其他数字、单元格引用或单元格区域,最多可包含 255 个。"}}},AVERAGEA:{description:"返回其参数的平均值,包括数字、文本和逻辑值",abstract:"返回其参数的平均值,包括数字、文本和逻辑值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/averagea-%E5%87%BD%E6%95%B0-f5f84098-d453-4f4c-bbba-3d2c66356091"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGEIF:{description:"返回区域中满足给定条件的所有单元格的平均值(算术平均值)",abstract:"返回区域中满足给定条件的所有单元格的平均值(算术平均值)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/averageif-%E5%87%BD%E6%95%B0-faec8e2e-0dec-4308-af69-f5576d8ac642"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},AVERAGEIFS:{description:"返回满足多个条件的所有单元格的平均值(算术平均值)",abstract:"返回满足多个条件的所有单元格的平均值(算术平均值)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/averageifs-%E5%87%BD%E6%95%B0-48910c45-1fc0-4389-a028-f7c5c3001690"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETA_DIST:{description:"返回 beta 累积分布函数",abstract:"返回 beta 累积分布函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/beta-dist-%E5%87%BD%E6%95%B0-11188c9c-780a-42c7-ba43-9ecb5a878d31"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BETA_INV:{description:"返回指定 beta 分布的累积分布函数的反函数",abstract:"返回指定 beta 分布的累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/beta-inv-%E5%87%BD%E6%95%B0-e84cb8aa-8df0-4cf6-9892-83a341d252eb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_DIST:{description:"返回一元二项式分布的概率",abstract:"返回一元二项式分布的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/binom-dist-%E5%87%BD%E6%95%B0-c5ae37b6-f39c-4be2-94c2-509a1480770c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_DIST_RANGE:{description:"使用二项式分布返回试验结果的概率",abstract:"使用二项式分布返回试验结果的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/binom-dist-range-%E5%87%BD%E6%95%B0-17331329-74c7-4053-bb4c-6653a7421595"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BINOM_INV:{description:"返回使累积二项式分布小于或等于临界值的最小值",abstract:"返回使累积二项式分布小于或等于临界值的最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/binom-inv-%E5%87%BD%E6%95%B0-80a0370c-ada6-49b4-83e7-05a91ba77ac9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_DIST:{description:"返回累积 beta 概率密度函数",abstract:"返回累积 beta 概率密度函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chisq-dist-%E5%87%BD%E6%95%B0-8486b05e-5c05-4942-a9ea-f6b341518732"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_DIST_RT:{description:"返回 χ2 分布的单尾概率",abstract:"返回 χ2 分布的单尾概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chisq-dist-rt-%E5%87%BD%E6%95%B0-dc4832e8-ed2b-49ae-8d7c-b28d5804c0f2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_INV:{description:"返回累积 beta 概率密度函数",abstract:"返回累积 beta 概率密度函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chisq-inv-%E5%87%BD%E6%95%B0-400db556-62b3-472d-80b3-254723e7092f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_INV_RT:{description:"返回 χ2 分布的单尾概率的反函数",abstract:"返回 χ2 分布的单尾概率的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chisq-inv-rt-%E5%87%BD%E6%95%B0-435b5ed8-98d5-4da6-823f-293e2cbc94fe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHISQ_TEST:{description:"返回独立性检验值",abstract:"返回独立性检验值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/chisq-test-%E5%87%BD%E6%95%B0-2e8a7861-b14a-4985-aa93-fb88de3f260f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE_NORM:{description:"返回总体平均值的置信区间",abstract:"返回总体平均值的置信区间",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/confidence-norm-%E5%87%BD%E6%95%B0-7cec58a6-85bb-488d-91c3-63828d4fbfd4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONFIDENCE_T:{description:"返回总体平均值的置信区间(使用学生 t-分布)",abstract:"返回总体平均值的置信区间(使用学生 t-分布)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/confidence-t-%E5%87%BD%E6%95%B0-e8eca395-6c3a-4ba9-9003-79ccc61d3c53"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CORREL:{description:"返回两个数据集之间的相关系数",abstract:"返回两个数据集之间的相关系数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/correl-%E5%87%BD%E6%95%B0-995dcef7-0c0a-4bed-a3fb-239d7b68ca92"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNT:{description:"计算包含数字的单元格个数以及参数列表中数字的个数。",abstract:"计算参数列表中数字的个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/count-%E5%87%BD%E6%95%B0-a59cd7fc-b623-4d93-87a4-d23bf411294c"}],functionParameter:{value1:{name:"值1",detail:"要计算其中数字的个数的第一项、单元格引用或区域。"},value2:{name:"值2",detail:"要计算其中数字的个数的其他项、单元格引用或区域,最多可包含 255 个。"}}},COUNTA:{description:`计算包含任何类型的信息(包括错误值和空文本 (""))的单元格
|
|
13
|
-
如果不需要对逻辑值、文本或错误值进行计数(换句话说,只希望对包含数字的单元格进行计数),请使用 COUNT 函数。`,abstract:"计算参数列表中值的个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/counta-%E5%87%BD%E6%95%B0-7dc98875-d5c1-46f1-9a82-53f3219e2509"}],functionParameter:{number1:{name:"数值1",detail:"必需。 表示要计数的值的第一个参数"},number2:{name:"数值2",detail:"可选。 表示要计数的值的其他参数,最多可包含 255 个参数。"}}},COUNTBLANK:{description:"计算区域内空白单元格的数量",abstract:"计算区域内空白单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/countblank-%E5%87%BD%E6%95%B0-6a92d772-675c-4bee-b346-24af6bd3ac22"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNTIF:{description:"计算区域内符合给定条件的单元格的数量",abstract:"计算区域内符合给定条件的单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/countif-%E5%87%BD%E6%95%B0-e0de10c6-f885-4e71-abb4-1f464816df34"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNTIFS:{description:"计算区域内符合多个条件的单元格的数量",abstract:"计算区域内符合多个条件的单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/countifs-%E5%87%BD%E6%95%B0-dda3dc6e-f74e-4aee-88bc-aa8c2a866842"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVARIANCE_P:{description:"返回协方差(成对偏差乘积的平均值)",abstract:"返回协方差(成对偏差乘积的平均值)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/covariance-p-%E5%87%BD%E6%95%B0-6f0e1e6d-956d-4e4b-9943-cfef0bf9edfc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVARIANCE_S:{description:"返回样本协方差,即两个数据集中每对数据点的偏差乘积的平均值",abstract:"返回样本协方差,即两个数据集中每对数据点的偏差乘积的平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/covariance-s-%E5%87%BD%E6%95%B0-0a539b74-7371-42aa-a18f-1f5320314977"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEVSQ:{description:"返回偏差的平方和",abstract:"返回偏差的平方和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/devsq-%E5%87%BD%E6%95%B0-8b739616-8376-4df5-8bd0-cfe0a6caf444"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPON_DIST:{description:"返回指数分布",abstract:"返回指数分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/expon-dist-%E5%87%BD%E6%95%B0-4c12ae24-e563-4155-bf3e-8b78b6ae140e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_DIST:{description:"返回 F 概率分布",abstract:"返回 F 概率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-dist-%E5%87%BD%E6%95%B0-a887efdc-7c8e-46cb-a74a-f884cd29b25d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_DIST_RT:{description:"返回 F 概率分布",abstract:"返回 F 概率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-dist-rt-%E5%87%BD%E6%95%B0-d74cbb00-6017-4ac9-b7d7-6049badc0520"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_INV:{description:"返回 F 概率分布的反函数",abstract:"返回 F 概率分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-inv-%E5%87%BD%E6%95%B0-0dda0cf9-4ea0-42fd-8c3c-417a1ff30dbe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_INV_RT:{description:"返回 F 概率分布的反函数",abstract:"返回 F 概率分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-inv-rt-%E5%87%BD%E6%95%B0-d371aa8f-b0b1-40ef-9cc2-496f0693ac00"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_TEST:{description:"返回 F 检验的结果",abstract:"返回 F 检验的结果",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-test-%E5%87%BD%E6%95%B0-100a59e7-4108-46f8-8443-78ffacb6c0a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FISHER:{description:"返回 Fisher 变换值",abstract:"返回 Fisher 变换值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fisher-%E5%87%BD%E6%95%B0-d656523c-5076-4f95-b87b-7741bf236c69"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FISHERINV:{description:"返回 Fisher 变换的反函数",abstract:"返回 Fisher 变换的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fisherinv-%E5%87%BD%E6%95%B0-62504b39-415a-4284-a285-19c8e82f86bb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST:{description:"返回线性趋势值",abstract:"返回线性趋势值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/forecast-%E5%92%8C-forecast-linear-%E5%87%BD%E6%95%B0-50ca49c9-7b40-4892-94e4-7ad38bbeda99"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS:{description:"通过使用指数平滑 (ETS) 算法的 AAA 版本,返回基于现有(历史)值的未来值",abstract:"通过使用指数平滑 (ETS) 算法的 AAA 版本,返回基于现有(历史)值的未来值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_CONFINT:{description:"返回指定目标日期预测值的置信区间",abstract:"返回指定目标日期预测值的置信区间",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.CONFINT"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_SEASONALITY:{description:"返回 Excel 针对指定时间系列检测到的重复模式的长度",abstract:"返回 Excel 针对指定时间系列检测到的重复模式的长度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.SEASONALITY"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_STAT:{description:"返回作为时间序列预测的结果的统计值。",abstract:"返回作为时间序列预测的结果的统计值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.STAT"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_LINEAR:{description:"返回基于现有值的未来值",abstract:"返回基于现有值的未来值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.LINEAR"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FREQUENCY:{description:"以垂直数组的形式返回频率分布",abstract:"以垂直数组的形式返回频率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/frequency-%E5%87%BD%E6%95%B0-44e3be2b-eca0-42cd-a3f7-fd9ea898fdb9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA:{description:"返回 γ 函数值",abstract:"返回 γ 函数值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gamma-%E5%87%BD%E6%95%B0-ce1702b1-cf55-471d-8307-f83be0fc5297"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA_DIST:{description:"返回 γ 分布",abstract:"返回 γ 分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gamma-dist-%E5%87%BD%E6%95%B0-9b6f1538-d11c-4d5f-8966-21f6a2201def"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA_INV:{description:"返回 γ 累积分布函数的反函数",abstract:"返回 γ 累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gamma-inv-%E5%87%BD%E6%95%B0-74991443-c2b0-4be5-aaab-1aa4d71fbb18"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMALN:{description:"返回 γ 函数的自然对数,Γ(x)",abstract:"返回 γ 函数的自然对数,Γ(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gammaln-%E5%87%BD%E6%95%B0-b838c48b-c65f-484f-9e1d-141c55470eb9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMALN_PRECISE:{description:"返回 γ 函数的自然对数,Γ(x)",abstract:"返回 γ 函数的自然对数,Γ(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gammaln-precise-%E5%87%BD%E6%95%B0-5cdfe601-4e1e-4189-9d74-241ef1caa599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAUSS:{description:"返回小于标准正态累积分布 0.5 的值",abstract:"返回小于标准正态累积分布 0.5 的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gauss-%E5%87%BD%E6%95%B0-069f1b4e-7dee-4d6a-a71f-4b69044a6b33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GEOMEAN:{description:"返回几何平均值",abstract:"返回几何平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/geomean-%E5%87%BD%E6%95%B0-db1ac48d-25a5-40a0-ab83-0b38980e40d5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GROWTH:{description:"返回指数趋势值",abstract:"返回指数趋势值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/growth-%E5%87%BD%E6%95%B0-541a91dc-3d5e-437d-b156-21324e68b80d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HARMEAN:{description:"返回调和平均值",abstract:"返回调和平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/harmean-%E5%87%BD%E6%95%B0-5efd9184-fab5-42f9-b1d3-57883a1d3bc6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPGEOM_DIST:{description:"返回超几何分布",abstract:"返回超几何分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hypgeom-dist-%E5%87%BD%E6%95%B0-6dbd547f-1d12-4b1f-8ae5-b0d9e3d22fbf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INTERCEPT:{description:"返回线性回归线的截距",abstract:"返回线性回归线的截距",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/intercept-%E5%87%BD%E6%95%B0-2a9b74e2-9d47-4772-b663-3bca70bf63ef"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},KURT:{description:"返回数据集的峰值",abstract:"返回数据集的峰值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/kurt-%E5%87%BD%E6%95%B0-bc3a265c-5da4-4dcb-b7fd-c237789095ab"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LARGE:{description:"返回数据集中第 k 个最大值",abstract:"返回数据集中第 k 个最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/large-%E5%87%BD%E6%95%B0-3af0af19-1190-42bb-bb8b-01672ec00a64"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LINEST:{description:"返回线性趋势的参数",abstract:"返回线性趋势的参数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/linest-%E5%87%BD%E6%95%B0-84d7d0d9-6e50-4101-977a-fa7abf772b6d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGEST:{description:"返回指数趋势的参数",abstract:"返回指数趋势的参数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/logest-%E5%87%BD%E6%95%B0-f27462d8-3657-4030-866b-a272c1d18b4b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORM_DIST:{description:"返回对数累积分布函数",abstract:"返回对数累积分布函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lognorm-dist-%E5%87%BD%E6%95%B0-eb60d00b-48a9-4217-be2b-6074aee6b070"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORM_INV:{description:"返回对数累积分布的反函数",abstract:"返回对数累积分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lognorm-inv-%E5%87%BD%E6%95%B0-fe79751a-f1f2-4af8-a0a1-e151b2d4f600"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAX:{description:"返回一组值中的最大值。",abstract:"返回参数列表中的最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/max-%E5%87%BD%E6%95%B0-e0012414-9ac8-4b34-9a47-73e662c08098"}],functionParameter:{number1:{name:"数值1",detail:"要计算最大值的第一个数字、单元格引用或单元格区域。"},number2:{name:"数值2",detail:"要计算最大值的其他数字、单元格引用或单元格区域,最多可包含 255 个。"}}},MAXA:{description:"返回参数列表中的最大值,包括数字、文本和逻辑值",abstract:"返回参数列表中的最大值,包括数字、文本和逻辑值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/maxa-%E5%87%BD%E6%95%B0-814bda1e-3840-4bff-9365-2f59ac2ee62d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAXIFS:{description:"返回一组给定条件或标准指定的单元格之间的最大值",abstract:"返回一组给定条件或标准指定的单元格之间的最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/maxifs-%E5%87%BD%E6%95%B0-dfd611e6-da2c-488a-919b-9b6376b28883"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MEDIAN:{description:"返回给定数值集合的中值",abstract:"返回给定数值集合的中值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/median-%E5%87%BD%E6%95%B0-d0916313-4753-414c-8537-ce85bdd967d2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIN:{description:"返回一组值中的最小值。",abstract:"返回参数列表中的最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/min-%E5%87%BD%E6%95%B0-61635d12-920f-4ce2-a70f-96f202dcc152"}],functionParameter:{number1:{name:"数值1",detail:"要计算最小值的第一个数字、单元格引用或单元格区域。"},number2:{name:"数值2",detail:"要计算最小值的其他数字、单元格引用或单元格区域,最多可包含 255 个。"}}},MINA:{description:"返回参数列表中的最小值,包括数字、文本和逻辑值",abstract:"返回参数列表中的最小值,包括数字、文本和逻辑值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mina-%E5%87%BD%E6%95%B0-245a6f46-7ca5-4dc7-ab49-805341bc31d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINIFS:{description:"返回一组给定条件或标准指定的单元格之间的最小值。",abstract:"返回一组给定条件或标准指定的单元格之间的最小值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/minifs-%E5%87%BD%E6%95%B0-6ca1ddaa-079b-4e74-80cc-72eef32e6599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE_MULT:{description:"返回一组数据或数据区域中出现频率最高或重复出现的数值的垂直数组",abstract:"返回一组数据或数据区域中出现频率最高或重复出现的数值的垂直数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mode-mult-%E5%87%BD%E6%95%B0-50fd9464-b2ba-4191-b57a-39446689ae8c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE_SNGL:{description:"返回在数据集内出现次数最多的值",abstract:"返回在数据集内出现次数最多的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mode-sngl-%E5%87%BD%E6%95%B0-f1267c16-66c6-4386-959f-8fba5f8bb7f8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NEGBINOM_DIST:{description:"返回负二项式分布",abstract:"返回负二项式分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/negbinom-dist-%E5%87%BD%E6%95%B0-c8239f89-c2d0-45bd-b6af-172e570f8599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_DIST:{description:"返回正态累积分布",abstract:"返回正态累积分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-dist-%E5%87%BD%E6%95%B0-edb1cc14-a21c-4e53-839d-8082074c9f8d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_INV:{description:"返回正态累积分布的反函数",abstract:"返回正态累积分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-inv-%E5%87%BD%E6%95%B0-54b30935-fee7-493c-bedb-2278a9db7e13"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_S_DIST:{description:"返回标准正态累积分布",abstract:"返回标准正态累积分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-s-dist-%E5%87%BD%E6%95%B0-1e787282-3832-4520-a9ae-bd2a8d99ba88"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_S_INV:{description:"返回标准正态累积分布函数的反函数",abstract:"返回标准正态累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-s-inv-%E5%87%BD%E6%95%B0-d6d556b4-ab7f-49cd-b526-5a20918452b1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PEARSON:{description:"返回 Pearson 乘积矩相关系数",abstract:"返回 Pearson 乘积矩相关系数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pearson-%E5%87%BD%E6%95%B0-0c3e30fc-e5af-49c4-808a-3ef66e034c18"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE_EXC:{description:"返回某个区域中的数值的第 k 个百分点值,此处的 k 的范围为 0 到 1(不含 0 和 1)",abstract:"返回某个区域中的数值的第 k 个百分点值,此处的 k 的范围为 0 到 1(不含 0 和 1)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentile-exc-%E5%87%BD%E6%95%B0-bbaa7204-e9e1-4010-85bf-c31dc5dce4ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE_INC:{description:"返回区域中数值的第 k 个百分点的值",abstract:"返回区域中数值的第 k 个百分点的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentile-inc-%E5%87%BD%E6%95%B0-680f9539-45eb-410b-9a5e-c1355e5fe2ed"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK_EXC:{description:"将某个数值在数据集中的排位作为数据集的百分点值返回,此处的百分点值的范围为 0 到 1(不含 0 和 1)",abstract:"将某个数值在数据集中的排位作为数据集的百分点值返回,此处的百分点值的范围为 0 到 1(不含 0 和 1)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentrank-exc-%E5%87%BD%E6%95%B0-d8afee96-b7e2-4a2f-8c01-8fcdedaa6314"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK_INC:{description:"返回数据集中值的百分比排位",abstract:"返回数据集中值的百分比排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentrank-inc-%E5%87%BD%E6%95%B0-149592c9-00c0-49ba-86c1-c1f45b80463a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERMUT:{description:"返回给定数目对象的排列数",abstract:"返回给定数目对象的排列数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/permut-%E5%87%BD%E6%95%B0-3bd1cb9a-2880-41ab-a197-f246a7a602d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERMUTATIONA:{description:"返回可从总计对象中选择的给定数目对象(含重复)的排列数",abstract:"返回可从总计对象中选择的给定数目对象(含重复)的排列数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/permutationa-%E5%87%BD%E6%95%B0-6c7d7fdc-d657-44e6-aa19-2857b25cae4e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PHI:{description:"返回标准正态分布的密度函数值",abstract:"返回标准正态分布的密度函数值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/phi-%E5%87%BD%E6%95%B0-23e49bc6-a8e8-402d-98d3-9ded87f6295c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POISSON_DIST:{description:"返回泊松分布",abstract:"返回泊松分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/poisson-dist-%E5%87%BD%E6%95%B0-8fe148ff-39a2-46cb-abf3-7772695d9636"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PROB:{description:"返回区域中的数值落在指定区间内的概率",abstract:"返回区域中的数值落在指定区间内的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/prob-%E5%87%BD%E6%95%B0-9ac30561-c81c-4259-8253-34f0a238fc49"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE_EXC:{description:"基于百分点值返回数据集的四分位,此处的百分点值的范围为 0 到 1(不含 0 和 1)",abstract:"基于百分点值返回数据集的四分位,此处的百分点值的范围为 0 到 1(不含 0 和 1)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/quartile-exc-%E5%87%BD%E6%95%B0-5a355b7a-840b-4a01-b0f1-f538c2864cad"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE_INC:{description:"返回一组数据的四分位点",abstract:"返回一组数据的四分位点",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/quartile-inc-%E5%87%BD%E6%95%B0-1bbacc80-5075-42f1-aed6-47d735c4819d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK_AVG:{description:"返回一列数字的数字排位",abstract:"返回一列数字的数字排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rank-avg-%E5%87%BD%E6%95%B0-bd406a6f-eb38-4d73-aa8e-6d1c3c72e83a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK_EQ:{description:"返回一列数字的数字排位",abstract:"返回一列数字的数字排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rank-eq-%E5%87%BD%E6%95%B0-284858ce-8ef6-450e-b662-26245be04a40"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RSQ:{description:"返回 Pearson 乘积矩相关系数的平方",abstract:"返回 Pearson 乘积矩相关系数的平方",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rsq-%E5%87%BD%E6%95%B0-d7161715-250d-4a01-b80d-a8364f2be08f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SKEW:{description:"返回分布的不对称度",abstract:"返回分布的不对称度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/skew-%E5%87%BD%E6%95%B0-bdf49d86-b1ef-4804-a046-28eaea69c9fa"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SKEW_P:{description:"返回一个分布的不对称度:用来体现某一分布相对其平均值的不对称程度",abstract:"返回一个分布的不对称度:用来体现某一分布相对其平均值的不对称程度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/skew-p-%E5%87%BD%E6%95%B0-76530a5c-99b9-48a1-8392-26632d542fcb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SLOPE:{description:"返回线性回归线的斜率",abstract:"返回线性回归线的斜率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/slope-%E5%87%BD%E6%95%B0-11fb8f97-3117-4813-98aa-61d7e01276b9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SMALL:{description:"返回数据集中的第 k 个最小值",abstract:"返回数据集中的第 k 个最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/small-%E5%87%BD%E6%95%B0-17da8222-7c82-42b2-961b-14c45384df07"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STANDARDIZE:{description:"返回正态化数值",abstract:"返回正态化数值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/standardize-%E5%87%BD%E6%95%B0-81d66554-2d54-40ec-ba83-6437108ee775"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV_P:{description:"基于整个样本总体计算标准偏差",abstract:"基于整个样本总体计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdev-p-%E5%87%BD%E6%95%B0-6e917c05-31a0-496f-ade7-4f4e7462f285"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV_S:{description:"基于样本估算标准偏差",abstract:"基于样本估算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdev-s-%E5%87%BD%E6%95%B0-7d69cf97-0c1f-4acf-be27-f3e83904cc23"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVA:{description:"基于样本(包括数字、文本和逻辑值)估算标准偏差",abstract:"基于样本(包括数字、文本和逻辑值)估算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdeva-%E5%87%BD%E6%95%B0-5ff38888-7ea5-48de-9a6d-11ed73b29e9d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVPA:{description:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",abstract:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdevpa-%E5%87%BD%E6%95%B0-5578d4d6-455a-4308-9991-d405afe2c28c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STEYX:{description:"返回通过线性回归法预测每个 x 的 y 值时所产生的标准误差",abstract:"返回通过线性回归法预测每个 x 的 y 值时所产生的标准误差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/steyx-%E5%87%BD%E6%95%B0-6ce74b2c-449d-4a6e-b9ac-f9cef5ba48ab"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST:{description:"返回学生 t-分布的百分点(概率)",abstract:"返回学生 t-分布的百分点(概率)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-dist-%E5%87%BD%E6%95%B0-4329459f-ae91-48c2-bba8-1ead1c6c21b2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST_2T:{description:"返回学生 t-分布的百分点(概率)",abstract:"返回学生 t-分布的百分点(概率)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-dist-2t-%E5%87%BD%E6%95%B0-198e9340-e360-4230-bd21-f52f22ff5c28"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST_RT:{description:"返回学生 t-分布",abstract:"返回学生 t-分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-dist-rt-%E5%87%BD%E6%95%B0-20a30020-86f9-4b35-af1f-7ef6ae683eda"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_INV:{description:"返回作为概率和自由度函数的学生 t 分布的 t 值",abstract:"返回作为概率和自由度函数的学生 t 分布的 t 值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-inv-%E5%87%BD%E6%95%B0-2908272b-4e61-4942-9df9-a25fec9b0e2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_INV_2T:{description:"返回学生 t-分布的反函数",abstract:"返回学生 t-分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-inv-2t-%E5%87%BD%E6%95%B0-ce72ea19-ec6c-4be7-bed2-b9baf2264f17"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_TEST:{description:"返回与学生 t-检验相关的概率",abstract:"返回与学生 t-检验相关的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-test-%E5%87%BD%E6%95%B0-d4e08ec3-c545-485f-962e-276f7cbed055"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TREND:{description:"返回线性趋势值",abstract:"返回线性趋势值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trend-%E5%87%BD%E6%95%B0-e2f135f0-8827-4096-9873-9a7cf7b51ef1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRIMMEAN:{description:"返回数据集的内部平均值",abstract:"返回数据集的内部平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trimmean-%E5%87%BD%E6%95%B0-d90c9878-a119-4746-88fa-63d988f511d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR_P:{description:"计算基于样本总体的方差",abstract:"计算基于样本总体的方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/var-p-%E5%87%BD%E6%95%B0-73d1285c-108c-4843-ba5d-a51f90656f3a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR_S:{description:"基于样本估算方差",abstract:"基于样本估算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/var-s-%E5%87%BD%E6%95%B0-913633de-136b-449d-813e-65a00b2b990b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARA:{description:"基于样本(包括数字、文本和逻辑值)估算方差",abstract:"基于样本(包括数字、文本和逻辑值)估算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/vara-%E5%87%BD%E6%95%B0-3de77469-fa3a-47b4-85fd-81758a1e1d07"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARPA:{description:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",abstract:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/varpa-%E5%87%BD%E6%95%B0-59a62635-4e89-4fad-88ac-ce4dc0513b96"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEIBULL_DIST:{description:"返回 Weibull 分布",abstract:"返回 Weibull 分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/weibull-dist-%E5%87%BD%E6%95%B0-4e783c39-9325-49be-bbc9-a83ef82b45db"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},Z_TEST:{description:"返回 z 检验的单尾概率值",abstract:"返回 z 检验的单尾概率值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/z-test-%E5%87%BD%E6%95%B0-d633d5a3-2031-4614-a016-92180ad82bee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Ii={ASC:{description:"将字符串中的全角(双字节)英文字母或片假名更改为半角(单字节)字符",abstract:"将字符串中的全角(双字节)英文字母或片假名更改为半角(单字节)字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/asc-%E5%87%BD%E6%95%B0-0b6abf1c-c663-4004-a964-ebc00b723266"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ARRAYTOTEXT:{description:"ARRAYTOTEXT 函数返回任意指定区域内的文本值的数组。",abstract:"ARRAYTOTEXT 函数返回任意指定区域内的文本值的数组。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/arraytotext-%E5%87%BD%E6%95%B0-9cdcad46-2fa5-4c6b-ac92-14e7bc862b8b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BAHTTEXT:{description:"使用 ß(泰铢)货币格式将数字转换为文本",abstract:"使用 ß(泰铢)货币格式将数字转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bahttext-%E5%87%BD%E6%95%B0-5ba4d0b4-abd3-4325-8d22-7a92d59aab9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHAR:{description:"返回由代码数字指定的字符",abstract:"返回由代码数字指定的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/char-%E5%87%BD%E6%95%B0-bbd249c8-b36e-4a91-8017-1c133f9b837a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CLEAN:{description:"删除文本中所有非打印字符",abstract:"删除文本中所有非打印字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/clean-%E5%87%BD%E6%95%B0-26f3d7c5-475f-4a9c-90e5-4b8ba987ba41"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CODE:{description:"返回文本字符串中第一个字符的数字代码",abstract:"返回文本字符串中第一个字符的数字代码",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/code-%E5%87%BD%E6%95%B0-c32b692b-2ed0-4a04-bdd9-75640144b928"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCAT:{description:"将多个区域和/或字符串的文本组合起来,但不提供分隔符或 IgnoreEmpty 参数。",abstract:"将多个区域和/或字符串的文本组合起来,但不提供分隔符或 IgnoreEmpty 参数。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/concat-%E5%87%BD%E6%95%B0-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCATENATE:{description:"将几个文本项合并为一个文本项",abstract:"将几个文本项合并为一个文本项",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/concatenate-%E5%87%BD%E6%95%B0-8f8ae884-2ca8-4f7a-b093-75d702bea31d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DBCS:{description:"将字符串中的半角(单字节)英文字母或片假名更改为全角(双字节)字符",abstract:"将字符串中的半角(单字节)英文字母或片假名更改为全角(双字节)字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dbcs-%E5%87%BD%E6%95%B0-a4025e73-63d2-4958-9423-21a24794c9e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLAR:{description:"使用 ¥(人民币)货币格式将数字转换为文本",abstract:"使用 ¥(人民币)货币格式将数字转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dollar-%E5%87%BD%E6%95%B0-a6cd05d9-9740-4ad3-a469-8109d18ff611"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXACT:{description:"检查两个文本值是否相同",abstract:"检查两个文本值是否相同",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/exact-%E5%87%BD%E6%95%B0-d3087698-fc15-4a15-9631-12575cf29926"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FIND:{description:"在一个文本值中查找另一个文本值(区分大小写)",abstract:"在一个文本值中查找另一个文本值(区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/find-findb-%E5%87%BD%E6%95%B0-c7912941-af2a-4bdf-a553-d0d89b0a0628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FINDB:{description:"在一个文本值中查找另一个文本值(区分大小写)",abstract:"在一个文本值中查找另一个文本值(区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/find-findb-%E5%87%BD%E6%95%B0-c7912941-af2a-4bdf-a553-d0d89b0a0628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FIXED:{description:"将数字格式设置为具有固定小数位数的文本",abstract:"将数字格式设置为具有固定小数位数的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fixed-%E5%87%BD%E6%95%B0-ffd5723c-324c-45e9-8b96-e41be2a8274a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEFT:{description:"返回文本值中最左边的字符",abstract:"返回文本值中最左边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/left-leftb-%E5%87%BD%E6%95%B0-9203d2d2-7960-479b-84c6-1ea52b99640c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEFTB:{description:"返回文本值中最左边的字符",abstract:"返回文本值中最左边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/left-leftb-%E5%87%BD%E6%95%B0-9203d2d2-7960-479b-84c6-1ea52b99640c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEN:{description:"返回文本字符串中的字符个数",abstract:"返回文本字符串中的字符个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/len-lenb-%E5%87%BD%E6%95%B0-29236f94-cedc-429d-affd-b5e33d2c67cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LENB:{description:"返回文本字符串中的字符个数",abstract:"返回文本字符串中的字符个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/len-lenb-%E5%87%BD%E6%95%B0-29236f94-cedc-429d-affd-b5e33d2c67cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOWER:{description:"将文本转换为小写",abstract:"将文本转换为小写",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lower-%E5%87%BD%E6%95%B0-3f21df02-a80c-44b2-afaf-81358f9fdeb4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MID:{description:"从文本字符串中的指定位置起返回特定个数的字符",abstract:"从文本字符串中的指定位置起返回特定个数的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mid-midb-%E5%87%BD%E6%95%B0-d5f9e25c-d7d6-472e-b568-4ecb12433028"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIDB:{description:"从文本字符串中的指定位置起返回特定个数的字符",abstract:"从文本字符串中的指定位置起返回特定个数的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mid-midb-%E5%87%BD%E6%95%B0-d5f9e25c-d7d6-472e-b568-4ecb12433028"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NUMBERVALUE:{description:"以与区域设置无关的方式将文本转换为数字",abstract:"以与区域设置无关的方式将文本转换为数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/numbervalue-%E5%87%BD%E6%95%B0-1b05c8cf-2bfa-4437-af70-596c7ea7d879"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PHONETIC:{description:"提取文本字符串中的拼音(汉字注音)字符",abstract:"提取文本字符串中的拼音(汉字注音)字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/phonetic-%E5%87%BD%E6%95%B0-9a329dac-0c0f-42f8-9a55-639086988554"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PROPER:{description:"将文本值的每个字的首字母大写",abstract:"将文本值的每个字的首字母大写",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/proper-%E5%87%BD%E6%95%B0-52a5a283-e8b2-49be-8506-b2887b889f94"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPLACE:{description:"替换文本中的字符",abstract:"替换文本中的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/replace-replaceb-%E5%87%BD%E6%95%B0-8d799074-2425-4a8a-84bc-82472868878a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPLACEB:{description:"替换文本中的字符",abstract:"替换文本中的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/replace-replaceb-%E5%87%BD%E6%95%B0-8d799074-2425-4a8a-84bc-82472868878a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPT:{description:"按给定次数重复文本",abstract:"按给定次数重复文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rept-%E5%87%BD%E6%95%B0-04c4d778-e712-43b4-9c15-d656582bb061"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RIGHT:{description:"返回文本值中最右边的字符",abstract:"返回文本值中最右边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/right-rightb-%E5%87%BD%E6%95%B0-240267ee-9afa-4639-a02b-f19e1786cf2f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RIGHTB:{description:"返回文本值中最右边的字符",abstract:"返回文本值中最右边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/right-rightb-%E5%87%BD%E6%95%B0-240267ee-9afa-4639-a02b-f19e1786cf2f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEARCH:{description:"在一个文本值中查找另一个文本值(不区分大小写)",abstract:"在一个文本值中查找另一个文本值(不区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/search-searchb-%E5%87%BD%E6%95%B0-9ab04538-0e55-4719-a72e-b6f54513b495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEARCHB:{description:"在一个文本值中查找另一个文本值(不区分大小写)",abstract:"在一个文本值中查找另一个文本值(不区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/search-searchb-%E5%87%BD%E6%95%B0-9ab04538-0e55-4719-a72e-b6f54513b495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUBSTITUTE:{description:"在文本字符串中用新文本替换旧文本",abstract:"在文本字符串中用新文本替换旧文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/substitute-%E5%87%BD%E6%95%B0-6434944e-a904-4336-a9b0-1e58df3bc332"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T:{description:"将参数转换为文本",abstract:"将参数转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-%E5%87%BD%E6%95%B0-fb83aeec-45e7-4924-af95-53e073541228"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXT:{description:"设置数字格式并将其转换为文本",abstract:"设置数字格式并将其转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/text-%E5%87%BD%E6%95%B0-20d5ac4d-7b94-49fd-bb38-93d29371225c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTAFTER:{description:"返回给定字符或字符串之后出现的文本",abstract:"返回给定字符或字符串之后出现的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textafter-%E5%87%BD%E6%95%B0-c8db2546-5b51-416a-9690-c7e6722e90b4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTBEFORE:{description:"返回出现在给定字符或字符串之前的文本",abstract:"返回出现在给定字符或字符串之前的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textbefore-%E5%87%BD%E6%95%B0-d099c28a-dba8-448e-ac6c-f086d0fa1b29"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTJOIN:{description:"合并来自多个区域和/或字符串的文本",abstract:"合并来自多个区域和/或字符串的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textjoin-%E5%87%BD%E6%95%B0-357b449a-ec91-49d0-80c3-0e8fc845691c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTSPLIT:{description:"使用列分隔符和行分隔符拆分文本字符串",abstract:"使用列分隔符和行分隔符拆分文本字符串",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textsplit-%E5%87%BD%E6%95%B0-b1ca414e-4c21-4ca0-b1b7-bdecace8a6e7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRIM:{description:"删除文本中的空格",abstract:"删除文本中的空格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trim-%E5%87%BD%E6%95%B0-410388fa-c5df-49c6-b16c-9e5630b479f9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNICHAR:{description:"返回给定数值引用的 Unicode 字符",abstract:"返回给定数值引用的 Unicode 字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/unichar-%E5%87%BD%E6%95%B0-ffeb64f5-f131-44c6-b332-5cd72f0659b8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNICODE:{description:"返回对应于文本的第一个字符的数字(代码点)",abstract:"返回对应于文本的第一个字符的数字(代码点)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/unicode-%E5%87%BD%E6%95%B0-adb74aaa-a2a5-4dde-aff6-966e4e81f16f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UPPER:{description:"将文本转换为大写形式",abstract:"将文本转换为大写形式",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/upper-%E5%87%BD%E6%95%B0-c11f29b3-d1a3-4537-8df6-04d0049963d6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VALUE:{description:"将文本参数转换为数字",abstract:"将文本参数转换为数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/value-%E5%87%BD%E6%95%B0-257d0108-07dc-437d-ae1c-bc2d3953d8c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VALUETOTEXT:{description:"从任意指定值返回文本",abstract:"从任意指定值返回文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/valuetotext-%E5%87%BD%E6%95%B0-5fff61a2-301a-4ab2-9ffa-0a5242a08fea"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CALL:{description:"调用动态链接库或代码源中的过程",abstract:"调用动态链接库或代码源中的过程",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/call-%E5%87%BD%E6%95%B0-32d58445-e646-4ffd-8d5e-b45077a5e995"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EUROCONVERT:{description:"用于将数字转换为欧元形式,将数字由欧元形式转换为欧元成员国货币形式,或利用欧元作为中间货币将数字由某一欧元成员国货币转化为另一欧元成员国货币形式(三角转换关系)",abstract:"用于将数字转换为欧元形式,将数字由欧元形式转换为欧元成员国货币形式,或利用欧元作为中间货币将数字由某一欧元成员国货币转化为另一欧元成员国货币形式(三角转换关系)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/euroconvert-%E5%87%BD%E6%95%B0-79c8fd67-c665-450c-bb6c-15fc92f8345c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REGISTER_ID:{description:"返回已注册过的指定动态链接库 (DLL) 或代码源的注册号",abstract:"返回已注册过的指定动态链接库 (DLL) 或代码源的注册号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/register-id-%E5%87%BD%E6%95%B0-f8f0af0f-fd66-4704-a0f2-87b27b175b50"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},vi={},Si={ENCODEURL:{description:"返回 URL 编码的字符串",abstract:"返回 URL 编码的字符串",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/encodeurl-%E5%87%BD%E6%95%B0-07c7fb90-7c60-4bff-8687-fac50fe33d0e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FILTERXML:{description:"通过使用指定的 XPath,返回 XML 内容中的特定数据",abstract:"通过使用指定的 XPath,返回 XML 内容中的特定数据",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/filterxml-%E5%87%BD%E6%95%B0-4df72efc-11ec-4951-86f5-c1374812f5b7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEBSERVICE:{description:"返回 Web 服务中的数据。",abstract:"返回 Web 服务中的数据。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/webservice-%E5%87%BD%E6%95%B0-0546a35a-ecc6-4739-aed7-c0b7ce1562c4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ct={formula:{insert:{tooltip:"函数",sum:"求和",average:"平均值",count:"计数",max:"最大值",min:"最小值",more:"更多函数..."},functionList:{...bi,...li,...Ri,...gi,...Ei,...fi,...Ii,...hi,...pi,...di,...mi,...ui,...Si,...ci,...vi},prompt:{helpExample:"示例",helpAbstract:"简介",required:"必需。",optional:"可选。"},functionType:{financial:"财务",date:"日期与时间",math:"数学与三角函数",statistical:"统计",lookup:"查找与引用",database:"数据库",text:"文本",logical:"逻辑",information:"信息",engineering:"工程",cube:"多维数据集",compatibility:"兼容性",web:"Web",array:"数组",univer:"Univer"},moreFunctions:{confirm:"应用",prev:"上一步",next:"下一步",searchFunctionPlaceholder:"搜索函数",allFunctions:"全部函数",syntax:"语法"},operation:{pasteFormula:"仅粘贴公式"}}};var Pi=Object.defineProperty,Ci=Object.getOwnPropertyDescriptor,Bi=(i,e,t,r)=>{for(var n=r>1?void 0:r?Ci(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(n=(r?o(e,t,n):o(n))||n);return r&&n&&Pi(e,t,n),n},Te=(i,e)=>(t,r)=>e(t,r,i),Ae;exports.UniverSheetsFormulaPlugin=(Ae=class extends s.Plugin{constructor(e,t,r,n){super(We),this._config=e,this._injector=t,this._localeService=r,this._currentUniverService=n}initialize(){this._localeService.load({zhCN:ct}),[[ee,{useClass:xt}],[se,{useClass:At}],[Le,{useFactory:()=>{var t;return this._injector.createInstance(Oe,((t=this._config)==null?void 0:t.description)||[])}}],[xe,{useClass:lt}],[Re],[ge],[Ee],[be],[pe],[de],[Ie],[ve],[he],[le]].forEach(t=>this._injector.add(t))}onReady(){this.initialize()}},D(Ae,"type",s.PluginType.Sheet),Ae);exports.UniverSheetsFormulaPlugin=Bi([Te(1,A.Inject(A.Injector)),Te(2,A.Inject(s.LocaleService)),Te(3,s.IUniverInstanceService)],exports.UniverSheetsFormulaPlugin);exports.enUS=si;exports.zhCN=ct;
|
|
13
|
+
如果不需要对逻辑值、文本或错误值进行计数(换句话说,只希望对包含数字的单元格进行计数),请使用 COUNT 函数。`,abstract:"计算参数列表中值的个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/counta-%E5%87%BD%E6%95%B0-7dc98875-d5c1-46f1-9a82-53f3219e2509"}],functionParameter:{number1:{name:"数值1",detail:"必需。 表示要计数的值的第一个参数"},number2:{name:"数值2",detail:"可选。 表示要计数的值的其他参数,最多可包含 255 个参数。"}}},COUNTBLANK:{description:"计算区域内空白单元格的数量",abstract:"计算区域内空白单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/countblank-%E5%87%BD%E6%95%B0-6a92d772-675c-4bee-b346-24af6bd3ac22"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNTIF:{description:"计算区域内符合给定条件的单元格的数量",abstract:"计算区域内符合给定条件的单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/countif-%E5%87%BD%E6%95%B0-e0de10c6-f885-4e71-abb4-1f464816df34"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COUNTIFS:{description:"计算区域内符合多个条件的单元格的数量",abstract:"计算区域内符合多个条件的单元格的数量",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/countifs-%E5%87%BD%E6%95%B0-dda3dc6e-f74e-4aee-88bc-aa8c2a866842"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVARIANCE_P:{description:"返回协方差(成对偏差乘积的平均值)",abstract:"返回协方差(成对偏差乘积的平均值)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/covariance-p-%E5%87%BD%E6%95%B0-6f0e1e6d-956d-4e4b-9943-cfef0bf9edfc"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},COVARIANCE_S:{description:"返回样本协方差,即两个数据集中每对数据点的偏差乘积的平均值",abstract:"返回样本协方差,即两个数据集中每对数据点的偏差乘积的平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/covariance-s-%E5%87%BD%E6%95%B0-0a539b74-7371-42aa-a18f-1f5320314977"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DEVSQ:{description:"返回偏差的平方和",abstract:"返回偏差的平方和",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/devsq-%E5%87%BD%E6%95%B0-8b739616-8376-4df5-8bd0-cfe0a6caf444"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXPON_DIST:{description:"返回指数分布",abstract:"返回指数分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/expon-dist-%E5%87%BD%E6%95%B0-4c12ae24-e563-4155-bf3e-8b78b6ae140e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_DIST:{description:"返回 F 概率分布",abstract:"返回 F 概率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-dist-%E5%87%BD%E6%95%B0-a887efdc-7c8e-46cb-a74a-f884cd29b25d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_DIST_RT:{description:"返回 F 概率分布",abstract:"返回 F 概率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-dist-rt-%E5%87%BD%E6%95%B0-d74cbb00-6017-4ac9-b7d7-6049badc0520"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_INV:{description:"返回 F 概率分布的反函数",abstract:"返回 F 概率分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-inv-%E5%87%BD%E6%95%B0-0dda0cf9-4ea0-42fd-8c3c-417a1ff30dbe"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_INV_RT:{description:"返回 F 概率分布的反函数",abstract:"返回 F 概率分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-inv-rt-%E5%87%BD%E6%95%B0-d371aa8f-b0b1-40ef-9cc2-496f0693ac00"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},F_TEST:{description:"返回 F 检验的结果",abstract:"返回 F 检验的结果",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/f-test-%E5%87%BD%E6%95%B0-100a59e7-4108-46f8-8443-78ffacb6c0a7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FISHER:{description:"返回 Fisher 变换值",abstract:"返回 Fisher 变换值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fisher-%E5%87%BD%E6%95%B0-d656523c-5076-4f95-b87b-7741bf236c69"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FISHERINV:{description:"返回 Fisher 变换的反函数",abstract:"返回 Fisher 变换的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fisherinv-%E5%87%BD%E6%95%B0-62504b39-415a-4284-a285-19c8e82f86bb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST:{description:"返回线性趋势值",abstract:"返回线性趋势值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/forecast-%E5%92%8C-forecast-linear-%E5%87%BD%E6%95%B0-50ca49c9-7b40-4892-94e4-7ad38bbeda99"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS:{description:"通过使用指数平滑 (ETS) 算法的 AAA 版本,返回基于现有(历史)值的未来值",abstract:"通过使用指数平滑 (ETS) 算法的 AAA 版本,返回基于现有(历史)值的未来值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_CONFINT:{description:"返回指定目标日期预测值的置信区间",abstract:"返回指定目标日期预测值的置信区间",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.CONFINT"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_SEASONALITY:{description:"返回 Excel 针对指定时间系列检测到的重复模式的长度",abstract:"返回 Excel 针对指定时间系列检测到的重复模式的长度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.SEASONALITY"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_ETS_STAT:{description:"返回作为时间序列预测的结果的统计值。",abstract:"返回作为时间序列预测的结果的统计值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.STAT"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FORECAST_LINEAR:{description:"返回基于现有值的未来值",abstract:"返回基于现有值的未来值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/%E9%A2%84%E6%B5%8B%E5%87%BD%E6%95%B0-%E5%8F%82%E8%80%83-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.LINEAR"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FREQUENCY:{description:"以垂直数组的形式返回频率分布",abstract:"以垂直数组的形式返回频率分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/frequency-%E5%87%BD%E6%95%B0-44e3be2b-eca0-42cd-a3f7-fd9ea898fdb9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA:{description:"返回 γ 函数值",abstract:"返回 γ 函数值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gamma-%E5%87%BD%E6%95%B0-ce1702b1-cf55-471d-8307-f83be0fc5297"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA_DIST:{description:"返回 γ 分布",abstract:"返回 γ 分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gamma-dist-%E5%87%BD%E6%95%B0-9b6f1538-d11c-4d5f-8966-21f6a2201def"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMA_INV:{description:"返回 γ 累积分布函数的反函数",abstract:"返回 γ 累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gamma-inv-%E5%87%BD%E6%95%B0-74991443-c2b0-4be5-aaab-1aa4d71fbb18"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMALN:{description:"返回 γ 函数的自然对数,Γ(x)",abstract:"返回 γ 函数的自然对数,Γ(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gammaln-%E5%87%BD%E6%95%B0-b838c48b-c65f-484f-9e1d-141c55470eb9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAMMALN_PRECISE:{description:"返回 γ 函数的自然对数,Γ(x)",abstract:"返回 γ 函数的自然对数,Γ(x)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gammaln-precise-%E5%87%BD%E6%95%B0-5cdfe601-4e1e-4189-9d74-241ef1caa599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GAUSS:{description:"返回小于标准正态累积分布 0.5 的值",abstract:"返回小于标准正态累积分布 0.5 的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/gauss-%E5%87%BD%E6%95%B0-069f1b4e-7dee-4d6a-a71f-4b69044a6b33"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GEOMEAN:{description:"返回几何平均值",abstract:"返回几何平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/geomean-%E5%87%BD%E6%95%B0-db1ac48d-25a5-40a0-ab83-0b38980e40d5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},GROWTH:{description:"返回指数趋势值",abstract:"返回指数趋势值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/growth-%E5%87%BD%E6%95%B0-541a91dc-3d5e-437d-b156-21324e68b80d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HARMEAN:{description:"返回调和平均值",abstract:"返回调和平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/harmean-%E5%87%BD%E6%95%B0-5efd9184-fab5-42f9-b1d3-57883a1d3bc6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},HYPGEOM_DIST:{description:"返回超几何分布",abstract:"返回超几何分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/hypgeom-dist-%E5%87%BD%E6%95%B0-6dbd547f-1d12-4b1f-8ae5-b0d9e3d22fbf"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},INTERCEPT:{description:"返回线性回归线的截距",abstract:"返回线性回归线的截距",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/intercept-%E5%87%BD%E6%95%B0-2a9b74e2-9d47-4772-b663-3bca70bf63ef"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},KURT:{description:"返回数据集的峰值",abstract:"返回数据集的峰值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/kurt-%E5%87%BD%E6%95%B0-bc3a265c-5da4-4dcb-b7fd-c237789095ab"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LARGE:{description:"返回数据集中第 k 个最大值",abstract:"返回数据集中第 k 个最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/large-%E5%87%BD%E6%95%B0-3af0af19-1190-42bb-bb8b-01672ec00a64"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LINEST:{description:"返回线性趋势的参数",abstract:"返回线性趋势的参数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/linest-%E5%87%BD%E6%95%B0-84d7d0d9-6e50-4101-977a-fa7abf772b6d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGEST:{description:"返回指数趋势的参数",abstract:"返回指数趋势的参数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/logest-%E5%87%BD%E6%95%B0-f27462d8-3657-4030-866b-a272c1d18b4b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORM_DIST:{description:"返回对数累积分布函数",abstract:"返回对数累积分布函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lognorm-dist-%E5%87%BD%E6%95%B0-eb60d00b-48a9-4217-be2b-6074aee6b070"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOGNORM_INV:{description:"返回对数累积分布的反函数",abstract:"返回对数累积分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lognorm-inv-%E5%87%BD%E6%95%B0-fe79751a-f1f2-4af8-a0a1-e151b2d4f600"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAX:{description:"返回一组值中的最大值。",abstract:"返回参数列表中的最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/max-%E5%87%BD%E6%95%B0-e0012414-9ac8-4b34-9a47-73e662c08098"}],functionParameter:{number1:{name:"数值1",detail:"要计算最大值的第一个数字、单元格引用或单元格区域。"},number2:{name:"数值2",detail:"要计算最大值的其他数字、单元格引用或单元格区域,最多可包含 255 个。"}}},MAXA:{description:"返回参数列表中的最大值,包括数字、文本和逻辑值",abstract:"返回参数列表中的最大值,包括数字、文本和逻辑值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/maxa-%E5%87%BD%E6%95%B0-814bda1e-3840-4bff-9365-2f59ac2ee62d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MAXIFS:{description:"返回一组给定条件或标准指定的单元格之间的最大值",abstract:"返回一组给定条件或标准指定的单元格之间的最大值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/maxifs-%E5%87%BD%E6%95%B0-dfd611e6-da2c-488a-919b-9b6376b28883"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MEDIAN:{description:"返回给定数值集合的中值",abstract:"返回给定数值集合的中值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/median-%E5%87%BD%E6%95%B0-d0916313-4753-414c-8537-ce85bdd967d2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIN:{description:"返回一组值中的最小值。",abstract:"返回参数列表中的最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/min-%E5%87%BD%E6%95%B0-61635d12-920f-4ce2-a70f-96f202dcc152"}],functionParameter:{number1:{name:"数值1",detail:"要计算最小值的第一个数字、单元格引用或单元格区域。"},number2:{name:"数值2",detail:"要计算最小值的其他数字、单元格引用或单元格区域,最多可包含 255 个。"}}},MINA:{description:"返回参数列表中的最小值,包括数字、文本和逻辑值",abstract:"返回参数列表中的最小值,包括数字、文本和逻辑值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mina-%E5%87%BD%E6%95%B0-245a6f46-7ca5-4dc7-ab49-805341bc31d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MINIFS:{description:"返回一组给定条件或标准指定的单元格之间的最小值。",abstract:"返回一组给定条件或标准指定的单元格之间的最小值。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/minifs-%E5%87%BD%E6%95%B0-6ca1ddaa-079b-4e74-80cc-72eef32e6599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE_MULT:{description:"返回一组数据或数据区域中出现频率最高或重复出现的数值的垂直数组",abstract:"返回一组数据或数据区域中出现频率最高或重复出现的数值的垂直数组",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mode-mult-%E5%87%BD%E6%95%B0-50fd9464-b2ba-4191-b57a-39446689ae8c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MODE_SNGL:{description:"返回在数据集内出现次数最多的值",abstract:"返回在数据集内出现次数最多的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mode-sngl-%E5%87%BD%E6%95%B0-f1267c16-66c6-4386-959f-8fba5f8bb7f8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NEGBINOM_DIST:{description:"返回负二项式分布",abstract:"返回负二项式分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/negbinom-dist-%E5%87%BD%E6%95%B0-c8239f89-c2d0-45bd-b6af-172e570f8599"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_DIST:{description:"返回正态累积分布",abstract:"返回正态累积分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-dist-%E5%87%BD%E6%95%B0-edb1cc14-a21c-4e53-839d-8082074c9f8d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_INV:{description:"返回正态累积分布的反函数",abstract:"返回正态累积分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-inv-%E5%87%BD%E6%95%B0-54b30935-fee7-493c-bedb-2278a9db7e13"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_S_DIST:{description:"返回标准正态累积分布",abstract:"返回标准正态累积分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-s-dist-%E5%87%BD%E6%95%B0-1e787282-3832-4520-a9ae-bd2a8d99ba88"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NORM_S_INV:{description:"返回标准正态累积分布函数的反函数",abstract:"返回标准正态累积分布函数的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/norm-s-inv-%E5%87%BD%E6%95%B0-d6d556b4-ab7f-49cd-b526-5a20918452b1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PEARSON:{description:"返回 Pearson 乘积矩相关系数",abstract:"返回 Pearson 乘积矩相关系数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/pearson-%E5%87%BD%E6%95%B0-0c3e30fc-e5af-49c4-808a-3ef66e034c18"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE_EXC:{description:"返回某个区域中的数值的第 k 个百分点值,此处的 k 的范围为 0 到 1(不含 0 和 1)",abstract:"返回某个区域中的数值的第 k 个百分点值,此处的 k 的范围为 0 到 1(不含 0 和 1)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentile-exc-%E5%87%BD%E6%95%B0-bbaa7204-e9e1-4010-85bf-c31dc5dce4ba"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTILE_INC:{description:"返回区域中数值的第 k 个百分点的值",abstract:"返回区域中数值的第 k 个百分点的值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentile-inc-%E5%87%BD%E6%95%B0-680f9539-45eb-410b-9a5e-c1355e5fe2ed"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK_EXC:{description:"将某个数值在数据集中的排位作为数据集的百分点值返回,此处的百分点值的范围为 0 到 1(不含 0 和 1)",abstract:"将某个数值在数据集中的排位作为数据集的百分点值返回,此处的百分点值的范围为 0 到 1(不含 0 和 1)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentrank-exc-%E5%87%BD%E6%95%B0-d8afee96-b7e2-4a2f-8c01-8fcdedaa6314"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERCENTRANK_INC:{description:"返回数据集中值的百分比排位",abstract:"返回数据集中值的百分比排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/percentrank-inc-%E5%87%BD%E6%95%B0-149592c9-00c0-49ba-86c1-c1f45b80463a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERMUT:{description:"返回给定数目对象的排列数",abstract:"返回给定数目对象的排列数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/permut-%E5%87%BD%E6%95%B0-3bd1cb9a-2880-41ab-a197-f246a7a602d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PERMUTATIONA:{description:"返回可从总计对象中选择的给定数目对象(含重复)的排列数",abstract:"返回可从总计对象中选择的给定数目对象(含重复)的排列数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/permutationa-%E5%87%BD%E6%95%B0-6c7d7fdc-d657-44e6-aa19-2857b25cae4e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PHI:{description:"返回标准正态分布的密度函数值",abstract:"返回标准正态分布的密度函数值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/phi-%E5%87%BD%E6%95%B0-23e49bc6-a8e8-402d-98d3-9ded87f6295c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},POISSON_DIST:{description:"返回泊松分布",abstract:"返回泊松分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/poisson-dist-%E5%87%BD%E6%95%B0-8fe148ff-39a2-46cb-abf3-7772695d9636"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PROB:{description:"返回区域中的数值落在指定区间内的概率",abstract:"返回区域中的数值落在指定区间内的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/prob-%E5%87%BD%E6%95%B0-9ac30561-c81c-4259-8253-34f0a238fc49"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE_EXC:{description:"基于百分点值返回数据集的四分位,此处的百分点值的范围为 0 到 1(不含 0 和 1)",abstract:"基于百分点值返回数据集的四分位,此处的百分点值的范围为 0 到 1(不含 0 和 1)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/quartile-exc-%E5%87%BD%E6%95%B0-5a355b7a-840b-4a01-b0f1-f538c2864cad"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},QUARTILE_INC:{description:"返回一组数据的四分位点",abstract:"返回一组数据的四分位点",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/quartile-inc-%E5%87%BD%E6%95%B0-1bbacc80-5075-42f1-aed6-47d735c4819d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK_AVG:{description:"返回一列数字的数字排位",abstract:"返回一列数字的数字排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rank-avg-%E5%87%BD%E6%95%B0-bd406a6f-eb38-4d73-aa8e-6d1c3c72e83a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RANK_EQ:{description:"返回一列数字的数字排位",abstract:"返回一列数字的数字排位",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rank-eq-%E5%87%BD%E6%95%B0-284858ce-8ef6-450e-b662-26245be04a40"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RSQ:{description:"返回 Pearson 乘积矩相关系数的平方",abstract:"返回 Pearson 乘积矩相关系数的平方",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rsq-%E5%87%BD%E6%95%B0-d7161715-250d-4a01-b80d-a8364f2be08f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SKEW:{description:"返回分布的不对称度",abstract:"返回分布的不对称度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/skew-%E5%87%BD%E6%95%B0-bdf49d86-b1ef-4804-a046-28eaea69c9fa"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SKEW_P:{description:"返回一个分布的不对称度:用来体现某一分布相对其平均值的不对称程度",abstract:"返回一个分布的不对称度:用来体现某一分布相对其平均值的不对称程度",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/skew-p-%E5%87%BD%E6%95%B0-76530a5c-99b9-48a1-8392-26632d542fcb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SLOPE:{description:"返回线性回归线的斜率",abstract:"返回线性回归线的斜率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/slope-%E5%87%BD%E6%95%B0-11fb8f97-3117-4813-98aa-61d7e01276b9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SMALL:{description:"返回数据集中的第 k 个最小值",abstract:"返回数据集中的第 k 个最小值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/small-%E5%87%BD%E6%95%B0-17da8222-7c82-42b2-961b-14c45384df07"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STANDARDIZE:{description:"返回正态化数值",abstract:"返回正态化数值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/standardize-%E5%87%BD%E6%95%B0-81d66554-2d54-40ec-ba83-6437108ee775"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV_P:{description:"基于整个样本总体计算标准偏差",abstract:"基于整个样本总体计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdev-p-%E5%87%BD%E6%95%B0-6e917c05-31a0-496f-ade7-4f4e7462f285"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEV_S:{description:"基于样本估算标准偏差",abstract:"基于样本估算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdev-s-%E5%87%BD%E6%95%B0-7d69cf97-0c1f-4acf-be27-f3e83904cc23"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVA:{description:"基于样本(包括数字、文本和逻辑值)估算标准偏差",abstract:"基于样本(包括数字、文本和逻辑值)估算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdeva-%E5%87%BD%E6%95%B0-5ff38888-7ea5-48de-9a6d-11ed73b29e9d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STDEVPA:{description:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",abstract:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/stdevpa-%E5%87%BD%E6%95%B0-5578d4d6-455a-4308-9991-d405afe2c28c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},STEYX:{description:"返回通过线性回归法预测每个 x 的 y 值时所产生的标准误差",abstract:"返回通过线性回归法预测每个 x 的 y 值时所产生的标准误差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/steyx-%E5%87%BD%E6%95%B0-6ce74b2c-449d-4a6e-b9ac-f9cef5ba48ab"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST:{description:"返回学生 t-分布的百分点(概率)",abstract:"返回学生 t-分布的百分点(概率)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-dist-%E5%87%BD%E6%95%B0-4329459f-ae91-48c2-bba8-1ead1c6c21b2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST_2T:{description:"返回学生 t-分布的百分点(概率)",abstract:"返回学生 t-分布的百分点(概率)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-dist-2t-%E5%87%BD%E6%95%B0-198e9340-e360-4230-bd21-f52f22ff5c28"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_DIST_RT:{description:"返回学生 t-分布",abstract:"返回学生 t-分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-dist-rt-%E5%87%BD%E6%95%B0-20a30020-86f9-4b35-af1f-7ef6ae683eda"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_INV:{description:"返回作为概率和自由度函数的学生 t 分布的 t 值",abstract:"返回作为概率和自由度函数的学生 t 分布的 t 值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-inv-%E5%87%BD%E6%95%B0-2908272b-4e61-4942-9df9-a25fec9b0e2e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_INV_2T:{description:"返回学生 t-分布的反函数",abstract:"返回学生 t-分布的反函数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-inv-2t-%E5%87%BD%E6%95%B0-ce72ea19-ec6c-4be7-bed2-b9baf2264f17"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T_TEST:{description:"返回与学生 t-检验相关的概率",abstract:"返回与学生 t-检验相关的概率",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-test-%E5%87%BD%E6%95%B0-d4e08ec3-c545-485f-962e-276f7cbed055"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TREND:{description:"返回线性趋势值",abstract:"返回线性趋势值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trend-%E5%87%BD%E6%95%B0-e2f135f0-8827-4096-9873-9a7cf7b51ef1"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRIMMEAN:{description:"返回数据集的内部平均值",abstract:"返回数据集的内部平均值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trimmean-%E5%87%BD%E6%95%B0-d90c9878-a119-4746-88fa-63d988f511d3"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR_P:{description:"计算基于样本总体的方差",abstract:"计算基于样本总体的方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/var-p-%E5%87%BD%E6%95%B0-73d1285c-108c-4843-ba5d-a51f90656f3a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VAR_S:{description:"基于样本估算方差",abstract:"基于样本估算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/var-s-%E5%87%BD%E6%95%B0-913633de-136b-449d-813e-65a00b2b990b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARA:{description:"基于样本(包括数字、文本和逻辑值)估算方差",abstract:"基于样本(包括数字、文本和逻辑值)估算方差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/vara-%E5%87%BD%E6%95%B0-3de77469-fa3a-47b4-85fd-81758a1e1d07"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VARPA:{description:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",abstract:"基于样本总体(包括数字、文本和逻辑值)计算标准偏差",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/varpa-%E5%87%BD%E6%95%B0-59a62635-4e89-4fad-88ac-ce4dc0513b96"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEIBULL_DIST:{description:"返回 Weibull 分布",abstract:"返回 Weibull 分布",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/weibull-dist-%E5%87%BD%E6%95%B0-4e783c39-9325-49be-bbc9-a83ef82b45db"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},Z_TEST:{description:"返回 z 检验的单尾概率值",abstract:"返回 z 检验的单尾概率值",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/z-test-%E5%87%BD%E6%95%B0-d633d5a3-2031-4614-a016-92180ad82bee"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},Ii={ASC:{description:"将字符串中的全角(双字节)英文字母或片假名更改为半角(单字节)字符",abstract:"将字符串中的全角(双字节)英文字母或片假名更改为半角(单字节)字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/asc-%E5%87%BD%E6%95%B0-0b6abf1c-c663-4004-a964-ebc00b723266"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},ARRAYTOTEXT:{description:"ARRAYTOTEXT 函数返回任意指定区域内的文本值的数组。",abstract:"ARRAYTOTEXT 函数返回任意指定区域内的文本值的数组。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/arraytotext-%E5%87%BD%E6%95%B0-9cdcad46-2fa5-4c6b-ac92-14e7bc862b8b"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},BAHTTEXT:{description:"使用 ß(泰铢)货币格式将数字转换为文本",abstract:"使用 ß(泰铢)货币格式将数字转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/bahttext-%E5%87%BD%E6%95%B0-5ba4d0b4-abd3-4325-8d22-7a92d59aab9c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CHAR:{description:"返回由代码数字指定的字符",abstract:"返回由代码数字指定的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/char-%E5%87%BD%E6%95%B0-bbd249c8-b36e-4a91-8017-1c133f9b837a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CLEAN:{description:"删除文本中所有非打印字符",abstract:"删除文本中所有非打印字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/clean-%E5%87%BD%E6%95%B0-26f3d7c5-475f-4a9c-90e5-4b8ba987ba41"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CODE:{description:"返回文本字符串中第一个字符的数字代码",abstract:"返回文本字符串中第一个字符的数字代码",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/code-%E5%87%BD%E6%95%B0-c32b692b-2ed0-4a04-bdd9-75640144b928"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCAT:{description:"将多个区域和/或字符串的文本组合起来,但不提供分隔符或 IgnoreEmpty 参数。",abstract:"将多个区域和/或字符串的文本组合起来,但不提供分隔符或 IgnoreEmpty 参数。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/concat-%E5%87%BD%E6%95%B0-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CONCATENATE:{description:"将几个文本项合并为一个文本项",abstract:"将几个文本项合并为一个文本项",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/concatenate-%E5%87%BD%E6%95%B0-8f8ae884-2ca8-4f7a-b093-75d702bea31d"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DBCS:{description:"将字符串中的半角(单字节)英文字母或片假名更改为全角(双字节)字符",abstract:"将字符串中的半角(单字节)英文字母或片假名更改为全角(双字节)字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dbcs-%E5%87%BD%E6%95%B0-a4025e73-63d2-4958-9423-21a24794c9e5"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},DOLLAR:{description:"使用 ¥(人民币)货币格式将数字转换为文本",abstract:"使用 ¥(人民币)货币格式将数字转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/dollar-%E5%87%BD%E6%95%B0-a6cd05d9-9740-4ad3-a469-8109d18ff611"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EXACT:{description:"检查两个文本值是否相同",abstract:"检查两个文本值是否相同",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/exact-%E5%87%BD%E6%95%B0-d3087698-fc15-4a15-9631-12575cf29926"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FIND:{description:"在一个文本值中查找另一个文本值(区分大小写)",abstract:"在一个文本值中查找另一个文本值(区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/find-findb-%E5%87%BD%E6%95%B0-c7912941-af2a-4bdf-a553-d0d89b0a0628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FINDB:{description:"在一个文本值中查找另一个文本值(区分大小写)",abstract:"在一个文本值中查找另一个文本值(区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/find-findb-%E5%87%BD%E6%95%B0-c7912941-af2a-4bdf-a553-d0d89b0a0628"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FIXED:{description:"将数字格式设置为具有固定小数位数的文本",abstract:"将数字格式设置为具有固定小数位数的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/fixed-%E5%87%BD%E6%95%B0-ffd5723c-324c-45e9-8b96-e41be2a8274a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEFT:{description:"返回文本值中最左边的字符",abstract:"返回文本值中最左边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/left-leftb-%E5%87%BD%E6%95%B0-9203d2d2-7960-479b-84c6-1ea52b99640c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEFTB:{description:"返回文本值中最左边的字符",abstract:"返回文本值中最左边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/left-leftb-%E5%87%BD%E6%95%B0-9203d2d2-7960-479b-84c6-1ea52b99640c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LEN:{description:"返回文本字符串中的字符个数",abstract:"返回文本字符串中的字符个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/len-lenb-%E5%87%BD%E6%95%B0-29236f94-cedc-429d-affd-b5e33d2c67cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LENB:{description:"返回文本字符串中的字符个数",abstract:"返回文本字符串中的字符个数",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/len-lenb-%E5%87%BD%E6%95%B0-29236f94-cedc-429d-affd-b5e33d2c67cb"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},LOWER:{description:"将文本转换为小写",abstract:"将文本转换为小写",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/lower-%E5%87%BD%E6%95%B0-3f21df02-a80c-44b2-afaf-81358f9fdeb4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MID:{description:"从文本字符串中的指定位置起返回特定个数的字符",abstract:"从文本字符串中的指定位置起返回特定个数的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mid-midb-%E5%87%BD%E6%95%B0-d5f9e25c-d7d6-472e-b568-4ecb12433028"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},MIDB:{description:"从文本字符串中的指定位置起返回特定个数的字符",abstract:"从文本字符串中的指定位置起返回特定个数的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/mid-midb-%E5%87%BD%E6%95%B0-d5f9e25c-d7d6-472e-b568-4ecb12433028"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},NUMBERVALUE:{description:"以与区域设置无关的方式将文本转换为数字",abstract:"以与区域设置无关的方式将文本转换为数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/numbervalue-%E5%87%BD%E6%95%B0-1b05c8cf-2bfa-4437-af70-596c7ea7d879"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PHONETIC:{description:"提取文本字符串中的拼音(汉字注音)字符",abstract:"提取文本字符串中的拼音(汉字注音)字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/phonetic-%E5%87%BD%E6%95%B0-9a329dac-0c0f-42f8-9a55-639086988554"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},PROPER:{description:"将文本值的每个字的首字母大写",abstract:"将文本值的每个字的首字母大写",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/proper-%E5%87%BD%E6%95%B0-52a5a283-e8b2-49be-8506-b2887b889f94"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPLACE:{description:"替换文本中的字符",abstract:"替换文本中的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/replace-replaceb-%E5%87%BD%E6%95%B0-8d799074-2425-4a8a-84bc-82472868878a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPLACEB:{description:"替换文本中的字符",abstract:"替换文本中的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/replace-replaceb-%E5%87%BD%E6%95%B0-8d799074-2425-4a8a-84bc-82472868878a"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REPT:{description:"按给定次数重复文本",abstract:"按给定次数重复文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/rept-%E5%87%BD%E6%95%B0-04c4d778-e712-43b4-9c15-d656582bb061"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RIGHT:{description:"返回文本值中最右边的字符",abstract:"返回文本值中最右边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/right-rightb-%E5%87%BD%E6%95%B0-240267ee-9afa-4639-a02b-f19e1786cf2f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},RIGHTB:{description:"返回文本值中最右边的字符",abstract:"返回文本值中最右边的字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/right-rightb-%E5%87%BD%E6%95%B0-240267ee-9afa-4639-a02b-f19e1786cf2f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEARCH:{description:"在一个文本值中查找另一个文本值(不区分大小写)",abstract:"在一个文本值中查找另一个文本值(不区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/search-searchb-%E5%87%BD%E6%95%B0-9ab04538-0e55-4719-a72e-b6f54513b495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SEARCHB:{description:"在一个文本值中查找另一个文本值(不区分大小写)",abstract:"在一个文本值中查找另一个文本值(不区分大小写)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/search-searchb-%E5%87%BD%E6%95%B0-9ab04538-0e55-4719-a72e-b6f54513b495"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},SUBSTITUTE:{description:"在文本字符串中用新文本替换旧文本",abstract:"在文本字符串中用新文本替换旧文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/substitute-%E5%87%BD%E6%95%B0-6434944e-a904-4336-a9b0-1e58df3bc332"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},T:{description:"将参数转换为文本",abstract:"将参数转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/t-%E5%87%BD%E6%95%B0-fb83aeec-45e7-4924-af95-53e073541228"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXT:{description:"设置数字格式并将其转换为文本",abstract:"设置数字格式并将其转换为文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/text-%E5%87%BD%E6%95%B0-20d5ac4d-7b94-49fd-bb38-93d29371225c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTAFTER:{description:"返回给定字符或字符串之后出现的文本",abstract:"返回给定字符或字符串之后出现的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textafter-%E5%87%BD%E6%95%B0-c8db2546-5b51-416a-9690-c7e6722e90b4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTBEFORE:{description:"返回出现在给定字符或字符串之前的文本",abstract:"返回出现在给定字符或字符串之前的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textbefore-%E5%87%BD%E6%95%B0-d099c28a-dba8-448e-ac6c-f086d0fa1b29"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTJOIN:{description:"合并来自多个区域和/或字符串的文本",abstract:"合并来自多个区域和/或字符串的文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textjoin-%E5%87%BD%E6%95%B0-357b449a-ec91-49d0-80c3-0e8fc845691c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TEXTSPLIT:{description:"使用列分隔符和行分隔符拆分文本字符串",abstract:"使用列分隔符和行分隔符拆分文本字符串",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/textsplit-%E5%87%BD%E6%95%B0-b1ca414e-4c21-4ca0-b1b7-bdecace8a6e7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},TRIM:{description:"删除文本中的空格",abstract:"删除文本中的空格",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/trim-%E5%87%BD%E6%95%B0-410388fa-c5df-49c6-b16c-9e5630b479f9"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNICHAR:{description:"返回给定数值引用的 Unicode 字符",abstract:"返回给定数值引用的 Unicode 字符",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/unichar-%E5%87%BD%E6%95%B0-ffeb64f5-f131-44c6-b332-5cd72f0659b8"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UNICODE:{description:"返回对应于文本的第一个字符的数字(代码点)",abstract:"返回对应于文本的第一个字符的数字(代码点)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/unicode-%E5%87%BD%E6%95%B0-adb74aaa-a2a5-4dde-aff6-966e4e81f16f"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},UPPER:{description:"将文本转换为大写形式",abstract:"将文本转换为大写形式",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/upper-%E5%87%BD%E6%95%B0-c11f29b3-d1a3-4537-8df6-04d0049963d6"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VALUE:{description:"将文本参数转换为数字",abstract:"将文本参数转换为数字",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/value-%E5%87%BD%E6%95%B0-257d0108-07dc-437d-ae1c-bc2d3953d8c2"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},VALUETOTEXT:{description:"从任意指定值返回文本",abstract:"从任意指定值返回文本",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/valuetotext-%E5%87%BD%E6%95%B0-5fff61a2-301a-4ab2-9ffa-0a5242a08fea"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},CALL:{description:"调用动态链接库或代码源中的过程",abstract:"调用动态链接库或代码源中的过程",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/call-%E5%87%BD%E6%95%B0-32d58445-e646-4ffd-8d5e-b45077a5e995"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},EUROCONVERT:{description:"用于将数字转换为欧元形式,将数字由欧元形式转换为欧元成员国货币形式,或利用欧元作为中间货币将数字由某一欧元成员国货币转化为另一欧元成员国货币形式(三角转换关系)",abstract:"用于将数字转换为欧元形式,将数字由欧元形式转换为欧元成员国货币形式,或利用欧元作为中间货币将数字由某一欧元成员国货币转化为另一欧元成员国货币形式(三角转换关系)",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/euroconvert-%E5%87%BD%E6%95%B0-79c8fd67-c665-450c-bb6c-15fc92f8345c"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},REGISTER_ID:{description:"返回已注册过的指定动态链接库 (DLL) 或代码源的注册号",abstract:"返回已注册过的指定动态链接库 (DLL) 或代码源的注册号",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/register-id-%E5%87%BD%E6%95%B0-f8f0af0f-fd66-4704-a0f2-87b27b175b50"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},vi={},Si={ENCODEURL:{description:"返回 URL 编码的字符串",abstract:"返回 URL 编码的字符串",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/encodeurl-%E5%87%BD%E6%95%B0-07c7fb90-7c60-4bff-8687-fac50fe33d0e"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},FILTERXML:{description:"通过使用指定的 XPath,返回 XML 内容中的特定数据",abstract:"通过使用指定的 XPath,返回 XML 内容中的特定数据",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/filterxml-%E5%87%BD%E6%95%B0-4df72efc-11ec-4951-86f5-c1374812f5b7"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}},WEBSERVICE:{description:"返回 Web 服务中的数据。",abstract:"返回 Web 服务中的数据。",links:[{title:"教学",url:"https://support.microsoft.com/zh-cn/office/webservice-%E5%87%BD%E6%95%B0-0546a35a-ecc6-4739-aed7-c0b7ce1562c4"}],functionParameter:{number1:{name:"number1",detail:"first"},number2:{name:"number2",detail:"second"}}}},ct={formula:{insert:{tooltip:"函数",sum:"求和",average:"平均值",count:"计数",max:"最大值",min:"最小值",more:"更多函数..."},functionList:{...bi,...li,...Ri,...gi,...Ei,...fi,...Ii,...hi,...pi,...di,...mi,...ui,...Si,...ci,...vi},prompt:{helpExample:"示例",helpAbstract:"简介",required:"必需。",optional:"可选。"},functionType:{financial:"财务",date:"日期与时间",math:"数学与三角函数",statistical:"统计",lookup:"查找与引用",database:"数据库",text:"文本",logical:"逻辑",information:"信息",engineering:"工程",cube:"多维数据集",compatibility:"兼容性",web:"Web",array:"数组",univer:"Univer"},moreFunctions:{confirm:"应用",prev:"上一步",next:"下一步",searchFunctionPlaceholder:"搜索函数",allFunctions:"全部函数",syntax:"语法"},operation:{pasteFormula:"仅粘贴公式"}}};var Pi=Object.defineProperty,Ci=Object.getOwnPropertyDescriptor,Bi=(i,e,t,n)=>{for(var r=n>1?void 0:n?Ci(e,t):e,a=i.length-1,o;a>=0;a--)(o=i[a])&&(r=(n?o(e,t,r):o(r))||r);return n&&r&&Pi(e,t,r),r},Te=(i,e)=>(t,n)=>e(t,n,i),Ne;exports.UniverSheetsFormulaPlugin=(Ne=class extends s.Plugin{constructor(e,t,n,r){super(We),this._config=e,this._injector=t,this._localeService=n,this._currentUniverService=r}initialize(){this._localeService.load({zhCN:ct}),[[ee,{useClass:xt}],[se,{useClass:Nt}],[Le,{useFactory:()=>{var t;return this._injector.createInstance(Oe,((t=this._config)==null?void 0:t.description)||[])}}],[xe,{useClass:lt}],[Re],[ge],[Ee],[be],[pe],[de],[Ie],[ve],[he],[le]].forEach(t=>this._injector.add(t))}onReady(){this.initialize()}},D(Ne,"type",s.PluginType.Sheet),Ne);exports.UniverSheetsFormulaPlugin=Bi([Te(1,A.Inject(A.Injector)),Te(2,A.Inject(s.LocaleService)),Te(3,s.IUniverInstanceService)],exports.UniverSheetsFormulaPlugin);exports.enUS=si;exports.zhCN=ct;
|