Referencing Multiple Columns

jal0315

New Member
Joined
Feb 11, 2014
Messages
20
I am trying to sum up stock that was received in a given month to each individual location. I can't do a vlookup because the same item might hit multiple locations and not give me the correct quantity received in at that location. I have two separate worksheets. One worksheet is a summary of what was received, and the other is a summary of current on hand inventory with other data.


My sheet of what was received is set up as the following:
ABC
Location IDItem IDQuantity Received
100
ABC100
111ABC20
100DEF50
111DEF30
120GHI20
300GHI60
500GHI20
500JKL20

<tbody>
</tbody>

My inventory overview is set up as the following:
ABCD
Location IDItem IDQuantity on HandQuantity Received in May
100ABC60
111ABC30
100
DEF40
111DEF30
120GHI20
300GHI60
500GHI20
500JKL40

<tbody>
</tbody>

What formula can I used to reference the Loc ID cell, then the Item ID, and if those match up to give me what was received in during the month from the first worksheet?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
I cant see a received date in the first table which means it going to sum whatever it finds regardless of date.

=SUMIFS(Sheet1!C:C,Sheet1!A:A,A2,Sheet1!B:B,B2)
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,954
Members
448,535
Latest member
alrossman

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