Reputation: 674
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,
Upvotes: 0
Views: 1688
Reputation: 53135
Try this
=SUMIF(INDIRECT(A4&"!D:D"),"Yes",INDIRECT(A4&"!C:C"))
Upvotes: 4