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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!