# find value in matrix (in other words: find value based on 2 criteria)

Hi, i am trying to make ~~excel~~ Calc find a value in a table i have in the same spreadsheet, that matches 2 conditions.
I am trying to make Calc return the "maximum load value" of musical instrument strings based on "diameter" and "type"

My table looks like this:

```
diameter | type | max. load
0,7_____________1_____________x
0,75____________2_____________x
0,8_____________1_____________x
```

etc.

The data, consisting of "max load values" looks like this:

```
diameter | type 1 | type 2 | type 3
0,7_____________500____________600____750
0,75____________550____________660____820
0,8_____________600____________710____870
```

etc.

how do i find "x"?