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)
-
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.
-
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. 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives