SUMIFS with NOT CONTAINS as well as no blanks
I'm trying to create a formula that sums the duration only if there is something in the Assigned to column. I keep getting #INVALID OPERATION. What am I missing? Thanks in advance!
=SUMIFS(Duration:Duration, [Assigned To]:[Assigned To], NOT(CONTAINS("Client", @cell)), <>"")
Best Answer
-
Christy's formula will give you what you asked for in your original question. Now if you want to sum only if the assigned to contains "Client", then just change the criteria to the one you have in contains,
=SUMIF(Duration:Duration, [Assigned To]:[Assigned To], CONTAINS("Client", @cell))
Answers
-
Is the below what you are looking for?
=SUMIFS(Duration:Duration, [Assigned To]:[Assigned To], @cell <> "")
-
Unfortunately no...it's adding up all lines now instead of just those containing "Client"?
-
Christy's formula will give you what you asked for in your original question. Now if you want to sum only if the assigned to contains "Client", then just change the criteria to the one you have in contains,
=SUMIF(Duration:Duration, [Assigned To]:[Assigned To], CONTAINS("Client", @cell))
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!