Dapatkan hari kerja di antara dua tanggal
=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
| Parameter | Deskripsi |
|---|---|
start_date |
The start date. |
end_date |
The end date. |
weekend |
[optional] Setting for which days of the week should be considered weekends. |
holidays |
[optional] A reference to dates that should be considered non-work days. |
In the example shown, the following formulas are used:
=NETWORKDAYS.INTL(B5,C5) // result 1, default
=NETWORKDAYS.INTL(B5,C5,1,holidays) // result 2, exclude holidays
=NETWORKDAYS.INTL(B5,C5,"1000000") // result 3, Monday is weekend
The second way to configure weekends is to provide a text string composed of 1s and 0s. This text is provided as a string of 7 characters which must b
NETWORKDAYS.INTL(start,end,"0101011") // workdays = M,W,F
NETWORKDAYS.INTL(start,end,"1010111") // workdays = Tue, Thu
NETWORKDAYS.INTL(start,end,"1111100") // workdays = Sat,Sun
NETWORKDAYS.INTL(start,end,"0000000") // all workdays, no weekends