ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Is there a way to modify the DAYS360 function to accomadate a 365 (https://www.excelbanter.com/excel-worksheet-functions/102810-there-way-modify-days360-function-accomadate-365-a.html)

Linda Miller

Is there a way to modify the DAYS360 function to accomadate a 365
 
Trying to use DAYS360 function to calculate days between date over multiple
year period. Need a 365 day year function. Can this be changed?

David Billigmeier

Is there a way to modify the DAYS360 function to accomadate a 365
 
the DATEDIF() function will help. First you must install the analysis
toolpack (<Tools<Add-Ins... and check Analysis ToolPak). Used in the
following manner will achieve what you are looking for:

=DATEDIF(year1,year2,"d")

Where year1 < year2. The function will return #NUM! if year1 year2.
--
Regards,
Dave


"Linda Miller" wrote:

Trying to use DAYS360 function to calculate days between date over multiple
year period. Need a 365 day year function. Can this be changed?


David Billigmeier

Is there a way to modify the DAYS360 function to accomadate a
 
Sorry, I meant date1 and date2 (not year1, year2):

=DATEDIF(date1,date2,"d")

Where date1 < date2

--
Regards,
Dave


"David Billigmeier" wrote:

the DATEDIF() function will help. First you must install the analysis
toolpack (<Tools<Add-Ins... and check Analysis ToolPak). Used in the
following manner will achieve what you are looking for:

=DATEDIF(year1,year2,"d")

Where year1 < year2. The function will return #NUM! if year1 year2.
--
Regards,
Dave


"Linda Miller" wrote:

Trying to use DAYS360 function to calculate days between date over multiple
year period. Need a 365 day year function. Can this be changed?



All times are GMT +1. The time now is 10:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com