Using Translation Table to roll up information

Jod84

New Member
Joined
Jun 22, 2011
Messages
7
I have a sheet which pulls directly from a database so I don't want to add anything to that sheet if possible its basically an inventory record sheet showing stock and location. However location is at a very low level and I want my summary at a higher level so I have another sheet which lists how locations should roll up e.g.

Database Summary
Location Location

Zone A1 Zone A
Zone A2 Zone A
Zone A3 Zone A
Zone B1 Zone B
Zone B2 Zone B

So I want I want to do a sumif on database table to see how much stock by product is at each summary location I tried using an array as thought this would be the best way but failed miserably hopefully someone can assist me. Below is a sample of info in database

Product Quantity Location
A 2 Zone A1
B 3 Zone A1
A 5 Zone A3

So my summary table should look like below
Product Location Quantity
A Zone A 7
B Zone A 3

Thanks for your help
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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