Get Earliest Full-Kit Date from Supply Plan+ BOM with VBA

dungnv

New Member
Joined
Feb 6, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I need help...

With VBA, how to get the earliest full kit date for 10pcs SKU from the supply plan and BOM?

** B, C, E are semi-FGs and their inventories need to be used up first. If there is a short, will start fresh build from components. ** D, F are components.

Thanks alot.


fullkit.xlsx
ABCDEFGHIJKLMNOPQRST
1SupplyBOMCheck Week 1
2Week123456ChildQtyParent
3A443379A1SKUDemand RequestInventoryShort
4B8107244B1ASKU100-10
5C8631048C2A1A104-6
6D6641056D2B1B682
7E268652E2C2C128-4
8F739983F2E2D060>=0, OK
92E82-6
10AMake2F127-5<0, can't build
11B, C, EMake/Buy
12D, FBuy
13
14
15BOM
16Usage
17SKU
18A1
19B1
20D2
21C2
22E2
23F2
24
25
26Order
27SKU10
Sheet4
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,215,332
Messages
6,124,313
Members
449,153
Latest member
JazzSingerNL

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