Forum Discussion
QuickBaseCoachD
7 years agoQrew Captain
Try this
var number DaysOverDue = ToDays(Today()-[Date Received];
If($DaysOverDue > 60, $DaysOverDue - 60)
var number DaysOverDue = ToDays(Today()-[Date Received];
If($DaysOverDue > 60, $DaysOverDue - 60)
- DangThai7 years agoQrew TraineeThank you but it goes on indefinitely. The fee should start at 60 days after date received, incurring $1 a day up to a max of 30 days (90 days after date received)?
- QuickBaseCoachD7 years agoQrew CaptainNo problem
var number DaysOverDue = Min(30, ToDays(Today()-[Date Received]);
If($DaysOverDue > 60, $DaysOverDue - 60)
// the formula above will use the smaller of 30 and the # of days overdue. - DangThai7 years agoQrew TraineeSorry, it's not giving me the calculation I'm looking for. Even added the ) to the
var number DaysOverDue = Min(30, ToDays(Today()-[Date Received]));
If($DaysOverDue > 60, $DaysOverDue - 60) - DangThai7 years agoQrew Traineemade it work
var number DaysOverDue = Min(90, ToDays(Today()-[Date Received]));
If($DaysOverDue > 60, $DaysOverDue - 60) - QuickBaseCoachD7 years agoQrew CaptainOK, Very good.
- DangThai7 years agoQrew TraineeThank you for your help good sir!