Incorrect counting of blank rows
="Completed " + COUNTIF([Completed Tasks]:[Completed Tasks], 1) + " of " + COUNT([Completed Tasks]:[Completed Tasks], IF([Task Name]:[Task Name], ""))
I have a checkbox column that will read in the summary bar (row 1) when working "Completed 6 of 33" However, it is counting blank rows and should read "Completed 6 of 25"
The formula is in the checkbox column, and I attempted to have it reference the Task Name column, if blank then don't count. but i can't get it working. Please help!
Best Answer
-
My apologies. Try this...
="Completed " + COUNTIF([Completed Tasks]:[Completed Tasks], 1) + " of " + COUNTIFS([Completed Tasks]:[Completed Tasks], OR(@cell = 1, @cell <> 1), [Task Name]:[Task Name], @cell <> "")
Answers
-
Give this a go...
="Completed " + COUNTIF([Completed Tasks]:[Completed Tasks], 1) + " of " + COUNTIFS([Completed Tasks]:[Completed Tasks], OR(@cell = 1, @cell <> 1))
-
It still counts empty rows.
This should be more like 2 of 25 but is counting the entire column even if the row is blank. (Which is why i tried to use [Task Name] to only count if not blank. But i'm happy to do it any avenue that gets it working.
Any other suggestions?
-
My apologies. Try this...
="Completed " + COUNTIF([Completed Tasks]:[Completed Tasks], 1) + " of " + COUNTIFS([Completed Tasks]:[Completed Tasks], OR(@cell = 1, @cell <> 1), [Task Name]:[Task Name], @cell <> "")
-
awww, yes! thank you!!
="Completed " + COUNTIF([Completed Tasks]:[Completed Tasks], 1) + " of " + COUNTIFS([Completed Tasks]:[Completed Tasks], OR(@cell = 1, @cell <> 1), [Task Name]:[Task Name], @cell <> "")
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!