Depending on what country you are in, week number is easy with what we have.
Code: Select all
weeknumber.l = (DayOfYear(Date(2024,7,7,0,0,0))+6)/7
Debug weeknumber
This will cause much eye rolling and complaints from some countries who want every week to start on Sunday (or Monday) including for week number of the year.
Working days is trickier due to it being even more political, not logical.
Assuming 5 days a week as the official working week is the most common but not everywhere and it is a moving target.
You have the number of working days in the previous weeks ( = weeks * 5 ) and then work out the number of working days so far in the current week.
Public holidays are even more localised and would be close to impossible to keep track of.
Fortunately, I am retired so every day is a holiday...