powr_potato
New Member
- Joined
- Apr 18, 2017
- Messages
- 7
Hi All,
May i kindly get your help on an excel formula? I am trying to match 3 criteria between table 1 and table 2, namely: "Order", "Amount" & "Stage" and return the values to Col D & E respectively. For example, if Table 1 Row 3 has "OrderA", Amount of "5" & Stage is "sent" and Table 2 has the same criteria, it should return Amount of "5" in Column D. Really appreciate if i could get your help on this.
[TABLE="width: 1061"]
<colgroup><col span="2"><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="class: grid, width: 1000"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[/TR]
[TR]
[TD="align: center"]Table1[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Table2[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Order[/TD]
[TD="align: center"]Amount[/TD]
[TD="align: center"]Stage[/TD]
[TD="align: center"]Return Amount if same as table 2[/TD]
[TD="align: center"]Return Stage if same as table 2[/TD]
[TD="align: center"]Order[/TD]
[TD="align: center"]Amount[/TD]
[TD="align: center"]Stage[/TD]
[/TR]
[TR]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderB[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Sent[/TD]
[/TR]
[TR]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]On-Hold[/TD]
[/TR]
[TR]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderG[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderD[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]On-Hold[/TD]
[/TR]
[TR]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderE[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]On-Hold[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]Sent[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderB[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Sent[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Thank You.
[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
May i kindly get your help on an excel formula? I am trying to match 3 criteria between table 1 and table 2, namely: "Order", "Amount" & "Stage" and return the values to Col D & E respectively. For example, if Table 1 Row 3 has "OrderA", Amount of "5" & Stage is "sent" and Table 2 has the same criteria, it should return Amount of "5" in Column D. Really appreciate if i could get your help on this.
[TABLE="width: 1061"]
<colgroup><col span="2"><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="class: grid, width: 1000"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[/TR]
[TR]
[TD="align: center"]Table1[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Table2[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Order[/TD]
[TD="align: center"]Amount[/TD]
[TD="align: center"]Stage[/TD]
[TD="align: center"]Return Amount if same as table 2[/TD]
[TD="align: center"]Return Stage if same as table 2[/TD]
[TD="align: center"]Order[/TD]
[TD="align: center"]Amount[/TD]
[TD="align: center"]Stage[/TD]
[/TR]
[TR]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderB[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Sent[/TD]
[/TR]
[TR]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]On-Hold[/TD]
[/TR]
[TR]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]Sent[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderC[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"]OrderG[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderD[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]On-Hold[/TD]
[/TR]
[TR]
[TD="align: center"]OrderF[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]Handed[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderE[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]On-Hold[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]Sent[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderB[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Handed[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]OrderA[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]Sent[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Thank You.
[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]