CountIfs
I am trying to come up with a formula to count all lines in a schedule that have a specific persons name in the "Assigned To' column and if the "Past Due Tasks Alert" flag is raised. Please keep in mind that there could be numerous names in the "Assigned To" column .
My current formula that I have doesn't seem to be working. The results in my summary sheet for the formula below is "0". It should be 2 based off my table above.
=COUNTIFS([Assigned To]:[Assigned To], CONTAINS("Mackenzie Williams", @cell), [Past Due Task Alert]:[Past Due Task Alert], =1)
Best Answer
-
Solution found! Thanks everyone. The winner for today is
=COUNTIFS([Assigned To]:[Assigned To], FIND("Mackenzie Williams", @cell) > 0, [Past Due Task Alert]:[Past Due Task Alert], =1)
Answers
-
The CONTAINS function gets a little wonky and doesn't like to work with contact type columns. Try swapping it out with a FIND function.
=COUNTIFS([Assigned To]:[Assigned To], FIND("Mackenzie Williams", @cell) > 0, [Past Due Task Alert]:[Past Due Task Alert], =1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
2 ways to do this
contains("Mackenzie Williams",join(@cell,"*"
or the easier way
has(@cell,"Mackenzie Williams"
-
@Paul Newcome welp. I guess there's 3 ways to do this hahah
-
@L@123 Haha. I hadn't thought of using the JOIN or HAS functions. I just go straight to FIND when dealing with Contact type columns.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Solution found! Thanks everyone. The winner for today is
=COUNTIFS([Assigned To]:[Assigned To], FIND("Mackenzie Williams", @cell) > 0, [Past Due Task Alert]:[Past Due Task Alert], =1)
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.7K Get Help
- 371 Global Discussions
- 203 Industry Talk
- 436 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 448 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 282 Events
- 32 Webinars
- 7.3K Forum Archives