Jump to content
We've recently updated our Privacy Statement, available here ×

How to count number of days excluding weekends


steveo250k

Recommended Posts

Using the new "Calulcated Fields", I'm trying to calculate the number days between specific dates without counting weekends. Right now, I'm using the below IF statement but I want to exclude weekends. Please help.

IF(ElapsedDays("Origin Arrival Date Date", "Ready Date") >= 3, 'DELINQUENT')

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Well,  for brevity, 

where  a week is Mon=1,Tues=2,Wed=3,Thu=4,Fri=5,Sat=6,Sun=7

(pseudo-code)

if ( Date is Mon or Tues) and ElapsedDays>=3, then "DELINQUENT"     /*  No Weekend

else if ElapsedDays>=5 then "DELINQUENT"                                          /* Weekend in middle - add two days.

 

I'm assuming that you won't start this ON the weekend.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...