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
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!