Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Counting "At Risk" Flags
![Ginny A.](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
Hi,
I am trying to use COUNTIF for counting number of projects with "At Risk" flags turned on. I get #UNPARSEABLE for this- COUNTIF(At Risk:At Risk, 1). Any feedback appreciated. Thank you.
Comments
-
Hi Ginny,
Any field name that contains spaces needs its name to be referenced in square brackets:
=COUNTIF([At Risk]:[At Risk], 1)
Cheers,
Rob.
-
Hello,
I am trying to do the same task mentioned above. But when I use the =COUNTIF([At Risk]:[At Risk], 1) formula, I get an error that says #BOOLEAN EXPECTED. What does that mean and how do I fix it? -
Wendy,
The error is telling you that you are trying to enter a number greater than 1 in a Checkbox type column.
You can do that, but not as a number.
=COUNTIF([At Risk]:[At Risk], 1) + ""
will display a number, but it will be text.
If you later want to use that somewhere else, you can turn it back into a number using the VALUE() function.
Be aware that the COUNTIF() formula above as written can not be in the [At Risk] column -- you will get a circular error.
I hope this helps.
Craig
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives