Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have a table with the headings

Status | Currency | Total

In the rows I have a variation of statuses and currencies.

Using Google Spreadsheet I added this:

=SUMPRODUCT((A1:A10="Complete"),(B1:B10="GBP"),C1:C10)

in the hope calculating the total sum of those rows which are COMPLETE and GBP

The error I get is

#VALUE!
Range has no entry corresponding to this cell

Can anyone help please?

share|improve this question
add comment

1 Answer

Use the following formula:

=SUM(FILTER(C1:C10,A1:A10="Complete";B1:B10="GBP"))

OR

=QUERY(A:C;"SELECT SUM(C) WHERE B='GBP' AND A='Complete'")

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.