A
Alex Martinez
Hi,
I am using this code in my text box. I work for an insurance company. The
first code determines the number of days when an audit is assigned. The
second code is for determining the number of days the audit has been in the
office. My question is on both cases I want to exclude weekend (Saturday &
Sunday) in my calculcation (code) is this possible? Also, if possible how
can I exclude major US holiday's? Any tips will be appreciated. Thank you
in advance.
Number of days assigned
=IIf([Completed] Is Not
Null,Int([Completed]-[AssignedOn]),Int((Now()-[AssignedOn])))
Number of days in office
=IIf([Completed] Is Not Null,Int([Completed]-[Rec'd]),Int(Now()-[Rec'd]))
I am using this code in my text box. I work for an insurance company. The
first code determines the number of days when an audit is assigned. The
second code is for determining the number of days the audit has been in the
office. My question is on both cases I want to exclude weekend (Saturday &
Sunday) in my calculcation (code) is this possible? Also, if possible how
can I exclude major US holiday's? Any tips will be appreciated. Thank you
in advance.
Number of days assigned
=IIf([Completed] Is Not
Null,Int([Completed]-[AssignedOn]),Int((Now()-[AssignedOn])))
Number of days in office
=IIf([Completed] Is Not Null,Int([Completed]-[Rec'd]),Int(Now()-[Rec'd]))