+ Reply to Thread
Results 1 to 9 of 9

How to calculate the elapsed working days between two dates based on more criterias

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    How to calculate the elapsed working days between two dates based on more criterias

    Hello,

    I would like to ask some help from you to calculate the elapsed working days between two dates based on more criterias.
    In shortly, I want to know the number of elapsed working days based on Material + actually linked Batch + Highest iteration + "Ok" Status.

    For the details and the manually added expected results please see the attached file.

    Thank you in advance for your reply!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: How to calculate the elapsed working days between two dates based on more criterias

    It appears that I am not understanding something or your sample doesnt show us some examples of "number of elapsed working days based on Material + actually linked Batch + Highest iteration + "Ok" Status."
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Hi
    use in N3 the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down

  4. #4
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Hi,

    I try to explain.

    The point is that: we check the Batch numbers per material on different date range (with start and end date), the event number of batch check is the "Iteration", and when the Batch was accepted then receive the OK status. My main problem is that some Batch number is repeating regarding the same material.

    For example (range: A17:M18): the Material of Batch 7 was started to check on 10/01/2016 and finished on 25/01/2016, so the working days is 11.

    but... there was an other check (range A19:M22) started on this date (10/01/2016) regarding this material but it was finished on 23/02/2016, in this case the number of working days were 32.

  5. #5
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Hi José,

    Your solution give me back the expected result, but each day we add new rows to the list. How could be modify the formula in order to avoid the manual range adjustment?

  6. #6
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Ohh... I've just checked again with larger data set and in some case the formula is not give back the expected result. Could you have a look please?
    Attached Files Attached Files

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Hi
    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I correct this ... ($J$3:$J$203=J3) ....

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Sorry
    Iteration don't make sense.
    use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and see if is this you want.
    See the file
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to calculate the elapsed working days between two dates based on more criterias

    Thanks, works fine.

+ 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. Calculate working days between two dates for multiple tasks
    By Quasar82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-24-2016, 02:31 PM
  2. [SOLVED] Calculate # working days between dates - Help!
    By ClairyBerry in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2016, 08:25 PM
  3. [SOLVED] Calculate days elapsed based on criteria from other cells
    By jmcnea in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 12:09 PM
  4. Calculate weeks between two dates (working Days)
    By Zyphon in forum Excel General
    Replies: 6
    Last Post: 04-23-2008, 12:12 PM
  5. How to Calculate Days elapsed where Weekend is calculated as 1 Working Day?
    By speakbones in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2007, 07:20 PM
  6. [SOLVED] Calculate elapsed working days
    By RUSH2CROCHET in forum Excel General
    Replies: 6
    Last Post: 03-09-2006, 04:40 PM
  7. [SOLVED] Is there a way to calculate business working days between dates i.
    By hjyoungii in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2005, 01:06 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