+ Reply to Thread
Results 1 to 2 of 2

Help with Generating Correct Replenishment Figures based on available stock

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Londonish, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Help with Generating Correct Replenishment Figures based on available stock

    Hi All,

    I'm working with a new retailer at work, and wondered if anyone could give me some help on creating the replenishment figures based on our available stock figures.

    I've already got a fixed replenishment of 4 units based on the retailers in stock figures that will be provided by spreadsheet for a number of their stores, and I've mostly got the logic down for that, but what I'd also like to incorporate into the replenishment orders for them is to take into consideration our available stock, so that I wouldn't try and order 4 copies on a replen (or whatever the replen amount is), if we don't have the stock.

    Currently I apply the below macro to generate the figures based on their figures:

    Please Login or Register  to view this content.
    But what I'd like to do now, is look at an additional sheet, that has the current IN STOCK figure, and using those figures to make sure that I don't send a replen for a qty that exceeds our available stock. Now I know I could add helper columns that shows the starting stock figure and then add some logic if I loop down the row, and then across the columns, but I was wondering if there was a more elegant solution by storing the available stock figure as a variable somehow, and then the macro would deduct the replen off of the available stock, until it hits zero, and then just display the replen as zero, without the need for either helper columns or formulas. I've attached a sample, if anyone can take a look. I am open to amending the macro to use For loops to loop down and then across rather than For Each. This is actually going to be a lot more than the sample data but the date 'should' stay similar to the attached, there will just be more rows, and more columns.

    Thanks in advance!

    Chriz
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-20-2012
    Location
    Londonish, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Help with Generating Correct Replenishment Figures based on available stock

    Hi All,

    I put my thinking cap on - and came up with a solution by myself after some time going back through my notes on variant arrays etc. Here is the macro I used to loop across the columns, then down the rows, factoring free stock from another sheet called 'In Stock' may be useful to someone else looking to do something similar:

    Please Login or Register  to view this content.
    Will mark this as solved.

    Thansk

    Chriz

+ 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. Stock Replenishment from WH
    By Learning Buddy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-11-2017, 05:57 AM
  2. Replies: 1
    Last Post: 04-26-2017, 12:06 PM
  3. [SOLVED] Stock replenishment model - cant get past circular reference problem
    By djon5020 in forum Excel General
    Replies: 2
    Last Post: 07-31-2014, 08:36 PM
  4. stock level figures
    By paul51 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-20-2014, 05:06 PM
  5. [SOLVED] Generating a basic catalog(ue) from a stock list
    By Chestertoys in forum Excel General
    Replies: 1
    Last Post: 01-13-2014, 02:31 AM
  6. Looking for some help with warehouse Stock replenishment worksheet
    By kat14 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-07-2012, 10:21 AM
  7. Generating a Lognormal distribution for a stock
    By msu4life in forum Excel General
    Replies: 1
    Last Post: 03-07-2012, 02:51 PM

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