Reputation: 1
How to sum 4th column satisfying the difference between first and second column equal to 2 and also satisfying a criteria in the third column using excel formulas
Upvotes: 0
Views: 37
Reputation: 152525
use SUMPRODUCT:
=SUMPRODUCT((A2:A10-B2:B10=2)*(C2:C10="A")*D2:D10)
Upvotes: 1