+ Reply to Thread
Results 1 to 3 of 3

Help on formula and/or function to remove date periods within another date period

  1. #1
    Registered User
    Join Date
    05-21-2014
    Posts
    2

    Help on formula and/or function to remove date periods within another date period

    Hi everyone, and thanks in advance for trying to help out...

    My problem is this: I'm creating a table where I write down a start date, a finish date and the table gives me the number of days that have passed between those. Till here everything is ok (and ridiculously easy), the problem is that i have multiple date periods and some of them are one within another, and I need those not to be counted twice, i'll give you and example:

    (format used mm/dd/yyyy)

    1 - 04/01/2003 to 02/28/2011 has 2890 days
    2 - 05/23/2004 to 07/21/2010 has 2250 days
    TOTAL 5140

    but the thing is, the second period is "inside" the first one, so i need a formula/function to automatically exclude that period from the final count (total), and i would need it to be done in a table with more than 200 date period entries.

    Sorry for my bad english (i'm brazilian), hope you guys can help me out...

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Help on formula and/or function to remove date periods within another date period

    What happens if the start date range is in the first range but the end date is not?
    e.g.

    3 - 05/23/2004 to 12/31/2011

    Couldnt you sort this out with some form of MIN(start date) and MAX(finish date) ?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    05-21-2014
    Posts
    2

    Re: Help on formula and/or function to remove date periods within another date period

    First of all, thanks for the reply...

    In the suggested hypothesis, the table would have to exclude the period comprehended between 05/23/2004 to 02/28/2011, but still count the period of 03/01/2011 to 12/31/2011...

+ 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] Semi Monthly autofill Period Starting Date based on Period Ending Date
    By greatwent in forum Excel General
    Replies: 6
    Last Post: 01-30-2014, 03:29 AM
  2. Replies: 0
    Last Post: 07-25-2013, 10:03 AM
  3. Replies: 2
    Last Post: 06-07-2013, 02:21 PM
  4. Index, Small, Row formula, need to add reference to date period
    By Gary Lockton in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-04-2012, 10:29 AM
  5. Formula to calculate Period & Week into Date?
    By AstroPenguin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-17-2008, 08:12 PM

Tags for this Thread

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