1

I've created 3 columns:

  1. Choice:
    • Banana
    • Apple
    • Orange

2.Start date

3.End date

If you select "banana", then he/she must input value for "start date" and "end date".

I tried to input the formula below at start date but it doesn't work.

=if([Choice]="Banana",[Start date]=today(),true, false)

Could anyone out there help me?

New contributor
eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1

Try below formula:

=IF([Choice]="Banana",IF(OR(ISBLANK([Start date]),ISBLANK(End date)),false,true),true)

This satisfy the condition: If [Choice] is equal to "Banana" then user cannot leave Start date or End date columns blank.

Note:

  1. Sometimes comma(,) does not work in formula (I am not sure but it is based on something language or regional settings on your site). So in that case use semicolon(;) instead of comma(,).

official documentations:

  1. Calculated Field Formulas.
  2. IF function.
0

I've tried your script under start date column or either choice formula but " i got the error "Sorry, something went wrong" after save the change.

New contributor
eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

eric is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.