What is the formula to lookup quantity of an item code by different location sorting?

Status
Not open for further replies.

iMailMan

New Member
Joined
Sep 6, 2018
Messages
12
Data Table: [TABLE="class: grid, width: 200, align: center"]
<tbody>[TR]
[TD]Location[/TD]
[TD]Item Code[/TD]
[TD="align: center"]Qty[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]123
[/TD]
[TD="align: center"]1000[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]456[/TD]
[TD="align: center"]700[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]789[/TD]
[TD="align: center"]2000[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]123[/TD]
[TD="align: center"]500[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]456[/TD]
[TD="align: center"]1200[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]789[/TD]
[TD="align: center"]3500[/TD]
[/TR]
</tbody>[/TABLE]


Table for data entry: [TABLE="class: grid, width: 200, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]Qty[/TD]
[TD="align: center"]Qty[/TD]
[/TR]
[TR]
[TD="align: center"]Item Code[/TD]
[TD="align: center"]Location A[/TD]
[TD="align: center"]Location B[/TD]
[/TR]
[TR]
[TD="align: center"]123[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]456[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]789[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,226,695
Messages
6,192,475
Members
453,726
Latest member
JoeH57

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