Using COUNTIF in Sheet Summary
I am trying to use a COUNTIF formula in the Sheet Summary. I have a column called, "Current Project Status." I want to count the total number of times the word "Operational" appears in that column. I have entered this into the field with no luck; "=COUNTIF(Current Project Status:Current Project Status,Operational)" I have tried quotation marks around the word Operational. I've tried spaces on either side of the colon. I don't know what it is, but I have terrible luck getting formulas to work on the Sheet Summary. In case this is an issue, some of the data in this column is from cell links.
Any help is appreciated.
Thanks.
Best Answer
-
You are going to want to remove the space from after the = and the column names should be wrapped in square brackets.
=COUNTIF([Current Project Status]:[Current Project Status], "Operational")
Answers
-
@M. David Hey! Try using the formula below - it should work for you.
= COUNTIF(Current Project Status:Current Project Status, "Operational")
Just ensure that the range of cells (the group of cells to count) you have selected is correct.
Feel free to reach me at sahilhq18@gmail.com in case you are still having any issues.
-
You are going to want to remove the space from after the = and the column names should be wrapped in square brackets.
=COUNTIF([Current Project Status]:[Current Project Status], "Operational")
-
Thanks for the help. The brackets [] were the issue. It's frustrating that you can't just click a column heading while writing a formula and that column be reflected within the formula. If there is a trick to doing this, please share. Thanks again for the help.
-
@M. David The closest thing to a "trick" for this would be to click and drag to select more than one cell within the column, then manually delete the row numbers.
-
@Paul Newcome That makes sense. I will do that from now on. Thanks.
-
@M. David Happy to help! 👍️ I use this when selecting any range whether it be a group of cells, entire column, a row across multiple columns, etc whenever my column names are a little weird or long. Even regular cell references where I replace the row number with "@row". I just find it is a little safer and helps prevent typos.
-
I am working on a similar formula, but I am trying to count the number of leads in the current year. I am getting an Invalid Data error when I use this formula as a sheet summary:
=COUNTIF(YEAR([Lead Creation Date]:[Lead Creation Date]), YEAR(TODAY()))
Any idea how to get this corrected?
-
Try something like this.
=COUNTIF([Lead Creation Date]:[Lead Creation Date],IFERROR(YEAR@cell),0)=YEAR(TODAY)
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Can someone please get @Andrée Starå some coffee? He missed some parenthesis... 😜
=COUNTIF([Lead Creation Date]:[Lead Creation Date],IFERROR(YEAR(@cell),0)=YEAR(TODAY()))
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå HAHAHAHAHAHAHA!!! You have definitely corrected plenty of my mistakes in the past. Probably a lot more than I have corrected of yours.
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I have enjoyed this exchange 😂
Thanks for keeping the Community both accurate & light-hearted.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@Genevieve P We do what we can. Haha
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
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!