dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,352
- Office Version
- 365
- 2016
- Platform
- Windows
I have a formula to calculate the number of holidays between 2 dates but it isn't working.
This is the formula
This is the formula
VBA Code:
=SUMPRODUCT((Sheet2!G87:DO97>=H6)*(Sheet2!G87:DO97<=J6))
- Start date is in H6
- the end date is in J6
- range of holidays is in Sheet2!G87:DO97