Description: the function DIA.LAB error in number days intro DATES. the DATE is 19 days and the real days is 20 if you count in the calendar. example: A2:thursday 10/march/2020 ; C2:19 ; RESULT: monday 06/march/2020 apply =DIA.LAB(A2;C2) result 19days to monday 06/march/2020 if you count in the calendar is 20days. to corrected the result i sum +1 day in the formula...=DIA.LAB(A2;C2)+1 Actual Results: A2:thursday 10/march/2020 ; C2:19 ; RESULT: monday 06/march/2020 apply =DIA.LAB(A2;C2) result 19days to monday 06/march/2020 if you count in the calendar is 20days. to corrected the result i sum +1 day in the formula...=DIA.LAB(A2;C2)+1 Expected Results: A2:thursday 10/march/2020 ; C2:19 ; RESULT: monday 06/march/2020 apply =DIA.LAB(A2;C2) result 19days to monday 06/march/2020 if you count in the calendar is 20days. to corrected the result i sum +1 day in the formula...=DIA.LAB(A2;C2)+1 Reproducible: Always User Profile Reset: No Additional Info: PLEASE CORRECTED... I LOVE LIBREOFFICE...
Created attachment 157678 [details] Sample file. I don't find where the issue can be, if there is one. 10/03/20 1 11/03/20 mié 2 12/03/20 jue 3 13/03/20 vie 4 16/03/20 lun 5 17/03/20 mar 6 18/03/20 mié 7 19/03/20 jue 8 20/03/20 vie 9 23/03/20 lun 10 24/03/20 mar 11 25/03/20 mié 12 26/03/20 jue 13 27/03/20 vie 14 30/03/20 lun 15 31/03/20 mar 16 01/04/20 mié 17 02/04/20 jue 18 03/04/20 vie 19 06/04/20 lun Attached file with the two functions for that.
ok... 10/03/20 is the first day and 06/04/20 is the end day. the result is 20 days. Both dates must be included to calculate vacations for example.
Sorry but one day plus one it's the next day. In fact if you use =NETWORKDAYS.INTL(A1;B20) in the sample file the result it's 20, because it counts the working days between two dates, and both are counted.