February 13, 200718 yr I am stuck on a calculation and need some help. I have created a calculation on a date being show 4 weeks before a certain date field. eg: ="Date Due" - "Call Date" But what I want is a calculation showing that if, the call date is past the current date, then the formula equals = "Current Date"+4 I am not sure how to do it via the "if" function. Thanks In Advance
February 13, 200718 yr Case( CallDate > Get(CurrentDate) ; Get(CurrentDate) + 4 ; DateDue - CallDate ) Or with If... If( CallDate > Get(CurrentDate) ; Get(CurrentDate) + 4 ; DateDue - CallDate ) The difference is: Case( Condition1 ; Result1 ; Condition2 ; Result2 ; Conditionx ; Resultx ; defaultIfNoConditionsMet ) or Case( Condition1 ; Result1 ) If: If( Condition1 ; Result1 ; defaultIfResult1NotMet) or If( Condition1 ; Result1 ) Essentially Case is more useful in 95% of circumstances...
Create an account or sign in to comment