1
=ARRAYFORMULA(IF(ROW(A:A)=1,"Spend",SUMIFS(Expenses!G:G,Expenses!D:D,A:A,Expenses!B:B,"Budget")))

Doesn't produce a result

If I change the criteria that was "A:A" to a certain field it works

=ARRAYFORMULA(IF(ROW(A:A)=1,"Spend",SUMIFS(Expenses!G:G,Expenses!D:D,"A1",Expenses!B:B,"Budget")))

If I use simple SUMIF the first version also works

=ARRAYFORMULA(IF(ROW(A:A)=1,"Spend",SUMIF(Expenses!D:D,A:A,Expenses!G:G)))

How come not as SUMIFS?

3
  • Excel or Google-Spreadsheets? They are not the same thing and having both tags is misleading.
    – user4039065
    May 22, 2015 at 7:39
  • I hoped to find a formula that works in both ,more important would be Google-Spreadsheets.
    – Ricardo
    May 22, 2015 at 9:23
  • What I'm trying to achieve it this I suppose? If A1 = B AND C1 = D then sum E (but in an array) With SUMIF it works but not with SUMIFS
    – Ricardo
    May 23, 2015 at 10:57

1 Answer 1

0

could it be u need to use sumproduct() function? you probably need to know which Excel version you are in.

if before 2007 SUMIFS() won't work.

rr

1
  • Actually I'm on Google Sheets, I will look into sumproduct() but am unfamiliar with it.
    – Ricardo
    May 22, 2015 at 9:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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