Hello all, I've looked through a number of posts but am still having an issue.
Using Excel 2010, I am trying to do a Sumproduct formula with two criteria, one of which needs to ignore text values. Here is the set up:
Column A Column B Column C
(Side) (Qty) (Price)
Buy 5,512 15.67
Sell 119,428 null
Buy 24,209 45.77
Sell 20,054 12.25
...
I'm trying to find the sumproduct of Qty * Price if the side equals "Buy" (or "Sell") but ignoring the "null" value in column C. The formula I have is =SUMPRODUCT(--($A$2:$A$20="Buy")*IF(ISNUMBER($C$2:$C$20),--($B$2:$B$20*$C$2:$C$20)))
The result in the cell is 0, but if I open the Insert Function dialog box, I see the correct value being returned. Does anyone know why this may be, or have a different way of going about this?
Thanks for the help!
Bookmarks