What is the values of the Yes/No Column in SharePoint?

1, 0
Yes, No
"Yes", "No"
True, False

Trying to use calculations:

=IF([Col1]=Yes, 1, 0)

So if it's true, put 1, else 2.

But not matter what, it only shows 0. I believe I'm not using the correct datatype.


Try Using:

=IF([Col1], 1, 0)


=IF([Col1]=TRUE, 1, 0)

Return the calculated field as Number.


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(,).

| improve this answer | |
  • can't believe it was that easy. The first one worked great! Thank you Ganesh. – adams-j Sep 20 '19 at 15:26
  • Welcome. Please upvote ( ^ ) and accept it as an answer so that it will be easier for others to find the correct answers. – Ganesh Sanap Sep 20 '19 at 16:27

Your Answer

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.