Im using the MATCH()
function to decice the row number for the INDEX()
function. I am using exact match (0) as parameter. This works fine for the majority of the time, however:
Why does it create a match when one cell is blank/empty and the other contains zero?
I could probably make some IF-statement, ignoring zero values, to counter this effect. But it seems silly and I would also like to understand the underlying logic behind this mechanic, for future usage.
Edit: As requested, here is the function of which I speak...
=IFERROR(INDEX('RMED Visual Inspection'!$A:$B; MATCH(A2; 'RMED Visual Inspection'!$A:$A; 0); 2); 0)
The lookup_value
is blank. The lookup_array
consist of numbers from 0 and up. MATCH()
will return the number of the first row in the lookup_array
that is 0.