Hey guys,
As a moderate noob where arrays are concerned, I could use some guidance here. Pretty sure this would fall under the index/match function, but if there's a simpler way to arrive at a solution, I'm of course all ears.
<tbody>
</tbody>
Let's say the column headings "-1, 0, 1" refer to a game score.
I know how to do an array function using the inning and out columns to return a value from the center (0) column. For example, if inning = 2 and out = 0, use array index/match to return column 0 value of 4.1.
But can I also use the columns as a criteria? As in, index columns -1 through 1, and match based on say, inning = 2 outs = 0 game score = -1?
I hope I'm explaining this well enough. Please let me know.
As a moderate noob where arrays are concerned, I could use some guidance here. Pretty sure this would fall under the index/match function, but if there's a simpler way to arrive at a solution, I'm of course all ears.
inning | out | -1 | 0 | 1 | |
1 | 0 | 3.3 | 2.3 | 5.4 | |
1 | 1 | 6.5 | 3.1 | 4.5 | |
1 | 2 | 5.0 | 0.5 | 3.0 | |
2 | 0 | 4.4 | 4.1 | 4.6 | |
2 | 1 | 2.2 | 3.3 | 5.5 |
<tbody>
</tbody>
Let's say the column headings "-1, 0, 1" refer to a game score.
I know how to do an array function using the inning and out columns to return a value from the center (0) column. For example, if inning = 2 and out = 0, use array index/match to return column 0 value of 4.1.
But can I also use the columns as a criteria? As in, index columns -1 through 1, and match based on say, inning = 2 outs = 0 game score = -1?
I hope I'm explaining this well enough. Please let me know.