Hello dears, I need to make a calculation to count the training duration excluding the weekend (Friday & Saturday), which will be used in the Training database
I have tried this formula but stuck here: NETWORKDAYS.INTL([Start Date], [End Date],)
Any support will be much appreciated.
I don’t think there is such a function in ActivitiInfo — NETWORKDAYS.INTL is from Excel/Google Sheets.
Still, we can count the number you need.
First, let’s count how many Fridays fall between [Start Date] and [End Date]. If we take any Friday as a reference (e.g., 2025-01-03), then the number of Fridays before [Start Date] is
FLOOR(DAYS([Start Date], DATE(2025, 1, 3)) / 7)
and the number of Fridays before [End Date] is
FLOOR(DAYS([End Date], DATE(2025, 1, 3)) / 7)
Their difference gives the number of Fridays between [Start Date] and [End Date].
2. We do the same for Saturdays, using 2025-01-04 as the reference date.
3. Finally, the total number of working days (excluding Fridays and Saturdays) between [Start Date] and [End Date] is:
Hello Mitya,
Thanks a lot for your hard work. It somehow works, but I faced another issue. If I chosed the start date is 10-08-2025 and end date is 17-08-2025, it will count only 5 days, where it should be 6 days.
I have attached the picture for your reference