문제

I've tried to create a calculated column in a SharePoint list that looks for a word in the title of the list entry and then returns yes or no based on if that word is included in the title or not.

=IF((FIND("word",Title)),"Yes","No")

All of the items that have the word in the title return "yes" as expected, however the items that should return "no", actually return as "#VALUE!" and I am not sure how to solve this.

도움이 되었습니까?

해결책

Adding ISERROR let's you display something else than the error message. "SEARCH" is better than "FIND" as "FIND" is case sensitive and doesn't allow wildcard characters.

=IF(ISERROR(SEARCH("Word",Title)),"Yes","No")

SharePoint: ISERROR Function

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top