May 20, 2024 10:04 AM
We are implementing time tracking fields in multiple bases and need to calculate the total amount of time between two date fields (in days, hours & minutes) but also excluding weekends and possibly holidays.
I've tried the following but the calculations are returning errors.
May 20, 2024 06:44 PM
Hi,
I would solve this by having a table that has all the calendar dates and holidays your company observes. For example, some companies recognize Christmas Eve holidays differently depending on what day the holiday falls. Then use a lookup field to only pull in weekdays and sum those weekdays.
If you don't care about holidays you could write an if statement that looks to see if the total is > 120 and < 168. In which case you know that you have crossed a Saturday and Sunday.