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
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!