Hi thereI have a query of patient episodes that works out the difference between two dates 'RequestDateTime' and 'Procedure1DateTime'.The query takes out the weekend days so only workdaysSometimes though a patient episode may be put on hold using another two fieldsHoldStartDateTimeHoldEndDateTimeI was trying to modify my curent query so that the NumberofWorkdays checked if the episode was put on hold and if so, subtracted that from the value.In lamens terms Numberofworkdays = [Procedure1DateTime-RequestDatetime...... and the query below] - [HoldEndDateTime-HoldStartDateTime]here is current query:NumberOfWorkDays: Int([Procedure1Datetime]-[RequestDatetime]-(DateDiff("ww",[RequestDatetime],[Procedure1Datetime],7)-(Weekday([RequestDatetime])=7))-(DateDiff("ww",[RequestDatetime],[Procedure1Datetime],1)-(Weekday([RequestDatetime])=1))-(Select Count(*) from [tblHolidays] where [HolidayDate] between [RequestDatetime] and [Procedure1Datetime]))+1Many thanks for any support offered