I want to get the total rows in a particular column and used COUNTIF or COUNT without a result
The name of the text column is "Name of Service". My formula appears after the last row with data: =COUNTIF(["Name of Service"]:["Name of Service"]) and I get this error #UNPARSEABLE.
I have tried every permutation/combination and cannot figure this out.
Answers
-
Hey LaurenP-
I've been trying to see if I can figure this out for you -
Are you entering an argument for when it's counting in that column?
Ex: =COUNTIF(["Name of Service"]:["Name of Service"], "Room Cleaning")
The count being the number of times the service of Room Cleaning occurs in the column?
-
Thanks, Jon!. I want to count the number of rows in the Name of Service column. I need to use that total count in a dashboard.
-
Ah - if you want to count the number of rows - I would then just do:
=COUNTIF(["Name of Service"]:["Name of Service"], <>"")
That will count anything in that column which isn't BLANK.
-Jon Mark
-
I copied your formula and pasted it into the last cell in the Name of Service column. I see an error #UNPARSEABLE. And, when I can click Convert to Column Formula,
I see this error:
-
Ah, I think I see the issue:
Is your column named "Name of Service" or just Name of Service (without quotations)
If it's the latter, the formula will me:
=COUNTIF([Name of Service]:[Name of Service], <>"")
That should work for it.
Are you thinking you need to make this a column formula? Or were you just doing that to see if it would make the formula work?
-Jon Mark
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!