+ Reply to Thread
Results 1 to 3 of 3

Bar Stock Calculator

  1. #1
    Registered User
    Join Date
    04-21-2009
    Location
    East Peoria, IL, USA
    MS-Off Ver
    Excel 2013
    Posts
    39

    Bar Stock Calculator

    I am trying to develop a calculator to help determine how much and what lengths of bar stock needs to be purchased based on orders. We receive orders of several different part lengths and varying quantities. We buy bar stock then cut it to specified length, bar stock can be one of two lengths. I can do some of the easier math, but I keep running into trouble with so many different possible outcomes. For example if we receive orders for 10 of part1, 15 of part2, 13 of part3, etc, how many of each bar do I need to order to meet the demand but not have excessive leftover stock? I have attached what I came up with so far, please let me know if further explanation is needed. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,814

    Re: Bar Stock Calculator

    I don't have much experience with "cutting stock" problems. I know they are "NP-hard", which means that there is not really good, simpler-than-brute-force algorithms for them.

    However, there is much written about the cutting stock problem, including sample spreadsheets and algorithms. I would suggest you start with
    Wikipedia: https://en.wikipedia.org/wiki/Cutting_stock_problem
    the people behind Solver: https://www.solver.com/cutting-stock
    maybe this: http://blog.excelmasterseries.com/20...aste-with.html

    and/or put something like "cutting stock problem Excel" into your favorite internet search engine.

    From there, let us know where you get stuck and we'll help where we can.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    04-21-2009
    Location
    East Peoria, IL, USA
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: Bar Stock Calculator

    Thanks MrShorty. I'll look into the resources you suggested.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] stock allocation calculator help
    By reggie:| in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2016, 02:28 PM
  2. Replies: 31
    Last Post: 10-28-2015, 01:54 AM
  3. Identify the earliest expiry date on stock based on current stock levels
    By julie86xx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2013, 01:08 AM
  4. Replies: 4
    Last Post: 01-29-2013, 02:26 AM
  5. Replies: 0
    Last Post: 10-28-2012, 07:22 AM
  6. Integrated calculator in excel 07 instead of separate calculator
    By Wayne in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2006, 11:20 AM
  7. A calculator for inventory safety stock
    By Angelus in forum Excel General
    Replies: 0
    Last Post: 05-10-2006, 03:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1