Sum with multiple conditions

aarti_rto

New Member
Joined
Nov 29, 2019
Messages
49
Office Version
  1. 2016
Platform
  1. Windows
  2. Web
Hello Experts,

i need to plan my purchase requirements , we have a multilevel Bill of materials & few components are manufactured inhouse , few are from external vendors , our vendor base is also global..
few components are common for more than 1 finished goods..
some components are required to manufacture product as well as we directly sale those parts...

please note below multilevel bill of material data..
Finish Goods which we sale to customer (A)Components required for producing FG (B)Raw material required to produce B ( C )Part NumberUOMCatComponent Quantity/FGRemarksProcurement type
16209900PcFG1inhouse
1906049970Pccomponent1external vendor
262035000Pccomponent1inhouse
2-13120090KGRaw material required to produce Component82.547external vendor
2230115PcFG4
162919000Pccomponent1external vendor
2906839971Pccomponent1external vendor
3907009972Pccomponent1external vendor
4830115000Pccomponent1inhouse
4-19400003PcRaw material required to produce Component1external vendor
3230885PcFG1inhouse
162009000Pccomponent1external vendor
26202000Pccomponent1inhouse
2-1244600KGRaw material required to produce Component51.48external vendor
362049900Pccomponent1these are trading parts which sale to customer directly as well as use as a component to produce another FG ..external vendor
4830885000Pccomponent1external vendor
5900109970Pccomponent1external vendor
4232265PcFG1inhouse
162569000Pccomponent1external vendor
262909000Pccomponent1external vendor
3832265000Pccomponent1inhouse
3-13112153PcRaw material required to produce Component1external vendor
4906019971Pccomponent1external vendor
5907019972Pccomponent1external vendor
562049900PcFG & Component1these are trading parts which sale to customer directly as well as use as a component to produce another FG ..external vendor
662059900PcFG & Component1external vendor
7620299PcFG1inhouse
1900109970Pccomponent1external vendor
26202000Pccomponent1inhouse
2-1244600KGRaw material required to produce Component82.547external vendor
now we have a monthly requirement of finish goods from customer as below....

Customer Reuirement
FG Part NumberCustomer Requirement
62099002,00,000
23011550,000
23088520,000
23226510,000
620499002,00,000
6205990050,000
6202993,00,000
point we need to consider in material planning is.

customer requirement - (available stock @ plant + transit material)

suppose available stock @ plant is as below...

Part NumberQty
6209900155
9060499701,136
620350001,117
31200901,947
230115137
629190001,830
9068399711,917
9070099721,925
830115000426
9400003322
230885228
620090001,486
62020001,365
244600481
830885000811
9001099701,759
2322651,474
625690001,193
62909000492
832265000314
3112153779
9060199711,444
907019972562
620499001,755
62059900998
620299644
and transit material is as below

Part NumberQty
9068399711,000
9070099721,000
now in a part wise summary sheet or any other sheet i need below planning details....(part number should be unique , no duplication).

Part NumberSourceTotal Customer Requirementavailable stock @ plant +transit materialNet Reuirement
6209900inhouse
906049970external vendor
62035000inhouse
3120090external vendor
230115inhouse
62919000external vendor
906839971external vendor
907009972external vendor
830115000inhouse
9400003external vendor
230885inhouse
62009000external vendor
6202000inhouse
244600external vendor
830885000external vendor
900109970external vendor
232265inhouse
62569000external vendor
62909000external vendor
832265000inhouse
3112153external vendor
906019971external vendor
907019972external vendor
62049900external vendor
62059900external vendor
620299inhouse



it would be great help if anyone can provide a solution as currently for this i need to do multiple calculations in multiple sheets..
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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