Counting rows with value in a column, but exclude rows with a value in a different column
Hi All,
This may seem pretty straight-forward, but I'm having a block.
I'm trying to create a sheet with some summary info from another sheet. I am trying to get the count of rows where the value in the name column matches a cell in my sheet, but exclude rows where another column contains a different value. Something like:
=COUNTIFS({Reports Names}, CONTAINS(Name@row), {Reports Week}, NOT(CONTAINS("result"})))
Any help would be appreciated!
Best Answer
-
Hi @Paul Higgins
Hope you are fine, please try the following formula:
=COUNTIFS({Reports Names}, HAS(@cell, Name@row), {Reports Week}, @cell <> "result")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Answers
-
I hope you're well and safe!
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
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 support the Community by marking it Insightful/Vote Up or/and as the accepted answer. 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.
-
Hi @Paul Higgins
Hope you are fine, please try the following formula:
=COUNTIFS({Reports Names}, HAS(@cell, Name@row), {Reports Week}, @cell <> "result")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Thanks @Bassam Khalil . That did the trick!
-
Excellent, I will be happy to help you any time. I will be grateful for your vote on this post.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 438 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 451 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 283 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!