I am looking for an excel formula to calculating the number of days from years between "Start date" & "end date"
Example : My start date is 06/19/2020 My end date is 06/20/2023
I would to know on this example the number of days from year 2020 => from start date ; year 2021 (full year) ; year 2022 (full year) ; 2023 => from end date
Result : number of days of 2020 : 195 number of days of 2021 : 365 number of days of 2022 : 365 number of days of 2023 : 170
in my databse i have different start date and end date by line to x year
Thanks for your help
endDate - startDate
, you may have to remove the date formatting from the result. – Patrick Honorez