maximillianrg
Board Regular
- Joined
- Aug 7, 2014
- Messages
- 75
- Office Version
- 2016
- Platform
- Windows
Thank you in advance for your help. I'm working with two separate excel sheets. In the first sheet the data is laid out as depicted in the first table below (Table1). My second sheet is laid out as the second table (Table2)
In Table1, Task2 Site2 = D5, Task1 Site3 = D3, Task3 Site1 = D7 and so forth
I'm looking for a formula that when put in cell B2 of Table 2 would look up both Task1 and Site1 in table1 and return the value of D1
The same formula if put in cell D3 of Table2 would look up both Task3 and site2 in Table1 and return the value of D8
Thank you
Table1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Site1[/TD]
[TD]Site2[/TD]
[TD]Site3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Task1[/TD]
[TD]D1[/TD]
[TD]D2[/TD]
[TD]D3[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Task2[/TD]
[TD]D4[/TD]
[TD]D5[/TD]
[TD]D6[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Task3[/TD]
[TD]D7[/TD]
[TD]D8[/TD]
[TD]D9[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Task1[/TD]
[TD]Task2[/TD]
[TD]Task3
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Site1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Site2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Site3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In Table1, Task2 Site2 = D5, Task1 Site3 = D3, Task3 Site1 = D7 and so forth
I'm looking for a formula that when put in cell B2 of Table 2 would look up both Task1 and Site1 in table1 and return the value of D1
The same formula if put in cell D3 of Table2 would look up both Task3 and site2 in Table1 and return the value of D8
Thank you
Table1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Site1[/TD]
[TD]Site2[/TD]
[TD]Site3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Task1[/TD]
[TD]D1[/TD]
[TD]D2[/TD]
[TD]D3[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Task2[/TD]
[TD]D4[/TD]
[TD]D5[/TD]
[TD]D6[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Task3[/TD]
[TD]D7[/TD]
[TD]D8[/TD]
[TD]D9[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Task1[/TD]
[TD]Task2[/TD]
[TD]Task3
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Site1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Site2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Site3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: