+ Reply to Thread
Results 1 to 5 of 5

Year wise cumulative split of days

  1. #1
    Registered User
    Join Date
    11-24-2013
    Location
    Mumbai
    MS-Off Ver
    Office 365
    Posts
    67

    Year wise cumulative split of days

    Dear Experts,

    Thanks for your valuable support. I am looking to split the total days cumulative year wise looking into start days and end days. Year wise days should be cumulative. i.e. year 2013 days are 0, 2014 days are 207, 2015 days are 572 and so on till it check the end date. Beyond it should zero. Example file is attached for your reference.

    Days Years - start from 01/04/ and end at 31/03
    Start Date End Date Total Days 31-03-2012 31-03-2013 31-03-2014 31-03-2015 31-03-2016 31-03-2017 31-03-2018
    06-09-2013 05-06-2016 1004 0.00 0.00 207.00 572.00 938 1303.00 0.00 0.00 0.00 0.00

    Regards,
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Year wise cumulative split of days

    Something like this and dragged:

    =IF(OR(D$4<$A$5,D$4>$B$5),0,IF(D$4>=$A$5,D$4-$A$5+1))

    But in your data, the end date is 05-06-2016, so the number of days for 31-03-2017 should be 0, not 1303.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Year wise cumulative split of days

    I agree with Paul that 1303 is wrong but thik the answer should be 1004

    in d5
    =IF(AND($A5<D$4,$B5>C$4),MIN(D$4,$B5)-$A5+1,0)

    but I think it does the same thing

  4. #4
    Registered User
    Join Date
    11-24-2013
    Location
    Mumbai
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Year wise cumulative split of days

    Hi PaulM100

    Thanks for your prompt reply. Formula works except for end year 31.03.2017 since end date 05-06-2016 falls in 31.03.2017. It shows 0 days in year 31.03.20017 where cumulative days should be 1004.

    Reagrds,

  5. #5
    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
    28,153

    Re: Year wise cumulative split of days

    @Davsth,

    Note the OP had total days as 1004 so your answers is correct: he was looking for the answers you supplied!!

+ 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] Maximum cumulative value for the consecutive 3 days of data in 1 year period
    By bennyistanto in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-26-2017, 08:43 AM
  2. [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
  3. [SOLVED] Cumulative monthly count needed for department wise
    By kittu55 in forum Excel General
    Replies: 3
    Last Post: 08-19-2015, 08:47 PM
  4. Year wise formatting
    By arhamm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-01-2014, 03:31 PM
  5. Year wise formatting
    By arhamm in forum Hello..Introduce yourself
    Replies: 0
    Last Post: 06-01-2014, 04:43 AM
  6. [SOLVED] I want change the data row wise to coloum wise & coloumn wise to row wise.
    By satputenandkumar0 in forum Excel General
    Replies: 3
    Last Post: 12-20-2012, 08:34 AM
  7. 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

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