Let’s say I have a table in Calc that I want to use as source like this:
key1 | key2 | value |
---|---|---|
a | 1 | 0.1 |
a | 2 | 0.2 |
b | 1 | 0.3 |
b | 2 | 0.4 |
c | 1 | 0.5 |
c | 2 | 0.6 |
And then I want lookup values, in another table in the same spreadsheet file, using key1
and key2
:
ky1 | key2 | value | |
---|---|---|---|
b | 2 | 0.4 | ← I need these values |
a | 1 | 0.1 | ← I need these values |
How I do obtain 0.4 and 0.1 ? Wih a single criteria I would use VLOOKUP
. I have understood that I should use the INDEX
and MATCH
functions, but MATCH
itself works only on a single criteria…