Using the collect function and "Assigned to"
Hi all,
I am using the COLLECT function (within a SUM function) to collect all values associated with tasks assigned to a specific person. For example,
=SUM(COLLECT({Range of Values I am Collecting}, {Column where I have person assignments}, ="Person's Name"))
This isn't working for me... any tips?
Thanks!
Best Answer
-
Try this to include those rows where there are multiples listed:
=SUM(COLLECT({Range of Values I am Collecting}, {Column where I have person assignments}, HAS(@cell, "Person's Name"))
Answers
-
Are you getting an incorrect sum or are you getting an error? Is the [Assigned To] column a contact type column? Is it possible that there are multiple contacts listed in a single cell?
-
Hi @Paul Newcome ! I am getting the wrong values sometimes, so I am guessing that I am expressing the criteria incorrectly. The [Assigned to] is a contact type column. In some of these, there are multiple contacts listed.
Thank you!
-
Try this to include those rows where there are multiples listed:
=SUM(COLLECT({Range of Values I am Collecting}, {Column where I have person assignments}, HAS(@cell, "Person's Name"))
-
That worked perfectly @Paul Newcome ! thank you my friend
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!