I am trying to set up a formula that will calculate with Networkdays() the differences between two dates with times. I need the formula to first check if the end date is a weekend or holiday (OT) and if so, just subtract the date and time (H2-G2), but if the end date is not a weekend or holiday, apply the Networkdays formula. The attached example is the exact current formula I have, which should work, however, I noticed while watching the calculation steps under the "Evaluate Formula" tool that it does register a false for the dates, however, it ignores it. I am beginning to think this may be due to me using a named range for the formula, but I cannot be sure.
Needs:
Formula in attachment to check End date for weekend/holiday per the list included.
If End date is Weekend/Holiday, subtract start date from end date and return total number of hours/minutes between the two.
If Start Date is holiday and end date is weekend, subtract start date from end date and return total number of hours/minutes between the two (This applies to holidays that fall on a Friday as some people will work OT on the following Saturday to make up hours instead of using PTO.)
If none of the above apply, apply Networkdays() formula as listed.
This is being used to calculate the total processing time for emails being received and responded to.
Bookmarks