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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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