Reputation: 37
Silly Q, plz help I am trying to find of Total invested amount for open positions in my PF. which is like sum( if(G3="","",D3xE3)+if(G4="","",D4xE4)+..+.........)
How to write a formula for the same.
Thanks.
Upvotes: 0
Views: 103
Reputation: 36880
Try SUMPRODUCT() like-
SUMPRODUCT()
=SUMPRODUCT(D3:D100,E3:E100,G3:G100="")
Upvotes: 1