Count between two columns if looking for non-blanks in one of them
Hi all.
We have (2) columns: Tracking and Project/PO.
We need to count all of the cells in "Tracking" that have a tracking number i.e. are NOT blank, but at the same time NOT counting any cells from a row that also contain the word "Lab" in "Project/PO"
These are the two versions we have tried, based on other similar formulas, but it is not working.
=COUNTIFS((TRACKING:TRACKING), <>"") - COUNTIFS((TRACKING:TRACKING), <>""), [PROJECT/PO]:[PROJECT/PO],CONTAINS("LAB",@cell))
=COUNTIFS((TRACKING:TRACKING), NOT(ISBLANK(@cell) - COUNTIFS((TRACKING:TRACKING), NOT(ISBLANK(@cell), [PROJECT/PO]:[PROJECT/PO],CONTAINS("LAB",@cell))
Thanks in advance for the help, as always!
-N
Best Answer
-
I hope you're well and safe!
Try something like this. You were close.
=COUNTIFS(Tracking:Tracking, <>"", [Project/PO]:[Project/PO], NOT(CONTAINS("Lab", @cell)))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
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.
Answers
-
I hope you're well and safe!
Try something like this. You were close.
=COUNTIFS(Tracking:Tracking, <>"", [Project/PO]:[Project/PO], NOT(CONTAINS("Lab", @cell)))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
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.
-
@Andrée Starå ... once again, thank you so very much!
-
You're more than welcome!
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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!