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
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!