From 5c8e8358756f7e5f62e5b6fd24410e59797bdf05 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 25 Nov 2021 18:26:37 +0100 Subject: Fix MATCH() Type=-1, index of last >= value is returned Change-Id: I8b84e60cb626ee3b0df334cb1b41d3ef9da4e209 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125824 Reviewed-by: Eike Rathke Tested-by: Jenkins --- source/text/scalc/01/04060109.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp index 8457ba3f3c..17fb832626 100644 --- a/source/text/scalc/01/04060109.xhp +++ b/source/text/scalc/01/04060109.xhp @@ -341,7 +341,7 @@ Type may take the values 1, 0, or -1. If Type = 1 or if this optional parameter is missing, it is assumed that the first column of the search array is sorted in ascending order. If Type = -1 it is assumed that the column in sorted in descending order. This corresponds to the same function in Microsoft Excel. If Type = 0, only exact matches are found. If the search criterion is found more than once, the function returns the index of the first matching value. Only if Type = 0 can you search for regular expressions (if enabled in calculation options) or wildcards (if enabled in calculation options). - If Type = 1 or the third parameter is missing, the index of the last value that is smaller or equal to the search criterion is returned. For Type = -1, the first value that is larger or equal is returned. + If Type = 1 or the third parameter is missing, the index of the last value that is smaller or equal to the search criterion is returned. For Type = -1, the index of the last value that is larger or equal is returned. -- cgit