+ Reply to Thread
Results 1 to 4 of 4

I need a formula or macro to do reverse planning in my file

  1. #1
    Registered User
    Join Date
    07-26-2016
    Location
    Espaņa
    MS-Off Ver
    10
    Posts
    4

    I need a formula or macro to do reverse planning in my file

    Hello everyone,

    I have been in the forum for a long time and I have learned some things for my excel sheets, but I cannot do what I need now.

    I have a sheet in which I load items of products on line 5 per week and what I need is to have a macro that goes through all lines 4-3-2-1 these items, depending on the times (in days) indicated on the Date sheet you have for each item.
    In the calculation of the macro, Saturdays and Sundays, and also holidays, must be discounted.

    Is this possible?

    Thanks,

    Fernando

    Hello,

    What I'm trying to do is reverse planning.

    For example:

    In Line 5 I have a product to manufacture in a certain week and knowing the lead time of the product in each line, I can determine the week of completion in each of the lines 4-3-2-1.

    Thank you

    Fernando
    Attached Files Attached Files
    Last edited by davesexcel; 02-15-2021 at 07:26 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,526

    Re: I need a formula or macro to do reverse planning in my file

    Are the green highlighted values in rows 1028:1042 on the production sheet the expected results.
    If so, please tell us why they are expected.
    If not, please show us some expected results along with an explanation of why they are the expected.
    Remember that you are the expert about what you are attempting, so supply enough details that someone with no prior knowledge of the way your production lines work can understand.
    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
    07-26-2016
    Location
    Espaņa
    MS-Off Ver
    10
    Posts
    4

    Re: I need a formula or macro to do reverse planning in my file

    Hello JeteMc,


    The data highlighted in green is data that I know and what I need is to calculate from those weeks when I should deliver on each line (line 4 -> line 3 -> line 2 --line 1).

    For this I have the times of each product in each line, for example for the product (item = Z0011, the production time in Line 1 = 4.9 days, for Line 2 = 2.30 days, for line 3 = 1, 70, for Line 4 = 2.00 days, for Line 5 = 1 day. From the weeks:

    Item Wk12 Wk13 Wk14 Wk15 Wk16 Wk17 Wk18
    Z0011 5 2 1 1 1


    With the times indicated calculate from Line 5 to Line 1.

    You have to consider that each week you only work from Monday to Friday and it is also necessary to subtract holidays.

    Thank,

    Jose

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,526

    Re: I need a formula or macro to do reverse planning in my file

    Sorry, I still have no idea of what you want to see or where you want to see it.
    I feel that the best way to communicate your request would be to upload another .xlsx file manually showing some of the results that you want a formula/code to automate.
    Let us know if you have any questions.

+ 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. excel macro running on machine, but not on other machine. Language setting?
    By rickmeister in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2017, 09:09 AM
  2. excel userforms created with a 32 bit machine not loading on a 64 bit machine
    By stewe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-10-2016, 10:12 PM
  3. Working code on my machine is returning out of range error on another machine.
    By je.suis.ketan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2012, 11:51 PM
  4. Macro runs fine on my machine; won't run on another user's machine
    By brl8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2010, 03:16 PM
  5. Replies: 2
    Last Post: 03-01-2006, 12:25 AM
  6. Replies: 6
    Last Post: 02-28-2006, 01:20 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