+ Reply to Thread
Results 1 to 2 of 2

Date calculation-certain periods

Hybrid View

  1. #1
    Registered User
    Join Date
    05-24-2010
    Location
    Tokyo
    MS-Off Ver
    Excel 2003
    Posts
    2

    Date calculation-certain periods

    Hi there,

    I hope someone can help me with my problem.

    I have a problem with the calculation of dates. We have certain periods given and people who have been working within these periods. The problem is that the time the people stay is overlapping with the ends of the periods.

    So I'd like to know how many days the people actually stayed in the respective periods.

    Thanks for your effort.
    Attached Files Attached Files
    Last edited by Lennakame; 05-24-2010 at 05:26 AM.

  2. #2
    Forum Contributor
    Join Date
    08-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    149

    re: Date calculation-certain periods

    I had to change your data layout a little to make it work. I changed the dates because I needed to make sure it worked correctly if the dates fell on the first or last of a period.

    Basically, it's a sequence of IF statements for 4 different possibilities:
    I: dates are entirely within a period
    II: dates start in current period and end in a later one
    III: dates overlap the period completely
    IV: dates start in a prior period and end in the current one
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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