I have a field with a single select that is called Campaigns.
Campaigns has three categories, A, B, C.
A, B, and C also represent tasks which is another field.
These tasks have 20 options that represent a lead time.
That lead time needs to be a workday add formula to a set lookup date that is driving these dates.
So I need the option for all noted: As an example I’ll use this, when you select A from campaigns that equals -30 days, allows you to select all tasks that each have a different lead time associated to then auto subtract workdays from the static look up date.
Does this make any sense, need multiple switch functions?
Thanks!
Page 1 / 1
Hi,
Since you need a value (days), you can just add your campaign value to a result of other field, like this:
-30*({Campaign}=A)
-20*({Campaign}=B....
considering TRUE=1, FALSE=0
Hi,
Since you need a value (days), you can just add your campaign value to a result of other field, like this:
-30*({Campaign}=A)
-20*({Campaign}=B....
considering TRUE=1, FALSE=0
Thank you!
For clarity, I need another switch function to represent the Marketing Campaigns:
If the Single select field type which is Marketing Campaigns is A, B, C, and if one of the below Task Types is selected it will add the days for A=7 + ADS= -14.
For clarity, I need another switch function to represent the Marketing Campaigns:
If the Single select field type which is Marketing Campaigns is A, B, C, and if one of the below Task Types is selected it will add the days for A=7 + ADS= -14.
Yeah, I see. You may combine these formulas
Just a few notes:
instead of checking field emptiness like
IF({FIELD}=BLANK(),BLANK(), some_function(FIELD) )
you may use shorter form
IF({FIELD}, some_function(FIELD) )
This community editor turns straight brackets ' " to left-right brackets ’ " " ', which are invalid to use in formula if you copypaste formula from here.
Use </> (Preformatted text) tag to avoid such behavior.
since you select from a list of SINGLE SELECT options, and most values are -14, you may use it as default (and, for example, add zero value for empty value) :