Vlook up issue

bigry26

New Member
Joined
Apr 25, 2018
Messages
14
I need some help with a formula. In theory, multiplying weight supposed to be in bags x bags = total weight in bags but we used more than the theory number of lbs. The difference between what we were supposed to used and actually used is scrap. I need to find out what the scrap and yields are but I'm not getting my numbers to jive. I need to write a formula that looks up the part data and autofills how much was used in reality in order to get a yield and scrap. Any help would be appreciated.

[TABLE="width: 618"]
<colgroup><col><col><col><col span="4"><col><col span="2"></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Part #[/TD]
[TD]Lbs[/TD]
[TD][/TD]
[TD]Part #[/TD]
[TD]Lbs/bag[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4/22/2018[/TD]
[TD="align: right"] 4/23/2018[/TD]
[/TR]
[TR]
[TD="align: right"]4/22/2018 [/TD]
[TD]ABC[/TD]
[TD="align: right"]4,522[/TD]
[TD][/TD]
[TD]ABC[/TD]
[TD="align: right"]0.5[/TD]
[TD][/TD]
[TD]Bags[/TD]
[TD="align: right"]5,300[/TD]
[TD="align: right"]3,800[/TD]
[/TR]
[TR]
[TD="align: right"]4/22/2018[/TD]
[TD] DEF[/TD]
[TD="align: right"]9,871[/TD]
[TD][/TD]
[TD]DEF[/TD]
[TD][/TD]
[TD].75[/TD]
[TD]Lbs[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4/22/2018 [/TD]
[TD]ABC[/TD]
[TD="align: right"]8,745[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4/23/2018 [/TD]
[TD]ABC[/TD]
[TD="align: right"]4,561[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]theory[/TD]
[TD="align: right"]2,650[/TD]
[TD="align: right"]1,900[/TD]
[/TR]
[TR]
[TD="align: right"]4/23/2018 [/TD]
[TD]DEF[/TD]
[TD="align: right"]5,687[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]reality[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]4/23/2018[/TD]
[TD] ABC[/TD]
[TD="align: right"]1,358[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Yield[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Try using SUMIFS.
The example below adds the weight for ABC in your lbs column for each date.
Excel Workbook
ABCDEFGHIJ
1DatePart #LbsPart #Lbs/bag4/22/20184/23/2018
24/22/2018ABC4,522ABC0.5Bags5,3003,800
34/22/2018DEF9,871DEF0.75Lbs
44/22/2018ABC8,745ABC
54/23/2018ABC4,561theory2,6501,900
64/23/2018DEF5,687reality132675919
74/23/2018ABC1,358Yield
Sheet
 
Upvote 0
What ver. of Excel are you using (SUMIFS is in Excel 2010 and higher)?
 
Upvote 0
If your cell is formatted as "accounting" and SUMIFS returns 0 it will show up as -.
-Check your ranges.
-Make sure your dates are actual Excel dates and not text (both the dates in the column Date and your look up date).
If that doesn't work post a copy of the formula you are using and whats in the different columns (ex. which column holds the date, lbs, etc.
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,122
Members
452,381
Latest member
Nova88

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