0

So I have the following formula which works perfectly to calculate the SUM of an entire column of another worksheet which I reference indirectly.

=SUM(INDIRECT(A4&"!C:C"))

What I need now is to calculate the SUM of C (as above) but only when the relevant row in Column D is equal to Yes.

Can this be done?

Thanks,

4

1 回答 1

4

Try this

=SUMIF(INDIRECT(A4&"!D:D"),"Yes",INDIRECT(A4&"!C:C"))
于 2013-08-29T09:49:03.990 回答