Counting range of cells within row
I'm trying to count the amount of times a cell within a row has a specific word:
=COUNTIF([Labelling)@row,[Training]@row), "Fail")
If Fail shows in any cell I want the function to result a readout of 1. If two cells have Fail, then the result would be 2, etc.
Instead of my expected result, I get #UNPARSEABLE in the cell. What am I missing?
Best Answer
-
@jblunda are your column names spelled right?
also sorry there is an extra parenthesis I did not see in your formula try this
=COUNTIF([Labelling]@row:[Training]@row, contains("Fail",@cell))
Answers
-
@jblunda your syntax is wrong, you have a comma where you need a colon.
=COUNTIF([Labelling)@row:[Training]@row), "Fail")
that would count if your cells only has the word Fail in it. If you have multiple text including fail you need this
=COUNTIF([Labelling)@row:[Training]@row), contains("Fail",@cell))
-
I see what you mean, but neither of these works. I still get the same #UNPARSEABLE error.
-
@jblunda are your column names spelled right?
also sorry there is an extra parenthesis I did not see in your formula try this
=COUNTIF([Labelling]@row:[Training]@row, contains("Fail",@cell))
-
That was the trick....thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 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!