Need SUM formula to recognize users with 2 names assigned to same task.

I used this formula: =IFERROR(SUMIFS(Hours:Hours, [Assigned To]:[Assigned To], CONTAINS(USER@row, @cell)), "") and it is returning "0" values. I believe the problem is my "Assigned To" users have 2 names. I tested this by creating users with one name "Smurf" and "Peanut" and the formula works for them. How do I adjust my formula?
Best Answer
-
Instead of CONTAINS, try the HAS function.
=IFERROR(SUMIFS(Hours:Hours, [Assigned To]:[Assigned To], HAS(@cell, USER@row)), "")
Answers
-
Instead of CONTAINS, try the HAS function.
=IFERROR(SUMIFS(Hours:Hours, [Assigned To]:[Assigned To], HAS(@cell, USER@row)), "")
-
@Nicole.Miller Thank you that worked!! I'm just starting out in Smartsheet and spent way too long trying to figure this out. Your help is greatly appreciated!
-
@Misty You're welcome! I get into those spots too. I only knew about this because I had the same issue before!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!