SUMIFS and Contains conditions
Hi all- I have a formula that refers to another sheet to sum costs based on some criteria:
=SUMIFS({Professional Services Project Costs Amount}, {Professional Services Project Costs Grant Code}, $[Budget Allocated]$8, {Professional Services Project Costs Category}, CONTAINS([Budget Category]28, @cell))
I'd like to add another condition, which is to find the name "Denise" in a text column where we put notes, so I tried the following, but got INCORRECT ARGUMENT:
=SUMIFS({Professional Services Project Costs Amount}, {Professional Services Project Costs Grant Code}, $[Budget Allocated]$8, {Professional Services Project Costs Category}, CONTAINS([Budget Category]28, @cell), {Goods & Services Project Costs Notes}, CONTAINS("Denise"))
Any Tips?
Best Answer
-
Paul Newcome ✭✭✭✭✭✭
It should be working. Hmm...
Log out
Clear your cookies and cache
Log back in
See if that clears things up for you.
Answers
-
Paul Newcome ✭✭✭✭✭✭
You just need an @cell reference is all...
=SUMIFS({Professional Services Project Costs Amount}, {Professional Services Project Costs Grant Code}, $[Budget Allocated]$8, {Professional Services Project Costs Category}, CONTAINS([Budget Category]28, @cell), {Goods & Services Project Costs Notes}, CONTAINS("Denise", @cell))
-
Paul, Unfortunately I am still getting an Incorrect Argument message with the @cell....
(new to this community, do I need to @ you when I respond?@Paul Newcome)
-
Paul Newcome ✭✭✭✭✭✭
That's odd. The syntax is otherwise correct. Can you provide a screenshot of the formula in the sheet similar to the screenshot here?
-
Maybe this makes a difference- i see the error code is "Incorrect Argument Set"
-
Paul Newcome ✭✭✭✭✭✭
The @cell should be inside of the CONTAINS function like I have it in the formula above.
CONTAINS("Denise", @cell))
-
Oof, still no-
-
Paul Newcome ✭✭✭✭✭✭
-
Yes, INCORRECT ARGUMENT SET
It doesn't like the addition of the last condition...
-
Paul Newcome ✭✭✭✭✭✭
It should be working. Hmm...
Log out
Clear your cookies and cache
Log back in
See if that clears things up for you.
-
Wow, yes, went into another browser, changed the formula, and it worked.
Thanks for your time!
-
Paul Newcome ✭✭✭✭✭✭
Help Article Resources
Categories
=IF(NOT(ISBLANK([Frequency L4]@row)), 1, 0)<\/p>
Add the VALUE function to your Manager ID column, and that will convert it to a number.<\/p>
You would do something like this (using a column header of \"Contract Date\" in this example):<\/p>