+ Reply to Thread
Results 1 to 4 of 4

Number of days active per year

  1. #1
    Registered User
    Join Date
    06-03-2016
    Location
    Oslo
    MS-Off Ver
    2010
    Posts
    8

    Question Number of days active per year

    Hi!

    I'm currently having a bad cold, and my brain cannot function 100%, but I need to get some things done before Friday and I'm losing my mind over something that seems simple: having a formula that counts for each year of a given contract, how many days (both normal days and workdays) a site will be open.

    Ex:
    Contract start-up date 01.09.2018
    Site Start-up date End date
    A 01.09.2018 31.08.2023
    B 01.09.2018 31.03.2021
    C 01.12.2019 31.08.2023

    Year 1 is from 01.09.2018 to 31.08.2019 (so site A and B get 365 days while Site C gets 0)
    Year 2 is from 01.09.2019 to 31.08.2020 (so site A and B get 365 days while Site C gets less) and so on and so forth

    I attached an example of what I'm looking for. With my trials included... Oh boy, did I try...

    Thanks for helping me!

    Kind regards,
    Vincent
    Attached Files Attached Files
    Last edited by Mrkumbo; 01-24-2018 at 04:13 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Number of days active per year

    I had to insert an extra column (yellow). In F5, copied across and down:

    =MAX(MIN(F$2,$C5)-$B5,0)-SUM($E5:E5)

    and in Q5, copied across and down:

    =MAX(NETWORKDAYS($B5,MIN(Q$2,$C5)),0)-SUM($P5:P5)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    06-03-2016
    Location
    Oslo
    MS-Off Ver
    2010
    Posts
    8

    Re: Number of days active per year

    Looks like it work flawlessly!

    Many thanks!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Number of days active per year

    You're welcome and thanks for the rep.

+ 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. Replies: 16
    Last Post: 08-22-2017, 11:20 AM
  2. Number of days in a fiscal year
    By managingcrap in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-03-2016, 07:59 AM
  3. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  4. [SOLVED] Number of days based on 365 day year
    By m.dominguez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-16-2013, 02:54 PM
  5. Convert a multiple year list of 365 days/year into an equivalent of 360 days/year
    By lobotomy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-24-2012, 05:39 PM
  6. [SOLVED] Number of days in a year
    By XtraNeed in forum Excel General
    Replies: 4
    Last Post: 09-21-2005, 11:05 AM
  7. How to get the number of days in a year?
    By aijihz in forum Excel General
    Replies: 2
    Last Post: 03-10-2005, 01:45 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