Can I count cells in a range that are not blank?
Hello! I'm trying to count cells in a continuous range that have any value in them. I have tried:
=COUNTIFS([Step 1]@row:[Step 4]@row, NOT(ISBLANK([Step 1]@row:[Step 4]@row))) which resulted in an incorrect argument.
=SUM(COUNTIF([Step 1]@row, NOT(ISBLANK([Step 1]@row))), COUNTIF([Step 2]@row, NOT(ISBLANK([Step 2]@row)))) which resulted in a value of 0, even though both of the cells were not blank.
=COUNTIF([Step 1]@row, NOT(ISBLANK([Step 1]@row))) also resulted in 0 even though there is a value in [Step 1].
Does anyone have a way to make this work? Thanks!
Answers
-
Try the below
=COUNTIF([Step 1]@row:[Step 4]@row, NOT(ISBLANK(@cell)))
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
Help Article Resources
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
Check out the Formula Handbook template!