COUNTIF = BOOLEAN EXPECTED
Hi
I want my smartsheet to count the number of checked boxes in a specific column. I have formulated: =COUNTIFS([Ceremony/Party]:[Ceremony/Party], 1). However, it is cominh up with "BOOLEAN EXPECTED"?
Best Answer
-
Hi @KHorlander
Your first formula is actually exactly correct! The error message has to do with where the formula is placed - I expect you're putting this in the same checkbox column, is that correct?
If so, the cell is expecting either a 1 (checked) or 0 (unchecked) so your count of 23 or 89 or whatever number is throwing the error.
You can add "" to the end of your formula to make the count text, which will then be able to show up in a checkbox cell... like so:
=COUNTIFS([Ceremony/Party]:[Ceremony/Party], 1) + ""
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @nicole.turner,
COUNTIFS expects an expression like "=1" after the comma.
By the way, COUNTIFS is provided for multiple criteria to be met. If you just look for "=1", then COUNTIF is enough.
Hope this helps
Stefan
Smartsheet Consulting, Solution Building, Training and Support.
Projects for Processes and for People.
-
hmm, I have the following
=COUNTIF([I will be there!]2:[I will be there!]46, =1
and I still get "#Boolean Expected"
-
Hi @KHorlander
Your first formula is actually exactly correct! The error message has to do with where the formula is placed - I expect you're putting this in the same checkbox column, is that correct?
If so, the cell is expecting either a 1 (checked) or 0 (unchecked) so your count of 23 or 89 or whatever number is throwing the error.
You can add "" to the end of your formula to make the count text, which will then be able to show up in a checkbox cell... like so:
=COUNTIFS([Ceremony/Party]:[Ceremony/Party], 1) + ""
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Yes, that is what is going on. Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!