Tracking inventory - raw materials

%3CLINGO-SUB%20id%3D%22lingo-sub-288106%22%20slang%3D%22en-US%22%3ETracking%20inventory%20-%20raw%20materials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-288106%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20not%20sure%20if%20what%20I%20want%20to%20create%20is%20possible%20but%20any%20assistance%20or%20guidance%20in%20the%20right%20direction%20will%20be%20very%20much%20appreciated.%20I%20am%20trying%20to%20create%20a%20spreadsheet%20that%20will%20allow%20me%20to%20track%20the%20aluminum%20and%20drywall%20needed%20in%20the%20fabrication%20of%20certain%20frames%20that%20we%20make.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20aluminum%20comes%20in%20bars%20that%20are%20157.48%20inches%20long.%20The%20drywall%20comes%20in%20sheets%20that%20are%204ft%20x%208ft.%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20I%20am%20trying%20to%20achieve%3A%3CBR%20%2F%3E%3CBR%20%2F%3ETwo%20orders%20comes%20in%2C%20for%20example%3A%20One%20is%20for%208%20units%20that%20are%2018%22x48%22%20and%20the%20other%20is%20for%204%20units%2012%22x12%22.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20row%20for%20each%20order.%20In%20the%20%22Quantity%22%20column%20I%20would%20input%208%20and%204%20respectively.%20In%20the%20%22Horizontal%20Side%22%20column%2C%20I%20would%20input%2018%22%20and%2012%22%20respectively%20and%20in%20the%20%22Vertical%20Side%22%20column%2C%20I%20would%20input%2018%22%20and%2012%22.%3CBR%20%2F%3E%3CBR%20%2F%3ENow%20the%20fun%20starts%3A%20I%20would%20like%20excel%20to%20somehow%20be%20able%20to%20calculate%20exactly%20how%20much%20aluminum%20and%20how%20much%20drywall%20I%20need%20to%20manufacture%20those%20frames.%20Meaning%2C%20the%20system%20should%20%22know%22%20that%20to%20make%20the%208%2018x48%20frames%20I%20will%20need%208%20bars%20of%20aluminum%3A%26nbsp%3B%3CBR%20%2F%3E-%202%20bars%20are%20used%20for%20the%2018%22%20(18*4%3D144%22%20out%20of%20the%20157.48%22%20bar%20and%20I%20am%20left%20with%202%20pieces%20of%20scrap%20that%20are%2013.48%22%20long)%3CBR%20%2F%3E-%206%20bars%20are%20used%20for%20the%2048%22%20(15%20pieces%20of%2048*3%3D144%22%20out%20of%20the%20157.48%22%20bar%2C%20and%20I%20am%20left%20with%205%20pieces%20of%20scrap%20that%20are%2013.48%22%20long%20plus%201%20more%2048%22%20piece%20out%20of%20the%206th%20bar%20and%20I%20am%20left%20with%20a%20bar%20109.48%22%20long).%3CBR%20%2F%3E%3CBR%20%2F%3EThen%2C%20the%20formula%20should%20capture%20that%20there%20are%20now%207%20pieces%20that%20are%2013.48%22%20long%20plus%20one%20more%20piece%20that%20is%20109.48%22%20long%20so%2C%20when%20the%20next%20order%20gets%20calculated%2C%20it%20uses%20up%20those%20pieces%20of%20aluminum%20(if%20they%20are%20big%20enough)%20before%20it%20starts%20using%20up%20a%20new%20aluminum%20bar.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20for%20order%20%232%2C%20I%20would%20require%20a%20total%20of%2016%2012%22%20pieces.%20The%20formula%20would%20recognize%20that%20there%20are%207%20pieces%20that%20are%2013.48%22%20long%20that%20can%20be%20used%20to%20make%207%20of%20the%2016%2012%22%20frames%2C%20then%20realize%20that%20the%20remaining%209%20pieces%20can%20be%20made%20out%20of%20the%20109.48%22%20bar.%3CBR%20%2F%3E%3CBR%20%2F%3ESame%20idea%20with%20the%20drywall%20piece...%20the%20formula%20should%20calculate%20how%20many%20of%20the%208%2018%22*48%22%20panels%20can%20be%20cut%20out%20of%20the%204ft%20x%208ft%20sheets%20and%20recognize%20that%20the%202%2012%22x12%22%20may%20be%20cut%20out%20of%20the%20remaining%20pieces.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20the%20formula%20that%20calculates%20how%20many%20bars%20are%20needed%20to%20manufacture%20the%20frames%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3DIF(%5B%40Quantity%5D%3D%22%22%2C%22%22%2CROUNDUP((%5B%40Quantity%5D*%5B%40%5BInside%20Panel%20Horizontal%5D%5D*2)%2F(157.48-ROUNDDOWN(157.48-ROUNDDOWN(157.48%2F%5B%40%5BInside%20Panel%20Horizontal%5D%5D%2C0)*%5B%40%5BInside%20Panel%20Horizontal%5D%5D%2C0))%2C0)%2BROUNDUP((%5B%40Quantity%5D*%5B%40%5BInside%20Panel%20Vertical%5D%5D*2)%2F(157.48-ROUNDDOWN(157.48-ROUNDDOWN(157.48%2F%5B%40%5BInside%20Panel%20Vertical%5D%5D%2C0)*%5B%40%5BInside%20Panel%20Vertical%5D%5D%2C0))%2C0)%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20not%20been%20able%20to%20figure%20out%20how%20to%20do%20the%20rest%20and%20I%20am%20coming%20to%20you%20for%20help...%20Does%20any%20of%20you%20believe%20this%20formula%2Fmacro%20is%20possible%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20again%20in%20advance!!%3CBR%20%2F%3E%3CBR%20%2F%3EMarta%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-288106%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Einventory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETrack%20and%20Change%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-288132%22%20slang%3D%22en-US%22%3ERe%3A%20Tracking%20inventory%20-%20raw%20materials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-288132%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20what%20you%20need%20is%20MRP%26nbsp%3B(Material%20Requirements%20Planning%20program).%3C%2FP%3E%3CP%3EThe%20processes%20that%20you%20mentioned%20will%20entail%20a%20very%20complex%20programming.%3C%2FP%3E%3CP%3Etry%20this%20site%20(%20google%20other%20sites%20as%20well..)%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.webandmacros.net%2Fexcel-mrp-macro.htm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.webandmacros.net%2Fexcel-mrp-macro.htm%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20you%20may%20find%20a%20solution%20(or%20someone%20here%20can%20offer%20you%20one).%3C%2FP%3E%3CP%3Ethanks..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1673912%22%20slang%3D%22en-US%22%3ERe%3A%20Tracking%20inventory%20-%20raw%20materials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1673912%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20I%20am%20trying%20to%20use%20excel%20to%20track%20raw%20ingredients%20we%20use%20in%20a%20food%20manufacturing%20business.%26nbsp%3B%20And%20then%20to%20track%20where%20the%20product%20goes%20after%20we%20ship%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EDean%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Visitor

Hello,

I am not sure if what I want to create is possible but any assistance or guidance in the right direction will be very much appreciated. I am trying to create a spreadsheet that will allow me to track the aluminum and drywall needed in the fabrication of certain frames that we make.

The aluminum comes in bars that are 157.48 inches long. The drywall comes in sheets that are 4ft x 8ft.

What I am trying to achieve:

Two orders comes in, for example: One is for 8 units that are 18"x48" and the other is for 4 units 12"x12".

I have a row for each order. In the "Quantity" column I would input 8 and 4 respectively. In the "Horizontal Side" column, I would input 18" and 12" respectively and in the "Vertical Side" column, I would input 18" and 12".

Now the fun starts: I would like excel to somehow be able to calculate exactly how much aluminum and how much drywall I need to manufacture those frames. Meaning, the system should "know" that to make the 8 18x48 frames I will need 8 bars of aluminum: 
- 2 bars are used for the 18" (18*4=144" out of the 157.48" bar and I am left with 2 pieces of scrap that are 13.48" long)
- 6 bars are used for the 48" (15 pieces of 48*3=144" out of the 157.48" bar, and I am left with 5 pieces of scrap that are 13.48" long plus 1 more 48" piece out of the 6th bar and I am left with a bar 109.48" long).

Then, the formula should capture that there are now 7 pieces that are 13.48" long plus one more piece that is 109.48" long so, when the next order gets calculated, it uses up those pieces of aluminum (if they are big enough) before it starts using up a new aluminum bar. 

So, for order #2, I would require a total of 16 12" pieces. The formula would recognize that there are 7 pieces that are 13.48" long that can be used to make 7 of the 16 12" frames, then realize that the remaining 9 pieces can be made out of the 109.48" bar.

Same idea with the drywall piece... the formula should calculate how many of the 8 18"*48" panels can be cut out of the 4ft x 8ft sheets and recognize that the 2 12"x12" may be cut out of the remaining pieces. 

I have the formula that calculates how many bars are needed to manufacture the frames:

=IF([@Quantity]="","",ROUNDUP(([@Quantity]*[@[Inside Panel Horizontal]]*2)/(157.48-ROUNDDOWN(157.48-ROUNDDOWN(157.48/[@[Inside Panel Horizontal]],0)*[@[Inside Panel Horizontal]],0)),0)+ROUNDUP(([@Quantity]*[@[Inside Panel Vertical]]*2)/(157.48-ROUNDDOWN(157.48-ROUNDDOWN(157.48/[@[Inside Panel Vertical]],0)*[@[Inside Panel Vertical]],0)),0)

I have not been able to figure out how to do the rest and I am coming to you for help... Does any of you believe this formula/macro is possible?

Thank you again in advance!!

Marta

2 Replies

I think what you need is MRP (Material Requirements Planning program).

The processes that you mentioned will entail a very complex programming.

try this site ( google other sites as well..)

https://www.webandmacros.net/excel-mrp-macro.htm

 

Hope that you may find a solution (or someone here can offer you one).

thanks..

 

 

Highlighted

Hi I am trying to use excel to track raw ingredients we use in a food manufacturing business.  And then to track where the product goes after we ship

 

Thanks

Dean