Repository navigation
Custom functions guide improvements - #1137
Conversation
Performance comparison of head (80107c0) vs base (5b45643) |
| | HLOOKUP | Searches horizontally with reference to adjacent cells to the bottom. | HLOOKUP(Search_Criterion, Array, Index, Sort_Order) | | ||
| | INDEX | Returns the contents of a cell specified by row and column number. The column number is optional and defaults to 1. | INDEX(Range, Row [, Column]) | | ||
| | MATCH | Returns the relative position of an item in an array that matches a specified value. | MATCH(Searchcriterion, Lookuparray, Type) | | ||
| | MATCH | Returns the relative position of an item in an array that matches a specified value. | MATCH(Searchcriterion, Lookuparray, MatchType) | |
There was a problem hiding this comment.
This is unrelated to this task. See: #1148 (comment)
There was a problem hiding this comment.
I think it could be helpful to add more information about which values are accepted as MatchType and what each of them means. If MatchType is optional I think it should be mentioned as well, to keep is consistent with other functions. WDYT?
There was a problem hiding this comment.
This description follows the general assumption that the functions work the same as in Microsoft Excel. I don't like this assumption, but currently, we do not have space for a more thorough documentation of the built-in functions.
So:
MatchTypeaccepts the same values as in the Microsoft Excel implementation ofMATCH- it is indeed optional and I marked it as such in the documentation
adamu-handsontable
left a comment
There was a problem hiding this comment.
I've checked it and left feedback
| | HLOOKUP | Searches horizontally with reference to adjacent cells to the bottom. | HLOOKUP(Search_Criterion, Array, Index, Sort_Order) | | ||
| | INDEX | Returns the contents of a cell specified by row and column number. The column number is optional and defaults to 1. | INDEX(Range, Row [, Column]) | | ||
| | MATCH | Returns the relative position of an item in an array that matches a specified value. | MATCH(Searchcriterion, Lookuparray, Type) | | ||
| | MATCH | Returns the relative position of an item in an array that matches a specified value. | MATCH(Searchcriterion, Lookuparray, MatchType) | |
There was a problem hiding this comment.
I think it could be helpful to add more information about which values are accepted as MatchType and what each of them means. If MatchType is optional I think it should be mentioned as well, to keep is consistent with other functions. WDYT?
adamu-handsontable
left a comment
There was a problem hiding this comment.
Everything looks good, thank you
Codecov Report
@@ Coverage Diff @@
## develop #1137 +/- ##
========================================
Coverage 95.84% 95.84%
========================================
Files 165 165
Lines 14135 14156 +21
Branches 3004 3005 +1
========================================
+ Hits 13547 13568 +21
Misses 588 588
|
Context
runFunctionmethod completelyrunFunctionmethod doesSimpleRangeValueclass in the API reference and link it to the custom-functions guideHow did you test your changes?
Types of changes
Related issues:
Fixes #1123
Checklist: