Calculate days between 2 dates

Angelic1

New Member
Joined
Oct 14, 2016
Messages
7
I would like to calculate number of days between 2 dates which consists of 3 or 4 years together.... I would like to know days between each financial year eg. 1-March-16 to 5-April-17


financial year -------------days
April 2015- March 2016--- 31 days
Apr 16 to mar 17-----------365 days
Apr 17 to mar 18--------- 5 days


please help me with the nested if date formula.... I m finding it difficult to crack..


thank you
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
[FONT=&quot]Thank you for replying, but this does not solve my purpose. I wanted to use IF & date function together in three different columns as below[/FONT]

[FONT=&quot]Activation date -21-Mar-2016 [/FONT]
[FONT=&quot]Expiration date - 9-Apr-2016[/FONT]
[FONT=&quot]total No Of Days - 20[/FONT]

[FONT=&quot]f.y.2015-16 - 11[/FONT]
[FONT=&quot]f.y.2016-17 - 9[/FONT]
[FONT=&quot]f.y.2017-18 - 0[/FONT]
 
Upvote 0



Financial Year
Activation date Expiry date Total No Of Days 2015-16 f.y.2016-17 f.y.2017-18
1-Apr-2015 30-Apr-2015 3030 0 0
21-Mar-2016 9-Apr-2016 2011 9 0
1-Mar-2016 20-Mar-2018 75031 365 354

<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Also, I'll like to add that i tried using the below formula for column 'Financial year 01-Apr-2015 to 31-Mar-2016', BUT I am not able to deal with rest 2 columns.

=IF(A1>DATE(2016,3,31),0,IF(B1< DATE(2016,4,1),C1,DATE(2016,3,31)-A1+1))
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,265
Members
449,219
Latest member
daynle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top