温馨提示:本文翻译自stackoverflow.com,查看原文请点击:其他 - Sharepoint List Column Validation: If certain value in one Column, other Column must not be empty
sharepoint sharepoint-list validation

其他 - 共享点列表列验证:如果某一列中有特定值,则另一列不能为空

发布于 2020-04-20 16:03:53

我在sharepoint-list中的列验证有问题。如果要在column1(下拉列表)中选择某个值,我想强制用户填充column2。否则,应将coulmn2留空。到目前为止,我尝试了:

= IF([column1]="xxx";LEN([column2]>0;LEN([column2]=0))

任何帮助深表感谢。提前致谢!

查看更多

提问者
Angriffskeule
被浏览
28
LZ_MSFT 2020-02-06 15:57

使用下面的公式来实现它。

=IF([column1]="xxx",IF(LEN([column2])>0,TRUE,FALSE),TRUE)