Dave Bonallack
New Member
- Joined
- Mar 23, 2014
- Messages
- 2
Hi,
I have 2 lists of dates that I want to enter into the Networkdays function.
The first is a list of public holidays and factory-closed dates that are common to all employees.
The second is a list specific to each employee, holding that employee's booked leave dates.
I found a thread that suggested using NETWORKDAYS twice, then doing some math on the 2 results, but that produced errors if there were duplicates in the 2 lists.
For example:
Here in Australia we have a national holiday on April 25, so that date will occur in the common list.
John Smith wants 2 weeks off from April 21 thru May 2, so those dates get entered into John's personal list.
When I use NETWORKDAYS on each list, April 25 gets considered twice, which results in an error.
So, how can I ask NETWORKDAYS to consider 2 lists of dates, and not get errors when the same date appears in both lists?
Regards - Dave Bonallack
I have 2 lists of dates that I want to enter into the Networkdays function.
The first is a list of public holidays and factory-closed dates that are common to all employees.
The second is a list specific to each employee, holding that employee's booked leave dates.
I found a thread that suggested using NETWORKDAYS twice, then doing some math on the 2 results, but that produced errors if there were duplicates in the 2 lists.
For example:
Here in Australia we have a national holiday on April 25, so that date will occur in the common list.
John Smith wants 2 weeks off from April 21 thru May 2, so those dates get entered into John's personal list.
When I use NETWORKDAYS on each list, April 25 gets considered twice, which results in an error.
So, how can I ask NETWORKDAYS to consider 2 lists of dates, and not get errors when the same date appears in both lists?
Regards - Dave Bonallack