Forum Discussion
Phishdawg
Feb 07, 2024Brass Contributor
Error in Calculated Column
I am trying to create a calculated column that populate a digit based on the content of another column.
I am getting an error with the following, what am I missing?
Intent: If Subscriber_Status equals "ACTIVE" or "CML DIGITAL" then default content of calculated column should be "1", if any other content should be "0".
Phishdawg Try using either of below formulas:
=IF(ISBLANK([Subscriber_Status]),"",IF(OR([Subscriber_Status]="ACTIVE",[Subscriber_Status]="CML DIGITAL"),1,0))
OR
=IF(OR([Subscriber_Status]="ACTIVE",[Subscriber_Status]="CML DIGITAL"),1,IF(OR([Subscriber_Status]="INACTIVE",[Subscriber_Status]="DELETED",[Subscriber_Status]="DOWNLOADING",[Subscriber_Status]="DIDN'T RETURN",[Subscriber_Status]="NO RESPONSE"),0,""))
Note:
- Sometimes comma( , ) does not work in formula (it is based on language or regional settings on your site). So in that case use semicolon( ; ) instead of comma( , ).
- Use correct display name of your SharePoint columns in above formula.
- Wrap column names inside [] if your column name has space in it. For example: [My Column Name].
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.