Re: index-match functions problem; spreadsheet attached
- From: Morten Welinder <mortenw gnome org>
- To: George Dimitrov <gdparlichev gmail com>
- Cc: Gnumeric Mailing List <gnumeric-list gnome org>
- Subject: Re: index-match functions problem; spreadsheet attached
- Date: Sun, 13 Dec 2015 18:05:40 -0500
MATCH with types -1 and +1 requires sorted data. The data in, say,
A3:AW3 is
2 3 2 1 0 0 0 4 7 5 3 1 0 0 5 8 7 4 1 0 0 4 7 5 3 1 0 0 3 4 3 2 1 0 0
1 2 2 1 0 0 0 1 1 1 0 0 0 0
Clearly not sorted. Also, the data isn't unique which raises the question
of which occurrence of the maximum you are after. (In this case there is
only one 8, so that problem doesn't arise.)
What you want is type 0: find the index of the first occurrence.
Morten
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]