Hi everyone,
Appreciate if you can advise the formula that is applicable for this scenario.
1. Sheet 1 - table 1
This table shows the price of apples at different minimum order qty (MOQ) in Q2
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Types of apple[/TD]
[TD]MOQ 1[/TD]
[TD]Unit price 1[/TD]
[TD]MOQ 2[/TD]
[TD]Unit price 2[/TD]
[TD]MOQ 3[/TD]
[TD]Unit price 3[/TD]
[/TR]
[TR]
[TD]Apple 1[/TD]
[TD]500[/TD]
[TD]2.41[/TD]
[TD]1000[/TD]
[TD]1.92[/TD]
[TD]2000[/TD]
[TD]1.62[/TD]
[/TR]
[TR]
[TD]Apple 2 [/TD]
[TD]50[/TD]
[TD]1.65[/TD]
[TD]100[/TD]
[TD]1.36[/TD]
[TD]2000[/TD]
[TD]1.26[/TD]
[/TR]
[TR]
[TD]Apple 3[/TD]
[TD]30[/TD]
[TD]1.73[/TD]
[TD]60[/TD]
[TD]1.46[/TD]
[TD]90[/TD]
[TD]1.27[/TD]
[/TR]
[TR]
[TD]Apple 4[/TD]
[TD]250[/TD]
[TD]3.50[/TD]
[TD]500[/TD]
[TD]3.20[/TD]
[TD]1000[/TD]
[TD]2.82[/TD]
[/TR]
[TR]
[TD]Apple 5[/TD]
[TD]250[/TD]
[TD]2.13[/TD]
[TD]500[/TD]
[TD]1.84[/TD]
[TD]1000[/TD]
[TD]1.46[/TD]
[/TR]
[TR]
[TD]Apple 6[/TD]
[TD]1000[/TD]
[TD]1.78[/TD]
[TD]2000[/TD]
[TD]1.58[/TD]
[TD]3000[/TD]
[TD]1.29[/TD]
[/TR]
[TR]
[TD]Apple 7[/TD]
[TD]250[/TD]
[TD]1.65[/TD]
[TD]500[/TD]
[TD]1.36[/TD]
[TD]1000[/TD]
[TD]1.26[/TD]
[/TR]
</tbody>[/TABLE]
2. Sheet 2 - table 2
This table shows the price of apples at different MOQ in Q3 and I need to match them against apple type and MOQ in Q2 to to retrieve the price from sheet 1 - table 1.
Note that the rows are not in sequence as in table 1 and the MOQ may be different from table 1.
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Types of apple[/TD]
[TD]MOQ 1[/TD]
[TD]Unit price 1 - Q3[/TD]
[TD]Unit price 1 - Q2[/TD]
[TD]MOQ 2[/TD]
[TD]Unit price 2 - Q3[/TD]
[TD]Unit price 1 - Q2[/TD]
[TD]MOQ 3[/TD]
[TD]Unit price 3 - Q3[/TD]
[TD]Unit price 3 - Q2[/TD]
[/TR]
[TR]
[TD]Apple 4[/TD]
[TD]250[/TD]
[TD]1.92[/TD]
[TD]??[/TD]
[TD]1000[/TD]
[TD]2.82[/TD]
[TD]??[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apple 1[/TD]
[TD]500[/TD]
[TD]1.92[/TD]
[TD]??[/TD]
[TD]1000[/TD]
[TD]1.62[/TD]
[TD]??[/TD]
[TD]2000[/TD]
[TD]1.59[/TD]
[TD]??[/TD]
[/TR]
[TR]
[TD]Apple 6[/TD]
[TD]1000[/TD]
[TD]1.78[/TD]
[TD]??[/TD]
[TD]2000[/TD]
[TD]1.58[/TD]
[TD]??[/TD]
[TD]3000[/TD]
[TD]1.29[/TD]
[TD]??[/TD]
[/TR]
[TR]
[TD]Apple 2[/TD]
[TD]100[/TD]
[TD]1.36[/TD]
[TD]??[/TD]
[TD]2000[/TD]
[TD]1.26[/TD]
[TD]??[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apple 3[/TD]
[TD]60[/TD]
[TD]1.46[/TD]
[TD]??[/TD]
[TD]90[/TD]
[TD]1.25[/TD]
[TD]??[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to input formula to get the Q2 price in all "??" column. Could anyone help me please? I was not able successful with index and match/ match function. Thanks.
Appreciate if you can advise the formula that is applicable for this scenario.
1. Sheet 1 - table 1
This table shows the price of apples at different minimum order qty (MOQ) in Q2
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Types of apple[/TD]
[TD]MOQ 1[/TD]
[TD]Unit price 1[/TD]
[TD]MOQ 2[/TD]
[TD]Unit price 2[/TD]
[TD]MOQ 3[/TD]
[TD]Unit price 3[/TD]
[/TR]
[TR]
[TD]Apple 1[/TD]
[TD]500[/TD]
[TD]2.41[/TD]
[TD]1000[/TD]
[TD]1.92[/TD]
[TD]2000[/TD]
[TD]1.62[/TD]
[/TR]
[TR]
[TD]Apple 2 [/TD]
[TD]50[/TD]
[TD]1.65[/TD]
[TD]100[/TD]
[TD]1.36[/TD]
[TD]2000[/TD]
[TD]1.26[/TD]
[/TR]
[TR]
[TD]Apple 3[/TD]
[TD]30[/TD]
[TD]1.73[/TD]
[TD]60[/TD]
[TD]1.46[/TD]
[TD]90[/TD]
[TD]1.27[/TD]
[/TR]
[TR]
[TD]Apple 4[/TD]
[TD]250[/TD]
[TD]3.50[/TD]
[TD]500[/TD]
[TD]3.20[/TD]
[TD]1000[/TD]
[TD]2.82[/TD]
[/TR]
[TR]
[TD]Apple 5[/TD]
[TD]250[/TD]
[TD]2.13[/TD]
[TD]500[/TD]
[TD]1.84[/TD]
[TD]1000[/TD]
[TD]1.46[/TD]
[/TR]
[TR]
[TD]Apple 6[/TD]
[TD]1000[/TD]
[TD]1.78[/TD]
[TD]2000[/TD]
[TD]1.58[/TD]
[TD]3000[/TD]
[TD]1.29[/TD]
[/TR]
[TR]
[TD]Apple 7[/TD]
[TD]250[/TD]
[TD]1.65[/TD]
[TD]500[/TD]
[TD]1.36[/TD]
[TD]1000[/TD]
[TD]1.26[/TD]
[/TR]
</tbody>[/TABLE]
2. Sheet 2 - table 2
This table shows the price of apples at different MOQ in Q3 and I need to match them against apple type and MOQ in Q2 to to retrieve the price from sheet 1 - table 1.
Note that the rows are not in sequence as in table 1 and the MOQ may be different from table 1.
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Types of apple[/TD]
[TD]MOQ 1[/TD]
[TD]Unit price 1 - Q3[/TD]
[TD]Unit price 1 - Q2[/TD]
[TD]MOQ 2[/TD]
[TD]Unit price 2 - Q3[/TD]
[TD]Unit price 1 - Q2[/TD]
[TD]MOQ 3[/TD]
[TD]Unit price 3 - Q3[/TD]
[TD]Unit price 3 - Q2[/TD]
[/TR]
[TR]
[TD]Apple 4[/TD]
[TD]250[/TD]
[TD]1.92[/TD]
[TD]??[/TD]
[TD]1000[/TD]
[TD]2.82[/TD]
[TD]??[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apple 1[/TD]
[TD]500[/TD]
[TD]1.92[/TD]
[TD]??[/TD]
[TD]1000[/TD]
[TD]1.62[/TD]
[TD]??[/TD]
[TD]2000[/TD]
[TD]1.59[/TD]
[TD]??[/TD]
[/TR]
[TR]
[TD]Apple 6[/TD]
[TD]1000[/TD]
[TD]1.78[/TD]
[TD]??[/TD]
[TD]2000[/TD]
[TD]1.58[/TD]
[TD]??[/TD]
[TD]3000[/TD]
[TD]1.29[/TD]
[TD]??[/TD]
[/TR]
[TR]
[TD]Apple 2[/TD]
[TD]100[/TD]
[TD]1.36[/TD]
[TD]??[/TD]
[TD]2000[/TD]
[TD]1.26[/TD]
[TD]??[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apple 3[/TD]
[TD]60[/TD]
[TD]1.46[/TD]
[TD]??[/TD]
[TD]90[/TD]
[TD]1.25[/TD]
[TD]??[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to input formula to get the Q2 price in all "??" column. Could anyone help me please? I was not able successful with index and match/ match function. Thanks.