+ Reply to Thread
Results 1 to 4 of 4

Plan a monthly production in specific week based on expected stock out date

  1. #1
    Registered User
    Join Date
    10-24-2019
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    18

    Plan a monthly production in specific week based on expected stock out date

    Hello,

    I'm looking for a formula to place a monthly production into a specific week 7-10 days before the predicted stock out date.
    The opening stock compared to next months forecast will predict what day of the month the stock covers to.
    The monthly production is set up by formula to give a desired month end stock and also factors in a min run.
    Currently I manually place this in a specific week but I want to automate it into a week so production takes place at least the week prior to stocking out.

    I've been able to do this by asking if the opening stock is less than average week stock x 1.5 then the monthly production goes into that week, else a blank...... but the problem is the following week pulls in the same result and I've not been able to nest if statements properly to put in a blank a week later if production has been filled the prev week. Hope that makes sense!

    Extras I'd like later would be to maybe split a run over two weeks if the monthly production exceeds a max run but that's for later maybe!

    Struggling with the attachment so hopefully it goes up with this!
    Attached Files Attached Files
    Last edited by ciderhead; 01-29-2020 at 12:25 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,825

    Re: Plan a monthly production in specific week based on expected stock out date

    This formula places the values in the same cells as they were previously place (manually): =IF(ISTEXT(K3),"",IF(AND(K3>=DATE(YEAR(K3),MONTH(K3),$F4)-10,K3<=DATE(YEAR(K3),MONTH(K3),$F4)-7),$J4,""))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    10-24-2019
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    18

    Re: Plan a monthly production in specific week based on expected stock out date

    Thanks for that. It gave me a hint in the right direction and I've been able to solve it. Many thanks for your time and assistance.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,825

    Re: Plan a monthly production in specific week based on expected stock out date

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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] Automating Stock Levels by Production date vs Total Cumulative Stocks
    By Asfan91 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-28-2018, 08:36 AM
  2. Replies: 0
    Last Post: 08-18-2017, 03:49 AM
  3. Replies: 2
    Last Post: 07-09-2017, 07:23 AM
  4. [SOLVED] Production Plan - Start From Specific Date Only
    By chullan88 in forum Excel General
    Replies: 8
    Last Post: 08-18-2016, 05:32 AM
  5. Replies: 31
    Last Post: 10-28-2015, 01:54 AM
  6. Replies: 0
    Last Post: 03-26-2014, 05:23 AM
  7. Production Plan
    By pauldaddyadams in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 01-05-2010, 04:46 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