@univerjs/sheets-formula 0.2.5 → 0.2.7

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.
Files changed (44) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +4695 -4511
  3. package/lib/locale/en-US.json +246 -172
  4. package/lib/locale/ru-RU.json +172 -146
  5. package/lib/locale/vi-VN.json +1986 -1481
  6. package/lib/locale/zh-CN.json +287 -213
  7. package/lib/locale/zh-TW.json +371 -329
  8. package/lib/types/controllers/prompt.controller.d.ts +3 -5
  9. package/lib/types/formula-ui-plugin.d.ts +1 -1
  10. package/lib/types/index.d.ts +1 -0
  11. package/lib/types/locale/en-US.d.ts +143 -69
  12. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  13. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  14. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  15. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  16. package/lib/types/locale/function-list/logical/en-US.d.ts +31 -33
  17. package/lib/types/locale/function-list/logical/ja-JP.d.ts +31 -33
  18. package/lib/types/locale/function-list/logical/vi-VN.d.ts +31 -33
  19. package/lib/types/locale/function-list/logical/zh-CN.d.ts +31 -33
  20. package/lib/types/locale/function-list/logical/zh-TW.d.ts +31 -33
  21. package/lib/types/locale/function-list/lookup/en-US.d.ts +54 -26
  22. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +54 -26
  23. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  24. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +54 -26
  25. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +54 -26
  26. package/lib/types/locale/function-list/math/en-US.d.ts +2 -2
  27. package/lib/types/locale/function-list/math/ja-JP.d.ts +2 -2
  28. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  29. package/lib/types/locale/function-list/math/zh-CN.d.ts +2 -2
  30. package/lib/types/locale/function-list/math/zh-TW.d.ts +23 -79
  31. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  32. package/lib/types/locale/function-list/text/en-US.d.ts +56 -8
  33. package/lib/types/locale/function-list/text/ja-JP.d.ts +56 -8
  34. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  35. package/lib/types/locale/function-list/text/zh-CN.d.ts +56 -8
  36. package/lib/types/locale/function-list/text/zh-TW.d.ts +56 -8
  37. package/lib/types/locale/ru-RU.d.ts +87 -61
  38. package/lib/types/locale/vi-VN.d.ts +953 -482
  39. package/lib/types/locale/zh-CN.d.ts +143 -69
  40. package/lib/types/locale/zh-TW.d.ts +196 -154
  41. package/lib/types/services/prompt.service.d.ts +5 -1
  42. package/lib/types/services/render-services/ref-selections.render-service.d.ts +4 -2
  43. package/lib/umd/index.js +4 -4
  44. package/package.json +25 -25
@@ -2182,7 +2182,7 @@
2182
2182
  },
2183
2183
  "FLOOR_PRECISE": {
2184
2184
  "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.",
2185
- "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.",
2185
+ "abstract": "Rounds a number down to the nearest integer or to the nearest multiple of significance.",
2186
2186
  "links": [
2187
2187
  {
2188
2188
  "title": "Instruction",
@@ -2608,7 +2608,7 @@
2608
2608
  },
2609
2609
  "RANDARRAY": {
2610
2610
  "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.",
2611
- "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.",
2611
+ "abstract": "Returns an array of random numbers between 0 and 1.",
2612
2612
  "links": [
2613
2613
  {
2614
2614
  "title": "Instruction",
@@ -2963,8 +2963,8 @@
2963
2963
  }
2964
2964
  },
2965
2965
  "SUMIFS": {
2966
- "description": "Adds the cells in a range that meet multiple criteria",
2967
- "abstract": "Adds the cells in a range that meet multiple criteria",
2966
+ "description": "Adds all of its arguments that meet multiple criteria.",
2967
+ "abstract": "Adds all of its arguments that meet multiple criteria.",
2968
2968
  "links": [
2969
2969
  {
2970
2970
  "title": "Instruction",
@@ -3136,13 +3136,13 @@
3136
3136
  }
3137
3137
  ],
3138
3138
  "functionParameter": {
3139
- "number1": {
3140
- "name": "number1",
3141
- "detail": "first"
3139
+ "number": {
3140
+ "name": "number",
3141
+ "detail": "The number you want to truncate."
3142
3142
  },
3143
- "number2": {
3144
- "name": "number2",
3145
- "detail": "second"
3143
+ "numDigits": {
3144
+ "name": "num_digits",
3145
+ "detail": "A number specifying the precision of the truncation. The default value for num_digits is 0 (zero)."
3146
3146
  }
3147
3147
  }
3148
3148
  },
@@ -3533,11 +3533,11 @@
3533
3533
  ],
3534
3534
  "functionParameter": {
3535
3535
  "value1": {
3536
- "name": "Value 1",
3536
+ "name": "value 1",
3537
3537
  "detail": "The first item, cell reference, or range within which you want to count numbers."
3538
3538
  },
3539
3539
  "value2": {
3540
- "name": "Value 2",
3540
+ "name": "value 2",
3541
3541
  "detail": "Up to 255 additional items, cell references, or ranges within which you want to count numbers."
3542
3542
  }
3543
3543
  }
@@ -5452,13 +5452,9 @@
5452
5452
  }
5453
5453
  ],
5454
5454
  "functionParameter": {
5455
- "number1": {
5456
- "name": "number1",
5457
- "detail": "first"
5458
- },
5459
- "number2": {
5460
- "name": "number2",
5461
- "detail": "second"
5455
+ "reference": {
5456
+ "name": "reference",
5457
+ "detail": "A reference to a cell or range of cells and can refer to multiple areas."
5462
5458
  }
5463
5459
  }
5464
5460
  },
@@ -5496,13 +5492,17 @@
5496
5492
  }
5497
5493
  ],
5498
5494
  "functionParameter": {
5499
- "number1": {
5500
- "name": "number1",
5501
- "detail": "first"
5495
+ "array": {
5496
+ "name": "array",
5497
+ "detail": "The array containing the columns to be returned in the new array."
5502
5498
  },
5503
- "number2": {
5504
- "name": "number2",
5505
- "detail": "second"
5499
+ "colNum1": {
5500
+ "name": "col_num1",
5501
+ "detail": "The first column to be returned."
5502
+ },
5503
+ "colNum2": {
5504
+ "name": "col_num2",
5505
+ "detail": "Additional columns to be returned."
5506
5506
  }
5507
5507
  }
5508
5508
  },
@@ -5516,13 +5516,17 @@
5516
5516
  }
5517
5517
  ],
5518
5518
  "functionParameter": {
5519
- "number1": {
5520
- "name": "number1",
5521
- "detail": "first"
5519
+ "array": {
5520
+ "name": "array",
5521
+ "detail": "The array containing the rows to be returned in the new array."
5522
5522
  },
5523
- "number2": {
5524
- "name": "number2",
5525
- "detail": "second"
5523
+ "rowNum1": {
5524
+ "name": "row_num1",
5525
+ "detail": "The first row number to be returned."
5526
+ },
5527
+ "rowNum2": {
5528
+ "name": "row_num2",
5529
+ "detail": "Additional row numbers to be returned."
5526
5530
  }
5527
5531
  }
5528
5532
  },
@@ -5608,13 +5612,17 @@
5608
5612
  }
5609
5613
  ],
5610
5614
  "functionParameter": {
5611
- "number1": {
5612
- "name": "number1",
5613
- "detail": "first"
5615
+ "array": {
5616
+ "name": "array",
5617
+ "detail": "The range or array to filter."
5614
5618
  },
5615
- "number2": {
5616
- "name": "number2",
5617
- "detail": "second"
5619
+ "include": {
5620
+ "name": "include",
5621
+ "detail": "An array of Boolean values ​​where TRUE indicates that a row or column is to be retained."
5622
+ },
5623
+ "ifEmpty": {
5624
+ "name": "if_empty",
5625
+ "detail": "If no items are reserved, return."
5618
5626
  }
5619
5627
  }
5620
5628
  },
@@ -5696,13 +5704,13 @@
5696
5704
  }
5697
5705
  ],
5698
5706
  "functionParameter": {
5699
- "number1": {
5700
- "name": "number1",
5701
- "detail": "first"
5707
+ "array1": {
5708
+ "name": "array",
5709
+ "detail": "The arrays to append."
5702
5710
  },
5703
- "number2": {
5704
- "name": "number2",
5705
- "detail": "second"
5711
+ "array2": {
5712
+ "name": "array",
5713
+ "detail": "The arrays to append."
5706
5714
  }
5707
5715
  }
5708
5716
  },
@@ -5758,7 +5766,7 @@
5758
5766
  "functionParameter": {
5759
5767
  "reference": {
5760
5768
  "name": "reference",
5761
- "detail": "A reference to one or more cell ranges.\nIf you are entering a non-adjacent range for the reference, enclose reference in parentheses.\nIf each area in reference contains only one row or column, the row_num or column_num argument, respectively, is optional. For example, for a single row reference, use INDEX(reference,,column_num).\nIf array has more than one row and more than one column, and only row_num or column_num is used, INDEX returns an array of the entire row or column in array."
5769
+ "detail": "A reference to one or more cell ranges."
5762
5770
  },
5763
5771
  "rowNum": {
5764
5772
  "name": "row_num",
@@ -5770,7 +5778,7 @@
5770
5778
  },
5771
5779
  "areaNum": {
5772
5780
  "name": "area_num",
5773
- "detail": "Selects a range in reference from which to return the intersection of row_num and column_num. The first area selected or entered is numbered 1, the second is 2, and so on. If area_num is omitted, INDEX uses area 1. The areas listed here must all be located on one sheet. If you specify areas that are not on the same sheet as each other, it will cause a #VALUE! error. If you need to use ranges that are located on different sheets from each other, it is recommended that you use the array form of the INDEX function, and use another function to calculate the range that makes up the array. For example, you could use the CHOOSE function to calculate which range will be used."
5781
+ "detail": "Selects a range in reference from which to return the intersection of row_num and column_num."
5774
5782
  }
5775
5783
  }
5776
5784
  },
@@ -5786,11 +5794,11 @@
5786
5794
  "functionParameter": {
5787
5795
  "refText": {
5788
5796
  "name": "ref_text",
5789
- "detail": "A reference to a cell that contains an A1-style reference, an R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string. If ref_text is not a valid cell reference, INDIRECT returns the #REF! error value.\nIf ref_text refers to a cell range outside the row limit of 1,048,576 or the column limit of 16,384 (XFD), INDIRECT returns a #REF! error."
5797
+ "detail": "A reference to a cell that contains an A1-style reference, an R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string. "
5790
5798
  },
5791
5799
  "a1": {
5792
5800
  "name": "a1",
5793
- "detail": "A logical value that specifies what type of reference is contained in the cell ref_text.\nIf a1 is TRUE or omitted, ref_text is interpreted as an A1-style reference.\nIf a1 is FALSE, ref_text is interpreted as an R1C1-style reference."
5801
+ "detail": "A logical value that specifies what type of reference is contained in the cell ref_text."
5794
5802
  }
5795
5803
  }
5796
5804
  },
@@ -5819,7 +5827,7 @@
5819
5827
  }
5820
5828
  },
5821
5829
  "MATCH": {
5822
- "description": "The MATCH function searches for a specified item in a range of cells, and then returns the relative position of that item in the range. For example, if the range A1:A3 contains the values 5, 25, and 38, then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range.",
5830
+ "description": "The MATCH function searches for a specified item in a range of cells, and then returns the relative position of that item in the range.",
5823
5831
  "abstract": "Looks up values in a reference or array",
5824
5832
  "links": [
5825
5833
  {
@@ -5830,7 +5838,7 @@
5830
5838
  "functionParameter": {
5831
5839
  "lookupValue": {
5832
5840
  "name": "lookup_value",
5833
- "detail": "The value that you want to match in lookup_array. For example, when you look up someone's number in a telephone book, you are using the person's name as the lookup value, but the telephone number is the value you want. The lookup_value argument can be a value (number, text, or logical value) or a cell reference to a number, text, or logical value."
5841
+ "detail": "The value that you want to match in lookup_array."
5834
5842
  },
5835
5843
  "lookupArray": {
5836
5844
  "name": "lookup_array",
@@ -5838,7 +5846,7 @@
5838
5846
  },
5839
5847
  "matchType": {
5840
5848
  "name": "match_type",
5841
- "detail": "The number -1, 0, or 1. The match_type argument specifies how Excel matches lookup_value with values in lookup_array. The default value for this argument is 1."
5849
+ "detail": "The number -1, 0, or 1."
5842
5850
  }
5843
5851
  }
5844
5852
  },
@@ -5854,15 +5862,15 @@
5854
5862
  "functionParameter": {
5855
5863
  "reference": {
5856
5864
  "name": "reference",
5857
- "detail": "The reference from which you want to base the offset. Reference must refer to a cell or range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value."
5865
+ "detail": "The reference from which you want to base the offset."
5858
5866
  },
5859
5867
  "rows": {
5860
5868
  "name": "rows",
5861
- "detail": "The number of rows, up or down, that you want the upper-left cell to refer to. Using 5 as the rows argument specifies that the upper-left cell in the reference is five rows below reference. Rows can be positive (which means below the starting reference) or negative (which means above the starting reference)."
5869
+ "detail": "The number of rows, up or down, that you want the upper-left cell to refer to."
5862
5870
  },
5863
5871
  "cols": {
5864
5872
  "name": "columns",
5865
- "detail": "The number of columns, to the left or right, that you want the upper-left cell of the result to refer to. Using 5 as the cols argument specifies that the upper-left cell in the reference is five columns to the right of reference. Cols can be positive (which means to the right of the starting reference) or negative (which means to the left of the starting reference)."
5873
+ "detail": "The number of columns, to the left or right, that you want the upper-left cell of the result to refer to."
5866
5874
  },
5867
5875
  "height": {
5868
5876
  "name": "height",
@@ -5936,13 +5944,21 @@
5936
5944
  }
5937
5945
  ],
5938
5946
  "functionParameter": {
5939
- "number1": {
5940
- "name": "number1",
5941
- "detail": "first"
5947
+ "array": {
5948
+ "name": "array",
5949
+ "detail": "The range or array to be sorted."
5942
5950
  },
5943
- "number2": {
5944
- "name": "number2",
5945
- "detail": "second"
5951
+ "sortIndex": {
5952
+ "name": "sort_index",
5953
+ "detail": "A number indicating the sort order (by row or by column)."
5954
+ },
5955
+ "sortOrder": {
5956
+ "name": "sort_order",
5957
+ "detail": "A number representing the desired sort order; 1 for ascending (default), -1 for descending."
5958
+ },
5959
+ "byCol": {
5960
+ "name": "by_col",
5961
+ "detail": "Logical value indicating the desired sort direction; FALSE sorts by rows (default), TRUE sorts by columns."
5946
5962
  }
5947
5963
  }
5948
5964
  },
@@ -5956,13 +5972,25 @@
5956
5972
  }
5957
5973
  ],
5958
5974
  "functionParameter": {
5959
- "number1": {
5960
- "name": "number1",
5961
- "detail": "first"
5975
+ "array": {
5976
+ "name": "array",
5977
+ "detail": "The range or array to be sorted."
5962
5978
  },
5963
- "number2": {
5964
- "name": "number2",
5965
- "detail": "second"
5979
+ "byArray1": {
5980
+ "name": "by_array1",
5981
+ "detail": "The range or array to sort based on."
5982
+ },
5983
+ "sortOrder1": {
5984
+ "name": "sort_order1",
5985
+ "detail": "A number representing the desired sort order; 1 for ascending (default), -1 for descending."
5986
+ },
5987
+ "byArray2": {
5988
+ "name": "by_array2",
5989
+ "detail": "The range or array to sort based on."
5990
+ },
5991
+ "sortOrder2": {
5992
+ "name": "sort_order2",
5993
+ "detail": "A number representing the desired sort order; 1 for ascending (default), -1 for descending."
5966
5994
  }
5967
5995
  }
5968
5996
  },
@@ -6036,13 +6064,9 @@
6036
6064
  }
6037
6065
  ],
6038
6066
  "functionParameter": {
6039
- "number1": {
6040
- "name": "number1",
6041
- "detail": "first"
6042
- },
6043
- "number2": {
6044
- "name": "number2",
6045
- "detail": "second"
6067
+ "array": {
6068
+ "name": "array",
6069
+ "detail": "A range of cells or an array in a worksheet."
6046
6070
  }
6047
6071
  }
6048
6072
  },
@@ -6056,13 +6080,17 @@
6056
6080
  }
6057
6081
  ],
6058
6082
  "functionParameter": {
6059
- "number1": {
6060
- "name": "number1",
6061
- "detail": "first"
6083
+ "array": {
6084
+ "name": "array",
6085
+ "detail": "The range or array from which unique rows or columns are returned."
6062
6086
  },
6063
- "number2": {
6064
- "name": "number2",
6065
- "detail": "second"
6087
+ "byCol": {
6088
+ "name": "by_col",
6089
+ "detail": "Is a logical value: compares rows to each other and returns unique values ​​= FALSE, or is omitted; compares columns to each other and returns unique values ​​= TRUE."
6090
+ },
6091
+ "exactlyOnce": {
6092
+ "name": "exactly_once",
6093
+ "detail": "Is a logical value: returns rows or columns from the array that appear only once = TRUE; returns all distinct rows or columns from the array = FALSE, or has been omitted."
6066
6094
  }
6067
6095
  }
6068
6096
  },
@@ -6104,13 +6132,13 @@
6104
6132
  }
6105
6133
  ],
6106
6134
  "functionParameter": {
6107
- "number1": {
6108
- "name": "number1",
6109
- "detail": "first"
6135
+ "array1": {
6136
+ "name": "array",
6137
+ "detail": "The arrays to append."
6110
6138
  },
6111
- "number2": {
6112
- "name": "number2",
6113
- "detail": "second"
6139
+ "array2": {
6140
+ "name": "array",
6141
+ "detail": "The arrays to append."
6114
6142
  }
6115
6143
  }
6116
6144
  },
@@ -6177,15 +6205,15 @@
6177
6205
  "detail": "The array or range to return"
6178
6206
  },
6179
6207
  "ifNotFound": {
6180
- "name": "[if_not_found]",
6208
+ "name": "if_not_found",
6181
6209
  "detail": "Where a valid match is not found, return the [if_not_found] text you supply. If a valid match is not found, and [if_not_found] is missing, #N/A is returned."
6182
6210
  },
6183
6211
  "matchMode": {
6184
- "name": "[match_mode]",
6212
+ "name": "match_mode",
6185
6213
  "detail": "Specify the match type: 0 - Exact match. If none found, return #N/A. This is the default. -1 - Exact match. If none found, return the next smaller item. 1 - Exact match. If none found, return the next larger item. 2 - A wildcard match where *, ?, and ~ have special meaning."
6186
6214
  },
6187
6215
  "searchMode": {
6188
- "name": "[search_mode]",
6216
+ "name": "search_mode",
6189
6217
  "detail": "Specify the search mode to use: 1 - Perform a search starting at the first item. This is the default. -1 - Perform a reverse search starting at the last item. 2 - Perform a binary search that relies on lookup_array being sorted in ascending order. If not sorted, invalid results will be returned. -2 - Perform a binary search that relies on lookup_array being sorted in descending order. If not sorted, invalid results will be returned."
6190
6218
  }
6191
6219
  }
@@ -7447,24 +7475,15 @@
7447
7475
  }
7448
7476
  },
7449
7477
  "FALSE": {
7450
- "description": "Returns the logical value FALSE",
7451
- "abstract": "Returns the logical value FALSE",
7478
+ "description": "Returns the logical value FALSE.",
7479
+ "abstract": "Returns the logical value FALSE.",
7452
7480
  "links": [
7453
7481
  {
7454
7482
  "title": "Instruction",
7455
7483
  "url": "https://support.microsoft.com/en-us/office/false-function-2d58dfa5-9c03-4259-bf8f-f0ae14346904"
7456
7484
  }
7457
7485
  ],
7458
- "functionParameter": {
7459
- "number1": {
7460
- "name": "number1",
7461
- "detail": "first"
7462
- },
7463
- "number2": {
7464
- "name": "number2",
7465
- "detail": "second"
7466
- }
7467
- }
7486
+ "functionParameter": {}
7468
7487
  },
7469
7488
  "IF": {
7470
7489
  "description": "Specifies a logical test to perform",
@@ -7520,13 +7539,13 @@
7520
7539
  }
7521
7540
  ],
7522
7541
  "functionParameter": {
7523
- "number1": {
7524
- "name": "number1",
7525
- "detail": "first"
7542
+ "value": {
7543
+ "name": "value",
7544
+ "detail": "The argument that is checked for the #N/A error value."
7526
7545
  },
7527
- "number2": {
7528
- "name": "number2",
7529
- "detail": "second"
7546
+ "valueIfNa": {
7547
+ "name": "value_if_na",
7548
+ "detail": "The value to return if the formula evaluates to the #N/A error value."
7530
7549
  }
7531
7550
  }
7532
7551
  },
@@ -7540,13 +7559,21 @@
7540
7559
  }
7541
7560
  ],
7542
7561
  "functionParameter": {
7543
- "number1": {
7544
- "name": "number1",
7545
- "detail": "first"
7562
+ "logicalTest1": {
7563
+ "name": "logical_test1",
7564
+ "detail": "Condition that evaluates to TRUE or FALSE."
7546
7565
  },
7547
- "number2": {
7548
- "name": "number2",
7549
- "detail": "second"
7566
+ "valueIfTrue1": {
7567
+ "name": "value_if_true1",
7568
+ "detail": "Result to be returned if logical_test1 evaluates to TRUE. Can be empty."
7569
+ },
7570
+ "logicalTest2": {
7571
+ "name": "logical_test2",
7572
+ "detail": "Condition that evaluates to TRUE or FALSE."
7573
+ },
7574
+ "valueIfTrue2": {
7575
+ "name": "value_if_true2",
7576
+ "detail": "Result to be returned if logical_testN evaluates to TRUE. Each value_if_trueN corresponds with a condition logical_testN. Can be empty."
7550
7577
  }
7551
7578
  }
7552
7579
  },
@@ -7615,8 +7642,8 @@
7615
7642
  }
7616
7643
  },
7617
7644
  "NOT": {
7618
- "description": "Reverses the logic of its argument",
7619
- "abstract": "Reverses the logic of its argument",
7645
+ "description": "Reverses the logic of its argument.",
7646
+ "abstract": "Reverses the logic of its argument.",
7620
7647
  "links": [
7621
7648
  {
7622
7649
  "title": "Instruction",
@@ -7624,13 +7651,9 @@
7624
7651
  }
7625
7652
  ],
7626
7653
  "functionParameter": {
7627
- "number1": {
7628
- "name": "number1",
7629
- "detail": "first"
7630
- },
7631
- "number2": {
7632
- "name": "number2",
7633
- "detail": "second"
7654
+ "logical": {
7655
+ "name": "logical",
7656
+ "detail": "The condition that you want to reverse the logic for, which can evaluate to either TRUE or FALSE."
7634
7657
  }
7635
7658
  }
7636
7659
  },
@@ -7704,39 +7727,42 @@
7704
7727
  }
7705
7728
  ],
7706
7729
  "functionParameter": {
7707
- "number1": {
7708
- "name": "number1",
7709
- "detail": "first"
7730
+ "expression": {
7731
+ "name": "expression",
7732
+ "detail": "Expression is the value (such as a number, date or some text) that will be compared against value1…value126."
7710
7733
  },
7711
- "number2": {
7712
- "name": "number2",
7713
- "detail": "second"
7734
+ "value1": {
7735
+ "name": "value1",
7736
+ "detail": "ValueN is a value that will be compared against expression."
7737
+ },
7738
+ "result1": {
7739
+ "name": "result1",
7740
+ "detail": "ResultN is the value to be returned when the corresponding valueN argument matches expression. ResultN and must be supplied for each corresponding valueN argument."
7741
+ },
7742
+ "defaultOrValue2": {
7743
+ "name": "default_or_value2",
7744
+ "detail": "Default is the value to return in case no matches are found in the valueN expressions. The Default argument is identified by having no corresponding resultN expression (see examples). Default must be the final argument in the function."
7745
+ },
7746
+ "result2": {
7747
+ "name": "result2",
7748
+ "detail": "ResultN is the value to be returned when the corresponding valueN argument matches expression. ResultN and must be supplied for each corresponding valueN argument."
7714
7749
  }
7715
7750
  }
7716
7751
  },
7717
7752
  "TRUE": {
7718
- "description": "Returns the logical value TRUE",
7719
- "abstract": "Returns the logical value TRUE",
7753
+ "description": "Returns the logical value TRUE.",
7754
+ "abstract": "Returns the logical value TRUE.",
7720
7755
  "links": [
7721
7756
  {
7722
7757
  "title": "Instruction",
7723
7758
  "url": "https://support.microsoft.com/en-us/office/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb"
7724
7759
  }
7725
7760
  ],
7726
- "functionParameter": {
7727
- "number1": {
7728
- "name": "number1",
7729
- "detail": "first"
7730
- },
7731
- "number2": {
7732
- "name": "number2",
7733
- "detail": "second"
7734
- }
7735
- }
7761
+ "functionParameter": {}
7736
7762
  },
7737
7763
  "XOR": {
7738
- "description": "Returns a logical exclusive OR of all arguments",
7739
- "abstract": "Returns a logical exclusive OR of all arguments",
7764
+ "description": "Returns TRUE if an odd number of its arguments evaluate to TRUE, and FALSE if an even number of its arguments evaluate to TRUE.",
7765
+ "abstract": "Returns TRUE if an odd number of arguments are TRUE",
7740
7766
  "links": [
7741
7767
  {
7742
7768
  "title": "Instruction",
@@ -7744,13 +7770,13 @@
7744
7770
  }
7745
7771
  ],
7746
7772
  "functionParameter": {
7747
- "number1": {
7748
- "name": "number1",
7749
- "detail": "first"
7773
+ "logical1": {
7774
+ "name": "logical1",
7775
+ "detail": "The first condition that you want to test that can evaluate to either TRUE or FALSE."
7750
7776
  },
7751
- "number2": {
7752
- "name": "number2",
7753
- "detail": "second"
7777
+ "logical2": {
7778
+ "name": "logical2",
7779
+ "detail": "Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions."
7754
7780
  }
7755
7781
  }
7756
7782
  },