|
OK, I have created a static model of a product that consists of a printed circuit board and a bunch of electronic components. The bill of material lists each part, unit price, qty used in the assy. Because each part has a different reel size qty, I always have a bunch of parts left over in odd qtys, based on these variables.
So I plug in say 3000 units to build (cell C4) and the model calculates the net value of the unused parts remaining. For example, if I need to buy 5000 resistors (1 per), I'd have 2000 left over @ .005 each = $10.00 of purchased, unused components. My next part I have to buy 1200/reel (3600 pcs total) and I'd have 600 left at, say $5.00 per part or $3000.00. And so on. I sum the total value of excess parts and divide that by the up level build qty to get a per unit burden for stuck (unusable) inventory (say calculated cell R55).
I don't want to do 9900 "what if's" to determine the best qty to build to minimize my stuck inventory.
So I need a simple macro that will automate the model to test cell C4 from a range of 100 to 10,000 (9900 iterations) - for each # in the range, print the value of R55 in the adjacent cell. I can then data sort these 2 columns to list the order of per unit burden from least to most.
Is that clearer?
|