Using either vlookup or IF function

Balmer07

New Member
Joined
Feb 14, 2018
Messages
45
Office Version
  1. 365
Hi,

I have a query.

I have a 2 tables of data, similar to below and basically I need to analyse how many pallets move in and out in a month, the raw data is inputted on the the bottom table but I want to know if there is a way to do a vlookup or IF function to basically add in the total number of pallets on a specific day that have been brought in or sent out against a specific part code.

Part Code
Dateinbound
01/06/2019**FORMULA NEEDED**
02/06/2019**FORMULA NEEDED**

<tbody>
</tbody>


DateInbound/OutboundPart CodePallet quantity
01/06/2019InboundABC1232
02/06/2019InboundABC1244

<tbody>
</tbody>


If you have any questions to help work it out let me know

thanks,
Steven
 

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.
Maybe something like this


A
B
C
D
E
F
G
H
1
Part Code​
ABC123​
Date​
Inbound/Outbound​
Part Code​
Pallet quantity​
2
Date​
inbound​
01/06/2019​
Inbound​
ABC123​
2​
3
01/06/2019​
2​
02/06/2019​
Inbound​
ABC124​
4​
4
02/06/2019​
0​
5

Formula in B3 copied down
=SUMIFS(G$2:G$100,$D$2:$D$100,A3,E$2:E$100,B$2,F$2:F$100,B$1)

M.
 
Upvote 0
Using Marcelo example and your data is formatted as a table the following should work as well.

=SUMIFS(Table1[Pallet Quantity],Table1[Date],A3,Table1[Inbound/Outbound],B2,Table1[Part Code],B1)
 
Upvote 0

Forum statistics

Threads
1,213,482
Messages
6,113,915
Members
448,532
Latest member
9Kimo3

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