Simple CountIf
I was looking for a simple COUNTIF formula to search the entire column and only count the cells that have a value. It can be any value. Does anyone happen to know of a formula that would work for me?
Best Answer
-
Hey @Cat.Cosby
Try this if you're pulling info from the same sheet. This says count any cell that is not blank
=COUNTIFS([your column]:[your column], <>"")
Use this syntax if the data is in a different sheet
=COUNTIFS({your column with data on the different sheet}, @cell<>"")
remember in a cross sheet formula you must build the cross sheet reference, you cannot simply copy paste the formula into your sheet
Will either of these work for you?
Kelly
Answers
-
Hey @Cat.Cosby
Try this if you're pulling info from the same sheet. This says count any cell that is not blank
=COUNTIFS([your column]:[your column], <>"")
Use this syntax if the data is in a different sheet
=COUNTIFS({your column with data on the different sheet}, @cell<>"")
remember in a cross sheet formula you must build the cross sheet reference, you cannot simply copy paste the formula into your sheet
Will either of these work for you?
Kelly
-
@Kelly Moore Yes this worked! thank you so much!!! I truly appreciate it!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!