The following questions in stackoverflow.com were read but did not help:
1. excel formula - Inconsistent behavior for INDEX(MATCH())
2. excel - Why is Application.Match() is inconsistent?
3. Unpredictable output from Excel Index-Match
4. Excel match(less than) function behaves inconsistently
5. excel - Why is Application.Match() is inconsistent?
6. worksheet function - Inconsistent formula returns in Excel
What I need is to understand and correct the cause for the inconsistent behavior of the MATCH
function when using match_type
1
in different LOOKUP_ARRAY
s in a spreadsheet
To clarify even further the issue I pasted below the pertinent description of match
function with match_type
1
:
Match-type
:1
or omittedBehavior:
MATCH
finds the largest value that is less than or equal tolookup_value
. The values in thelookup_array
argument must be placed in ascending order
When I perform the following:
Command Result
---------------------------------------------
=CORRESP(96;{0;91,2;92,8;94,4;96};1) 5
=CORRESP(72;{0;69;70;71;72};1) 5
The above results are correct, and I do not question them.
In the simple spreadsheet in the link I reproduce the usage of the match function =MATCH(LOOKUP_VALUE,LOOKUP_ARRAY,1)
in four ranges: PVc
, PV
, TPDc
and TPD
, and with different values in several cells but the problem occurs only with LOOKUP_VALUE
72
in LOOKUP_ARRAYS
TPDc
and TPD
.
I believe that the problem is clearly explained in the Excel file in the link.