Hello,
I am trying to figure out a way to return one value based on two criteria. One criteria is in a vertical array, whereas the other is in a horizontal array. See the tables below for more details.
Table 1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A1[/TD]
[TD]text[/TD]
[TD]text[/TD]
[TD]text[/TD]
[/TR]
[TR]
[TD]10.01[/TD]
[TD]text[/TD]
[TD]text[/TD]
[TD]FORMULA[/TD]
[/TR]
[TR]
[TD]10.02[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]text[/TD]
[TD]text[/TD]
[TD]text[/TD]
[TD]A1[/TD]
[TD]A2[/TD]
[TD]A3[/TD]
[TD]A4[/TD]
[TD]A5[/TD]
[TD]A6[/TD]
[TD]A7[/TD]
[TD]A8[/TD]
[TD]A9[/TD]
[TD]A10[/TD]
[TD]A11[/TD]
[TD]A12[/TD]
[/TR]
[TR]
[TD]10.01[/TD]
[TD][/TD]
[TD][/TD]
[TD]5[/TD]
[TD]10[/TD]
[TD][/TD]
[TD]15[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]25[/TD]
[TD][/TD]
[TD][/TD]
[TD]30[/TD]
[TD][/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]10.02[/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD]40[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Essentially, I would like to write a formula in Table 1 in the cell that says "FORMULA" which returns a value of "5" from Table 2, based on two criteria within Table 1: "A1" and "10.01". FYI, these two arrays are on different sheets within my workbook. Also, ideally I would like to be able to drag this formula down to several more rows (not shown above).
I tried using SUMIFS and integrating INDEX/MATCH within it, but no luck. Not sure if I used index/match correctly, however; I am not very well versed in that function.
Please let me know if I can provide any additional info. Thanks in advance!
I am trying to figure out a way to return one value based on two criteria. One criteria is in a vertical array, whereas the other is in a horizontal array. See the tables below for more details.
Table 1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A1[/TD]
[TD]text[/TD]
[TD]text[/TD]
[TD]text[/TD]
[/TR]
[TR]
[TD]10.01[/TD]
[TD]text[/TD]
[TD]text[/TD]
[TD]FORMULA[/TD]
[/TR]
[TR]
[TD]10.02[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]text[/TD]
[TD]text[/TD]
[TD]text[/TD]
[TD]A1[/TD]
[TD]A2[/TD]
[TD]A3[/TD]
[TD]A4[/TD]
[TD]A5[/TD]
[TD]A6[/TD]
[TD]A7[/TD]
[TD]A8[/TD]
[TD]A9[/TD]
[TD]A10[/TD]
[TD]A11[/TD]
[TD]A12[/TD]
[/TR]
[TR]
[TD]10.01[/TD]
[TD][/TD]
[TD][/TD]
[TD]5[/TD]
[TD]10[/TD]
[TD][/TD]
[TD]15[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]25[/TD]
[TD][/TD]
[TD][/TD]
[TD]30[/TD]
[TD][/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]10.02[/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD]40[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Essentially, I would like to write a formula in Table 1 in the cell that says "FORMULA" which returns a value of "5" from Table 2, based on two criteria within Table 1: "A1" and "10.01". FYI, these two arrays are on different sheets within my workbook. Also, ideally I would like to be able to drag this formula down to several more rows (not shown above).
I tried using SUMIFS and integrating INDEX/MATCH within it, but no luck. Not sure if I used index/match correctly, however; I am not very well versed in that function.
Please let me know if I can provide any additional info. Thanks in advance!