Vlookup where rows and coumn crteria meet

niladri2005

Board Regular
Joined
Sep 21, 2012
Messages
109
Hi All,

I have two sheets. In first sheet I have

[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 71"]
<colgroup><col width="71"></colgroup><tbody>[TR]
[TD="class: xl63, width: 71"]Product Code
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]WH Code
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64"></colgroup><tbody>[TR]
[TD="width: 64"]Accepted Qty
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 93"]
<colgroup><col width="93"></colgroup><tbody>[TR]
[TD="width: 93"]111-00003
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64"></colgroup><tbody>[TR]
[TD="width: 64"]DELHI
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64"></colgroup><tbody>[TR]
[TD="width: 64, align: right"]873
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]111-00003
[/TD]
[TD]Kolkata
[/TD]
[TD] 995
[/TD]
[/TR]
[TR]
[TD]111-00002
[/TD]
[TD]Kolkata
[/TD]
[TD] 268
[/TD]
[/TR]
[TR]
[TD]111-00002
[/TD]
[TD]Delhi
[/TD]
[TD] 108
[/TD]
[/TR]
[TR]
[TD]111-00003
[/TD]
[TD]Pune
[/TD]
[TD] 925
[/TD]
[/TR]
</tbody>[/TABLE]

In another sheet

[TABLE="width: 500"]
<tbody>[TR]
[TD]Product Code
[/TD]
[TD]WH Code
[/TD]
[TD]Accepted Qty
[/TD]
[/TR]
[TR]
[TD]111-00003
[/TD]
[TD]Kolkata
[/TD]
[TD] ??
[/TD]
[/TR]
[TR]
[TD]111-00003
[/TD]
[TD]Delhi
[/TD]
[TD] ??
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Can you please suggest how will I get the result of Accepted Qty in sheet2?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Formula in G2 copied down:


Excel 2010
ABCDEFG
1Product CodeWH CodeAccepted QtyProduct CodeWH CodeAccepted Qty
2111-00003DELHI873111-00003Kolkata995
3111-00003Kolkata995111-00003Delhi873
4111-00002Kolkata268
5111-00002Delhi108
6111-00003Pune925
Sheet1
Cell Formulas
RangeFormula
G2=INDEX(C$2:C$6,MATCH(1,INDEX((A$2:A$6=E2)*(B$2:B$6=F2),),FALSE))
 
Upvote 0

Forum statistics

Threads
1,223,307
Messages
6,171,326
Members
452,396
Latest member
ajl_ahmed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top