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
- 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
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!