+ Reply to Thread
Results 1 to 8 of 8

Calculating similar information/values as per two different dates

  1. #1
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Question Calculating similar information/values as per two different dates

    Dear experts,

    Again I am in need of a solution for the following requirement. Hope you would give me your valuable support in this regard too.

    Description about the situation

    I have attached here an excel sheet which has a sheet tab called "Master sheet" and another called "Advanced Production Summary". The Advanced production summary already includes the planned production as per the master sheet( I didn't delete formulas as I though they would help in the new requirement).

    The new situation is like this;
    There are occasions that we do "advanced production" by pulling out quantities from "future dates" to date. This normally happens due to filling the current gaps in factory production lines.

    However, due to this, I have to "reduce" the "advanced produced quantities" from "future dates" to see the "actual quantities" that are left for the future dates and "re allocate" quantities to fill the planned capacity in the future dates(weeks/months)

    As a solution, I have put a remark column(AA) to mention the "situation" and the "production completed date"(AB). Now I want to show these quantities as per their "original dates" as per the date in the column P of the master sheet, and "completion date" as per the date in the col AB in the master sheet.

    In other words, "the same quantity" will appear in two different months based on their "Original Cut off date"(col P), and "Advance Production Completion Date"(AB). It is also essential to show the "Advanced Completed Quantities" in RED FONT colour.

    Can there be a formula solution for this? If showing this situation in the same sheet is difficult, it is okay to use two sheets and "generate a summary sheet"

    Regards
    Anuruddha
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,710

    Re: Calculating similar information/values as per two different dates

    There is no sheet called "Advanced Production Summary" (but there is "Week and Department wise summe"?)

    I also cannot see any sample output so can you please add examples (including "calculations") of what is required.

  3. #3
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Re: Calculating similar information/values as per two different dates

    Hi John,
    Nice to see you on the forum.

    I think, this requirement of mine should be changed. I understood that, the attached format is not practical to have the said output/result.

    Therefore, I have attached here the work sheet again with the new "SUMMARY" format.

    I have highlighted one area in the master sheet in yellow to show the completed styles in advance(cut off in Nov, but completed in Oct). These "in advance completed styles" will not come in a same area in the sheet as I have highlighted in practical situation. I have selected one area to show the requirement.

    What I need here, is to "filter" those styles as per the information in "summary" sheet. I have copied them manually to show the requirement. However, a formula is required to filter them from different months from the "master sheet" and show in the summary sheet in order of the month.

    Attached here the new work sheet.

    Regards
    Anuruddha
    Attached Files Attached Files
    Last edited by AliGW; 10-22-2017 at 02:52 AM. Reason: Unnecessary quotation removed.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,710

    Re: Calculating similar information/values as per two different dates

    In A4

    =IFERROR(INDEX('Master Sheet'!B$5:B$1000,SMALL(IF('Master Sheet'!$AA$5:$AA$1000="Completed",ROW($B$5:$B$1000)-ROW($B$5)+1,""),ROWS($B$5:$B5))),"")


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy acroos replacing INDEX range with appropriate Master range

    Copy down

  5. #5
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Exclamation Re: Calculating similar information/values as per two different dates

    Hi John,
    I was busy with some other stuff last few days.

    The above solution worked for me very well.
    However, some times "summarized data" cannot be seen on the "Monthly Advanced Production Summary". I noticed this happened when I added rows to the "Monthly Advanced Production Summary" sheet.

    Anyway, today I did some changes in the other sheets in this excel work sheet(it has some more sheet tabs, and I deleted them to reduce the size), the data on the "Monthly Advanced Production Summary" disappeared.


    Attached the error sheet for your reference.


    Regards
    Anuruddha
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,710

    Re: Calculating similar information/values as per two different dates

    What is wrong with the attached?

    formulae ..

    ..confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Re: Calculating similar information/values as per two different dates

    Ohh..I am sooo forgetful. Curse my stupidity.
    Thanks John..

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,710

    Re: Calculating similar information/values as per two different dates

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Calculating values between dates
    By simonplus in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-13-2016, 04:34 PM
  2. [SOLVED] Calculating two values between two dates (per week)
    By kettlecorn22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2014, 01:47 PM
  3. Reformatting a sheet with many iterations of a similar grouping of dates and values
    By Bobby Green in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-14-2013, 02:19 PM
  4. calculating values over dates
    By neocuproine in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-15-2012, 03:10 PM
  5. [SOLVED] Excel calculating same dates as different values???
    By hijinxx in forum Excel General
    Replies: 4
    Last Post: 05-15-2012, 06:10 AM
  6. [SOLVED] Calculating Dates Using Different Values for NETWORKDAYS
    By Kelly in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2006, 10:15 AM
  7. [SOLVED] Calculating for number of days when values are in dates
    By pumper in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-17-2005, 01:08 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