Hi,
I have trying to do a sumproduct formula but to exclude certain cells that have certain text in them,
my example is as follows
Buy/Sell Volume Price Reference
Buy 100 50 MM1
Buy 200 40 MMA1
Sell 40 50 MM2
Buy 20 20 MMA2
So for this i want to work out the value of all buys but exclude a reference that contains "MMA"
I can do the normal sumproduct for this but not to exclude the reference...
=SUMPRODUCT((C3:C6*E3:E6)*(A3:A6="Buy")) so that times the volume by the price for all buys, is there anyway to exlcude the ones that contain "MA" in the reference cell?
Also is there a way to include certain text but also to exclude certain text as well? So if example there were references other then MMA and MM so i would want to include ones with MM but exclude MMA for example?
Thanks
Bookmarks