Skip to content

Commit b672677

Browse files
authored
Fixed a bug of A.XLOOKUP.COLS
1 parent 61619eb commit b672677

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AutoXL.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// return the name and version of the library
2-
A.VERSION = LAMBDA("AutoXL 0.1.0");
2+
A.VERSION = LAMBDA("AutoXL 0.1.1");
33

44
// return whether two values or arrays are equal
55
// case-insensitive
@@ -152,7 +152,7 @@ A.XLOOKUP.COLS = LAMBDA(lookup_col, lookup_array, return_array, [if_not_found],
152152
BYCOL(
153153
SEQUENCE(COLUMNS(lookup_col)),
154154
LAMBDA(col,
155-
IF(ISERROR(CHOOSECOLS(x, col)), if_not_found, CHOOSECOLSS(return_array, CHOOSECOLS(x, col)))))))))
155+
IF(ISERROR(CHOOSECOLS(x, col)), if_not_found, CHOOSECOLS(return_array, CHOOSECOLS(x, col)))))))))
156156
);
157157

158158
// reduce an array to an accumulated value by applying a LAMBDA function to each row and returning the total value in the accumulator
@@ -779,4 +779,4 @@ A.LOCATE.RANGEBYTEXT = LAMBDA(find_text, within_array, [find_direction], [extend
779779
LET(
780780
cell, A.LOCATE.CELLBYTEXT(find_text, within_array, find_direction),
781781
A.EXTEND(cell, extend_direction, scope_range, special_cell, include_origin))
782-
);
782+
);

0 commit comments

Comments
 (0)